github.com/gidoBOSSftw5731/go/src@v0.0.0-20210226122457-d24b0edbf019/runtime/stubs_nonlinux.go (about)

     1  // Copyright 2017 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build !linux
     6  // +build !linux
     7  
     8  package runtime
     9  
    10  // sbrk0 returns the current process brk, or 0 if not implemented.
    11  func sbrk0() uintptr {
    12  	return 0
    13  }