github.com/aloncn/graphics-go@v0.0.1/src/runtime/syscall2_solaris.go (about) 1 // Copyright 2014 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 package runtime 6 7 import _ "unsafe" // for go:linkname 8 9 //go:cgo_import_dynamic libc_chdir chdir "libc.so" 10 //go:cgo_import_dynamic libc_chroot chroot "libc.so" 11 //go:cgo_import_dynamic libc_close close "libc.so" 12 //go:cgo_import_dynamic libc_execve execve "libc.so" 13 //go:cgo_import_dynamic libc_fcntl fcntl "libc.so" 14 //go:cgo_import_dynamic libc_gethostname gethostname "libc.so" 15 //go:cgo_import_dynamic libc_getpid getpid "libc.so" 16 //go:cgo_import_dynamic libc_ioctl ioctl "libc.so" 17 //go:cgo_import_dynamic libc_pipe pipe "libc.so" 18 //go:cgo_import_dynamic libc_setgid setgid "libc.so" 19 //go:cgo_import_dynamic libc_setgroups setgroups "libc.so" 20 //go:cgo_import_dynamic libc_setsid setsid "libc.so" 21 //go:cgo_import_dynamic libc_setuid setuid "libc.so" 22 //go:cgo_import_dynamic libc_setpgid setpgid "libc.so" 23 //go:cgo_import_dynamic libc_syscall syscall "libc.so" 24 //go:cgo_import_dynamic libc_forkx forkx "libc.so" 25 //go:cgo_import_dynamic libc_wait4 wait4 "libc.so" 26 27 //go:linkname libc_chdir libc_chdir 28 //go:linkname libc_chroot libc_chroot 29 //go:linkname libc_close libc_close 30 //go:linkname libc_execve libc_execve 31 //go:linkname libc_fcntl libc_fcntl 32 //go:linkname libc_gethostname libc_gethostname 33 //go:linkname libc_getpid libc_getpid 34 //go:linkname libc_ioctl libc_ioctl 35 //go:linkname libc_pipe libc_pipe 36 //go:linkname libc_setgid libc_setgid 37 //go:linkname libc_setgroups libc_setgroups 38 //go:linkname libc_setsid libc_setsid 39 //go:linkname libc_setuid libc_setuid 40 //go:linkname libc_setpgid libc_setpgid 41 //go:linkname libc_syscall libc_syscall 42 //go:linkname libc_forkx libc_forkx 43 //go:linkname libc_wait4 libc_wait4