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
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//go:noescape
17func access(name *byte, mode int32) int32
18func connect(fd int32, addr unsafe.Pointer, len int32) int32
19func socket(domain int32, typ int32, prot int32) int32
20