github.com/flyinox/gosm@v0.0.0-20171117061539-16768cb62077/src/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  // +build !linux
     6  
     7  package runtime
     8  
     9  // sbrk0 returns the current process brk, or 0 if not implemented.
    10  func sbrk0() uintptr {
    11  	return 0
    12  }