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 7package runtime 8 9import "unsafe" 10 11func sbrk0() uintptr 12 13// Called from write_err_android.go only, but defined in sys_linux_*.s; 14// declared here (instead of in write_err_android.go) for go vet on non-android builds. 15// The return value is the raw syscall result, which may encode an error number. 16// 17//go:noescape 18func access(name *byte, mode int32) int32 19func connect(fd int32, addr unsafe.Pointer, len int32) int32 20func socket(domain int32, typ int32, prot int32) int32 21