1 // mksyscall_solaris.pl -tags solaris,amd64 syscall_solaris.go syscall_solaris_amd64.go
2 // Code generated by the command above; see README.md. DO NOT EDIT.
4 // +build solaris,amd64
13 //go:cgo_import_dynamic libc_pipe pipe "libc.so"
14 //go:cgo_import_dynamic libc_getsockname getsockname "libsocket.so"
15 //go:cgo_import_dynamic libc_getcwd getcwd "libc.so"
16 //go:cgo_import_dynamic libc_getgroups getgroups "libc.so"
17 //go:cgo_import_dynamic libc_setgroups setgroups "libc.so"
18 //go:cgo_import_dynamic libc_wait4 wait4 "libc.so"
19 //go:cgo_import_dynamic libc_gethostname gethostname "libc.so"
20 //go:cgo_import_dynamic libc_utimes utimes "libc.so"
21 //go:cgo_import_dynamic libc_utimensat utimensat "libc.so"
22 //go:cgo_import_dynamic libc_fcntl fcntl "libc.so"
23 //go:cgo_import_dynamic libc_futimesat futimesat "libc.so"
24 //go:cgo_import_dynamic libc_accept accept "libsocket.so"
25 //go:cgo_import_dynamic libc___xnet_recvmsg __xnet_recvmsg "libsocket.so"
26 //go:cgo_import_dynamic libc___xnet_sendmsg __xnet_sendmsg "libsocket.so"
27 //go:cgo_import_dynamic libc_acct acct "libc.so"
28 //go:cgo_import_dynamic libc_ioctl ioctl "libc.so"
29 //go:cgo_import_dynamic libc_access access "libc.so"
30 //go:cgo_import_dynamic libc_adjtime adjtime "libc.so"
31 //go:cgo_import_dynamic libc_chdir chdir "libc.so"
32 //go:cgo_import_dynamic libc_chmod chmod "libc.so"
33 //go:cgo_import_dynamic libc_chown chown "libc.so"
34 //go:cgo_import_dynamic libc_chroot chroot "libc.so"
35 //go:cgo_import_dynamic libc_close close "libc.so"
36 //go:cgo_import_dynamic libc_creat creat "libc.so"
37 //go:cgo_import_dynamic libc_dup dup "libc.so"
38 //go:cgo_import_dynamic libc_dup2 dup2 "libc.so"
39 //go:cgo_import_dynamic libc_exit exit "libc.so"
40 //go:cgo_import_dynamic libc_fchdir fchdir "libc.so"
41 //go:cgo_import_dynamic libc_fchmod fchmod "libc.so"
42 //go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so"
43 //go:cgo_import_dynamic libc_fchown fchown "libc.so"
44 //go:cgo_import_dynamic libc_fchownat fchownat "libc.so"
45 //go:cgo_import_dynamic libc_fdatasync fdatasync "libc.so"
46 //go:cgo_import_dynamic libc_flock flock "libc.so"
47 //go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so"
48 //go:cgo_import_dynamic libc_fstat fstat "libc.so"
49 //go:cgo_import_dynamic libc_fstatvfs fstatvfs "libc.so"
50 //go:cgo_import_dynamic libc_getdents getdents "libc.so"
51 //go:cgo_import_dynamic libc_getgid getgid "libc.so"
52 //go:cgo_import_dynamic libc_getpid getpid "libc.so"
53 //go:cgo_import_dynamic libc_getpgid getpgid "libc.so"
54 //go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so"
55 //go:cgo_import_dynamic libc_geteuid geteuid "libc.so"
56 //go:cgo_import_dynamic libc_getegid getegid "libc.so"
57 //go:cgo_import_dynamic libc_getppid getppid "libc.so"
58 //go:cgo_import_dynamic libc_getpriority getpriority "libc.so"
59 //go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so"
60 //go:cgo_import_dynamic libc_getrusage getrusage "libc.so"
61 //go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so"
62 //go:cgo_import_dynamic libc_getuid getuid "libc.so"
63 //go:cgo_import_dynamic libc_kill kill "libc.so"
64 //go:cgo_import_dynamic libc_lchown lchown "libc.so"
65 //go:cgo_import_dynamic libc_link link "libc.so"
66 //go:cgo_import_dynamic libc___xnet_llisten __xnet_llisten "libsocket.so"
67 //go:cgo_import_dynamic libc_lstat lstat "libc.so"
68 //go:cgo_import_dynamic libc_madvise madvise "libc.so"
69 //go:cgo_import_dynamic libc_mkdir mkdir "libc.so"
70 //go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so"
71 //go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so"
72 //go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so"
73 //go:cgo_import_dynamic libc_mknod mknod "libc.so"
74 //go:cgo_import_dynamic libc_mknodat mknodat "libc.so"
75 //go:cgo_import_dynamic libc_mlock mlock "libc.so"
76 //go:cgo_import_dynamic libc_mlockall mlockall "libc.so"
77 //go:cgo_import_dynamic libc_mprotect mprotect "libc.so"
78 //go:cgo_import_dynamic libc_munlock munlock "libc.so"
79 //go:cgo_import_dynamic libc_munlockall munlockall "libc.so"
80 //go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so"
81 //go:cgo_import_dynamic libc_open open "libc.so"
82 //go:cgo_import_dynamic libc_openat openat "libc.so"
83 //go:cgo_import_dynamic libc_pathconf pathconf "libc.so"
84 //go:cgo_import_dynamic libc_pause pause "libc.so"
85 //go:cgo_import_dynamic libc_pread pread "libc.so"
86 //go:cgo_import_dynamic libc_pwrite pwrite "libc.so"
87 //go:cgo_import_dynamic libc_read read "libc.so"
88 //go:cgo_import_dynamic libc_readlink readlink "libc.so"
89 //go:cgo_import_dynamic libc_rename rename "libc.so"
90 //go:cgo_import_dynamic libc_renameat renameat "libc.so"
91 //go:cgo_import_dynamic libc_rmdir rmdir "libc.so"
92 //go:cgo_import_dynamic libc_lseek lseek "libc.so"
93 //go:cgo_import_dynamic libc_setegid setegid "libc.so"
94 //go:cgo_import_dynamic libc_seteuid seteuid "libc.so"
95 //go:cgo_import_dynamic libc_setgid setgid "libc.so"
96 //go:cgo_import_dynamic libc_sethostname sethostname "libc.so"
97 //go:cgo_import_dynamic libc_setpgid setpgid "libc.so"
98 //go:cgo_import_dynamic libc_setpriority setpriority "libc.so"
99 //go:cgo_import_dynamic libc_setregid setregid "libc.so"
100 //go:cgo_import_dynamic libc_setreuid setreuid "libc.so"
101 //go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so"
102 //go:cgo_import_dynamic libc_setsid setsid "libc.so"
103 //go:cgo_import_dynamic libc_setuid setuid "libc.so"
104 //go:cgo_import_dynamic libc_shutdown shutdown "libsocket.so"
105 //go:cgo_import_dynamic libc_stat stat "libc.so"
106 //go:cgo_import_dynamic libc_statvfs statvfs "libc.so"
107 //go:cgo_import_dynamic libc_symlink symlink "libc.so"
108 //go:cgo_import_dynamic libc_sync sync "libc.so"
109 //go:cgo_import_dynamic libc_times times "libc.so"
110 //go:cgo_import_dynamic libc_truncate truncate "libc.so"
111 //go:cgo_import_dynamic libc_fsync fsync "libc.so"
112 //go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so"
113 //go:cgo_import_dynamic libc_umask umask "libc.so"
114 //go:cgo_import_dynamic libc_uname uname "libc.so"
115 //go:cgo_import_dynamic libc_umount umount "libc.so"
116 //go:cgo_import_dynamic libc_unlink unlink "libc.so"
117 //go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so"
118 //go:cgo_import_dynamic libc_ustat ustat "libc.so"
119 //go:cgo_import_dynamic libc_utime utime "libc.so"
120 //go:cgo_import_dynamic libc___xnet_bind __xnet_bind "libsocket.so"
121 //go:cgo_import_dynamic libc___xnet_connect __xnet_connect "libsocket.so"
122 //go:cgo_import_dynamic libc_mmap mmap "libc.so"
123 //go:cgo_import_dynamic libc_munmap munmap "libc.so"
124 //go:cgo_import_dynamic libc___xnet_sendto __xnet_sendto "libsocket.so"
125 //go:cgo_import_dynamic libc___xnet_socket __xnet_socket "libsocket.so"
126 //go:cgo_import_dynamic libc___xnet_socketpair __xnet_socketpair "libsocket.so"
127 //go:cgo_import_dynamic libc_write write "libc.so"
128 //go:cgo_import_dynamic libc___xnet_getsockopt __xnet_getsockopt "libsocket.so"
129 //go:cgo_import_dynamic libc_getpeername getpeername "libsocket.so"
130 //go:cgo_import_dynamic libc_setsockopt setsockopt "libsocket.so"
131 //go:cgo_import_dynamic libc_recvfrom recvfrom "libsocket.so"
132 //go:cgo_import_dynamic libc_sysconf sysconf "libc.so"
134 //go:linkname procpipe libc_pipe
135 //go:linkname procgetsockname libc_getsockname
136 //go:linkname procGetcwd libc_getcwd
137 //go:linkname procgetgroups libc_getgroups
138 //go:linkname procsetgroups libc_setgroups
139 //go:linkname procwait4 libc_wait4
140 //go:linkname procgethostname libc_gethostname
141 //go:linkname procutimes libc_utimes
142 //go:linkname procutimensat libc_utimensat
143 //go:linkname procfcntl libc_fcntl
144 //go:linkname procfutimesat libc_futimesat
145 //go:linkname procaccept libc_accept
146 //go:linkname proc__xnet_recvmsg libc___xnet_recvmsg
147 //go:linkname proc__xnet_sendmsg libc___xnet_sendmsg
148 //go:linkname procacct libc_acct
149 //go:linkname procioctl libc_ioctl
150 //go:linkname procAccess libc_access
151 //go:linkname procAdjtime libc_adjtime
152 //go:linkname procChdir libc_chdir
153 //go:linkname procChmod libc_chmod
154 //go:linkname procChown libc_chown
155 //go:linkname procChroot libc_chroot
156 //go:linkname procClose libc_close
157 //go:linkname procCreat libc_creat
158 //go:linkname procDup libc_dup
159 //go:linkname procDup2 libc_dup2
160 //go:linkname procExit libc_exit
161 //go:linkname procFchdir libc_fchdir
162 //go:linkname procFchmod libc_fchmod
163 //go:linkname procFchmodat libc_fchmodat
164 //go:linkname procFchown libc_fchown
165 //go:linkname procFchownat libc_fchownat
166 //go:linkname procFdatasync libc_fdatasync
167 //go:linkname procFlock libc_flock
168 //go:linkname procFpathconf libc_fpathconf
169 //go:linkname procFstat libc_fstat
170 //go:linkname procFstatvfs libc_fstatvfs
171 //go:linkname procGetdents libc_getdents
172 //go:linkname procGetgid libc_getgid
173 //go:linkname procGetpid libc_getpid
174 //go:linkname procGetpgid libc_getpgid
175 //go:linkname procGetpgrp libc_getpgrp
176 //go:linkname procGeteuid libc_geteuid
177 //go:linkname procGetegid libc_getegid
178 //go:linkname procGetppid libc_getppid
179 //go:linkname procGetpriority libc_getpriority
180 //go:linkname procGetrlimit libc_getrlimit
181 //go:linkname procGetrusage libc_getrusage
182 //go:linkname procGettimeofday libc_gettimeofday
183 //go:linkname procGetuid libc_getuid
184 //go:linkname procKill libc_kill
185 //go:linkname procLchown libc_lchown
186 //go:linkname procLink libc_link
187 //go:linkname proc__xnet_llisten libc___xnet_llisten
188 //go:linkname procLstat libc_lstat
189 //go:linkname procMadvise libc_madvise
190 //go:linkname procMkdir libc_mkdir
191 //go:linkname procMkdirat libc_mkdirat
192 //go:linkname procMkfifo libc_mkfifo
193 //go:linkname procMkfifoat libc_mkfifoat
194 //go:linkname procMknod libc_mknod
195 //go:linkname procMknodat libc_mknodat
196 //go:linkname procMlock libc_mlock
197 //go:linkname procMlockall libc_mlockall
198 //go:linkname procMprotect libc_mprotect
199 //go:linkname procMunlock libc_munlock
200 //go:linkname procMunlockall libc_munlockall
201 //go:linkname procNanosleep libc_nanosleep
202 //go:linkname procOpen libc_open
203 //go:linkname procOpenat libc_openat
204 //go:linkname procPathconf libc_pathconf
205 //go:linkname procPause libc_pause
206 //go:linkname procPread libc_pread
207 //go:linkname procPwrite libc_pwrite
208 //go:linkname procread libc_read
209 //go:linkname procReadlink libc_readlink
210 //go:linkname procRename libc_rename
211 //go:linkname procRenameat libc_renameat
212 //go:linkname procRmdir libc_rmdir
213 //go:linkname proclseek libc_lseek
214 //go:linkname procSetegid libc_setegid
215 //go:linkname procSeteuid libc_seteuid
216 //go:linkname procSetgid libc_setgid
217 //go:linkname procSethostname libc_sethostname
218 //go:linkname procSetpgid libc_setpgid
219 //go:linkname procSetpriority libc_setpriority
220 //go:linkname procSetregid libc_setregid
221 //go:linkname procSetreuid libc_setreuid
222 //go:linkname procSetrlimit libc_setrlimit
223 //go:linkname procSetsid libc_setsid
224 //go:linkname procSetuid libc_setuid
225 //go:linkname procshutdown libc_shutdown
226 //go:linkname procStat libc_stat
227 //go:linkname procStatvfs libc_statvfs
228 //go:linkname procSymlink libc_symlink
229 //go:linkname procSync libc_sync
230 //go:linkname procTimes libc_times
231 //go:linkname procTruncate libc_truncate
232 //go:linkname procFsync libc_fsync
233 //go:linkname procFtruncate libc_ftruncate
234 //go:linkname procUmask libc_umask
235 //go:linkname procUname libc_uname
236 //go:linkname procumount libc_umount
237 //go:linkname procUnlink libc_unlink
238 //go:linkname procUnlinkat libc_unlinkat
239 //go:linkname procUstat libc_ustat
240 //go:linkname procUtime libc_utime
241 //go:linkname proc__xnet_bind libc___xnet_bind
242 //go:linkname proc__xnet_connect libc___xnet_connect
243 //go:linkname procmmap libc_mmap
244 //go:linkname procmunmap libc_munmap
245 //go:linkname proc__xnet_sendto libc___xnet_sendto
246 //go:linkname proc__xnet_socket libc___xnet_socket
247 //go:linkname proc__xnet_socketpair libc___xnet_socketpair
248 //go:linkname procwrite libc_write
249 //go:linkname proc__xnet_getsockopt libc___xnet_getsockopt
250 //go:linkname procgetpeername libc_getpeername
251 //go:linkname procsetsockopt libc_setsockopt
252 //go:linkname procrecvfrom libc_recvfrom
253 //go:linkname procsysconf libc_sysconf
369 proc__xnet_socketpair,
371 proc__xnet_getsockopt,
375 procsysconf syscallFunc
378 func pipe(p *[2]_C_int) (n int, err error) {
379 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procpipe)), 1, uintptr(unsafe.Pointer(p)), 0, 0, 0, 0, 0)
387 func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
388 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgetsockname)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
395 func Getcwd(buf []byte) (n int, err error) {
400 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetcwd)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), 0, 0, 0, 0)
408 func getgroups(ngid int, gid *_Gid_t) (n int, err error) {
409 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0)
417 func setgroups(ngid int, gid *_Gid_t) (err error) {
418 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procsetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0)
425 func wait4(pid int32, statusp *_C_int, options int, rusage *Rusage) (wpid int32, err error) {
426 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwait4)), 4, uintptr(pid), uintptr(unsafe.Pointer(statusp)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0)
434 func gethostname(buf []byte) (n int, err error) {
439 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgethostname)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), 0, 0, 0, 0)
447 func utimes(path string, times *[2]Timeval) (err error) {
449 _p0, err = BytePtrFromString(path)
453 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procutimes)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0, 0, 0, 0)
460 func utimensat(fd int, path string, times *[2]Timespec, flag int) (err error) {
462 _p0, err = BytePtrFromString(path)
466 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procutimensat)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flag), 0, 0)
473 func fcntl(fd int, cmd int, arg int) (val int, err error) {
474 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
482 func futimesat(fildes int, path *byte, times *[2]Timeval) (err error) {
483 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfutimesat)), 3, uintptr(fildes), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)), 0, 0, 0)
490 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) {
491 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procaccept)), 3, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
499 func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) {
500 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_recvmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
508 func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) {
509 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_sendmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0)
517 func acct(path *byte) (err error) {
518 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procacct)), 1, uintptr(unsafe.Pointer(path)), 0, 0, 0, 0, 0)
525 func ioctl(fd int, req uint, arg uintptr) (err error) {
526 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procioctl)), 3, uintptr(fd), uintptr(req), uintptr(arg), 0, 0, 0)
533 func Access(path string, mode uint32) (err error) {
535 _p0, err = BytePtrFromString(path)
539 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procAccess)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
546 func Adjtime(delta *Timeval, olddelta *Timeval) (err error) {
547 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procAdjtime)), 2, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0, 0, 0, 0)
554 func Chdir(path string) (err error) {
556 _p0, err = BytePtrFromString(path)
560 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChdir)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
567 func Chmod(path string, mode uint32) (err error) {
569 _p0, err = BytePtrFromString(path)
573 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChmod)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
580 func Chown(path string, uid int, gid int) (err error) {
582 _p0, err = BytePtrFromString(path)
586 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChown)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), 0, 0, 0)
593 func Chroot(path string) (err error) {
595 _p0, err = BytePtrFromString(path)
599 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChroot)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
606 func Close(fd int) (err error) {
607 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procClose)), 1, uintptr(fd), 0, 0, 0, 0, 0)
614 func Creat(path string, mode uint32) (fd int, err error) {
616 _p0, err = BytePtrFromString(path)
620 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procCreat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
628 func Dup(fd int) (nfd int, err error) {
629 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup)), 1, uintptr(fd), 0, 0, 0, 0, 0)
637 func Dup2(oldfd int, newfd int) (err error) {
638 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup2)), 2, uintptr(oldfd), uintptr(newfd), 0, 0, 0, 0)
645 func Exit(code int) {
646 sysvicall6(uintptr(unsafe.Pointer(&procExit)), 1, uintptr(code), 0, 0, 0, 0, 0)
650 func Fchdir(fd int) (err error) {
651 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchdir)), 1, uintptr(fd), 0, 0, 0, 0, 0)
658 func Fchmod(fd int, mode uint32) (err error) {
659 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchmod)), 2, uintptr(fd), uintptr(mode), 0, 0, 0, 0)
666 func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) {
668 _p0, err = BytePtrFromString(path)
672 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchmodat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0)
679 func Fchown(fd int, uid int, gid int) (err error) {
680 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchown)), 3, uintptr(fd), uintptr(uid), uintptr(gid), 0, 0, 0)
687 func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) {
689 _p0, err = BytePtrFromString(path)
693 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchownat)), 5, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0)
700 func Fdatasync(fd int) (err error) {
701 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFdatasync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
708 func Flock(fd int, how int) (err error) {
709 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFlock)), 2, uintptr(fd), uintptr(how), 0, 0, 0, 0)
716 func Fpathconf(fd int, name int) (val int, err error) {
717 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFpathconf)), 2, uintptr(fd), uintptr(name), 0, 0, 0, 0)
725 func Fstat(fd int, stat *Stat_t) (err error) {
726 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFstat)), 2, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0)
733 func Fstatvfs(fd int, vfsstat *Statvfs_t) (err error) {
734 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFstatvfs)), 2, uintptr(fd), uintptr(unsafe.Pointer(vfsstat)), 0, 0, 0, 0)
741 func Getdents(fd int, buf []byte, basep *uintptr) (n int, err error) {
746 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetdents)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0)
754 func Getgid() (gid int) {
755 r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetgid)), 0, 0, 0, 0, 0, 0, 0)
760 func Getpid() (pid int) {
761 r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpid)), 0, 0, 0, 0, 0, 0, 0)
766 func Getpgid(pid int) (pgid int, err error) {
767 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
775 func Getpgrp() (pgid int, err error) {
776 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgrp)), 0, 0, 0, 0, 0, 0, 0)
784 func Geteuid() (euid int) {
785 r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGeteuid)), 0, 0, 0, 0, 0, 0, 0)
790 func Getegid() (egid int) {
791 r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGetegid)), 0, 0, 0, 0, 0, 0, 0)
796 func Getppid() (ppid int) {
797 r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGetppid)), 0, 0, 0, 0, 0, 0, 0)
802 func Getpriority(which int, who int) (n int, err error) {
803 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetpriority)), 2, uintptr(which), uintptr(who), 0, 0, 0, 0)
811 func Getrlimit(which int, lim *Rlimit) (err error) {
812 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrlimit)), 2, uintptr(which), uintptr(unsafe.Pointer(lim)), 0, 0, 0, 0)
819 func Getrusage(who int, rusage *Rusage) (err error) {
820 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrusage)), 2, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0, 0, 0, 0)
827 func Gettimeofday(tv *Timeval) (err error) {
828 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGettimeofday)), 1, uintptr(unsafe.Pointer(tv)), 0, 0, 0, 0, 0)
835 func Getuid() (uid int) {
836 r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetuid)), 0, 0, 0, 0, 0, 0, 0)
841 func Kill(pid int, signum syscall.Signal) (err error) {
842 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procKill)), 2, uintptr(pid), uintptr(signum), 0, 0, 0, 0)
849 func Lchown(path string, uid int, gid int) (err error) {
851 _p0, err = BytePtrFromString(path)
855 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLchown)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), 0, 0, 0)
862 func Link(path string, link string) (err error) {
864 _p0, err = BytePtrFromString(path)
869 _p1, err = BytePtrFromString(link)
873 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLink)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0)
880 func Listen(s int, backlog int) (err error) {
881 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_llisten)), 2, uintptr(s), uintptr(backlog), 0, 0, 0, 0)
888 func Lstat(path string, stat *Stat_t) (err error) {
890 _p0, err = BytePtrFromString(path)
894 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLstat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0)
901 func Madvise(b []byte, advice int) (err error) {
906 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMadvise)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), uintptr(advice), 0, 0, 0)
913 func Mkdir(path string, mode uint32) (err error) {
915 _p0, err = BytePtrFromString(path)
919 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkdir)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
926 func Mkdirat(dirfd int, path string, mode uint32) (err error) {
928 _p0, err = BytePtrFromString(path)
932 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkdirat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0)
939 func Mkfifo(path string, mode uint32) (err error) {
941 _p0, err = BytePtrFromString(path)
945 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkfifo)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0)
952 func Mkfifoat(dirfd int, path string, mode uint32) (err error) {
954 _p0, err = BytePtrFromString(path)
958 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkfifoat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0)
965 func Mknod(path string, mode uint32, dev int) (err error) {
967 _p0, err = BytePtrFromString(path)
971 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMknod)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0, 0)
978 func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) {
980 _p0, err = BytePtrFromString(path)
984 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMknodat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0)
991 func Mlock(b []byte) (err error) {
996 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMlock)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), 0, 0, 0, 0)
1003 func Mlockall(flags int) (err error) {
1004 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMlockall)), 1, uintptr(flags), 0, 0, 0, 0, 0)
1011 func Mprotect(b []byte, prot int) (err error) {
1016 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMprotect)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), uintptr(prot), 0, 0, 0)
1023 func Munlock(b []byte) (err error) {
1028 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMunlock)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), 0, 0, 0, 0)
1035 func Munlockall() (err error) {
1036 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMunlockall)), 0, 0, 0, 0, 0, 0, 0)
1043 func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
1044 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procNanosleep)), 2, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0, 0, 0, 0)
1051 func Open(path string, mode int, perm uint32) (fd int, err error) {
1053 _p0, err = BytePtrFromString(path)
1057 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procOpen)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0, 0)
1065 func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) {
1067 _p0, err = BytePtrFromString(path)
1071 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procOpenat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0)
1079 func Pathconf(path string, name int) (val int, err error) {
1081 _p0, err = BytePtrFromString(path)
1085 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPathconf)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0, 0, 0, 0)
1093 func Pause() (err error) {
1094 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPause)), 0, 0, 0, 0, 0, 0, 0)
1101 func Pread(fd int, p []byte, offset int64) (n int, err error) {
1106 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPread)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0)
1114 func Pwrite(fd int, p []byte, offset int64) (n int, err error) {
1119 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPwrite)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0)
1127 func read(fd int, p []byte) (n int, err error) {
1132 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procread)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0)
1140 func Readlink(path string, buf []byte) (n int, err error) {
1142 _p0, err = BytePtrFromString(path)
1150 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procReadlink)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(len(buf)), 0, 0, 0)
1158 func Rename(from string, to string) (err error) {
1160 _p0, err = BytePtrFromString(from)
1165 _p1, err = BytePtrFromString(to)
1169 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRename)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0)
1176 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
1178 _p0, err = BytePtrFromString(oldpath)
1183 _p1, err = BytePtrFromString(newpath)
1187 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRenameat)), 4, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0)
1194 func Rmdir(path string) (err error) {
1196 _p0, err = BytePtrFromString(path)
1200 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRmdir)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
1207 func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
1208 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proclseek)), 3, uintptr(fd), uintptr(offset), uintptr(whence), 0, 0, 0)
1209 newoffset = int64(r0)
1216 func Setegid(egid int) (err error) {
1217 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetegid)), 1, uintptr(egid), 0, 0, 0, 0, 0)
1224 func Seteuid(euid int) (err error) {
1225 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSeteuid)), 1, uintptr(euid), 0, 0, 0, 0, 0)
1232 func Setgid(gid int) (err error) {
1233 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetgid)), 1, uintptr(gid), 0, 0, 0, 0, 0)
1240 func Sethostname(p []byte) (err error) {
1245 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSethostname)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0, 0)
1252 func Setpgid(pid int, pgid int) (err error) {
1253 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetpgid)), 2, uintptr(pid), uintptr(pgid), 0, 0, 0, 0)
1260 func Setpriority(which int, who int, prio int) (err error) {
1261 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSetpriority)), 3, uintptr(which), uintptr(who), uintptr(prio), 0, 0, 0)
1268 func Setregid(rgid int, egid int) (err error) {
1269 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetregid)), 2, uintptr(rgid), uintptr(egid), 0, 0, 0, 0)
1276 func Setreuid(ruid int, euid int) (err error) {
1277 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetreuid)), 2, uintptr(ruid), uintptr(euid), 0, 0, 0, 0)
1284 func Setrlimit(which int, lim *Rlimit) (err error) {
1285 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetrlimit)), 2, uintptr(which), uintptr(unsafe.Pointer(lim)), 0, 0, 0, 0)
1292 func Setsid() (pid int, err error) {
1293 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetsid)), 0, 0, 0, 0, 0, 0, 0)
1301 func Setuid(uid int) (err error) {
1302 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetuid)), 1, uintptr(uid), 0, 0, 0, 0, 0)
1309 func Shutdown(s int, how int) (err error) {
1310 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procshutdown)), 2, uintptr(s), uintptr(how), 0, 0, 0, 0)
1317 func Stat(path string, stat *Stat_t) (err error) {
1319 _p0, err = BytePtrFromString(path)
1323 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procStat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0)
1330 func Statvfs(path string, vfsstat *Statvfs_t) (err error) {
1332 _p0, err = BytePtrFromString(path)
1336 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procStatvfs)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(vfsstat)), 0, 0, 0, 0)
1343 func Symlink(path string, link string) (err error) {
1345 _p0, err = BytePtrFromString(path)
1350 _p1, err = BytePtrFromString(link)
1354 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSymlink)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0)
1361 func Sync() (err error) {
1362 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSync)), 0, 0, 0, 0, 0, 0, 0)
1369 func Times(tms *Tms) (ticks uintptr, err error) {
1370 r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procTimes)), 1, uintptr(unsafe.Pointer(tms)), 0, 0, 0, 0, 0)
1378 func Truncate(path string, length int64) (err error) {
1380 _p0, err = BytePtrFromString(path)
1384 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procTruncate)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0, 0, 0, 0)
1391 func Fsync(fd int) (err error) {
1392 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFsync)), 1, uintptr(fd), 0, 0, 0, 0, 0)
1399 func Ftruncate(fd int, length int64) (err error) {
1400 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFtruncate)), 2, uintptr(fd), uintptr(length), 0, 0, 0, 0)
1407 func Umask(mask int) (oldmask int) {
1408 r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procUmask)), 1, uintptr(mask), 0, 0, 0, 0, 0)
1413 func Uname(buf *Utsname) (err error) {
1414 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procUname)), 1, uintptr(unsafe.Pointer(buf)), 0, 0, 0, 0, 0)
1421 func Unmount(target string, flags int) (err error) {
1423 _p0, err = BytePtrFromString(target)
1427 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procumount)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0, 0, 0, 0)
1434 func Unlink(path string) (err error) {
1436 _p0, err = BytePtrFromString(path)
1440 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUnlink)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0)
1447 func Unlinkat(dirfd int, path string, flags int) (err error) {
1449 _p0, err = BytePtrFromString(path)
1453 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUnlinkat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0, 0, 0)
1460 func Ustat(dev int, ubuf *Ustat_t) (err error) {
1461 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUstat)), 2, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0, 0, 0, 0)
1468 func Utime(path string, buf *Utimbuf) (err error) {
1470 _p0, err = BytePtrFromString(path)
1474 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUtime)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0, 0, 0, 0)
1481 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1482 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_bind)), 3, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
1489 func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
1490 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_connect)), 3, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0)
1497 func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
1498 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procmmap)), 6, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos))
1506 func munmap(addr uintptr, length uintptr) (err error) {
1507 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procmunmap)), 2, uintptr(addr), uintptr(length), 0, 0, 0, 0)
1514 func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) {
1519 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_sendto)), 6, uintptr(s), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen))
1526 func socket(domain int, typ int, proto int) (fd int, err error) {
1527 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_socket)), 3, uintptr(domain), uintptr(typ), uintptr(proto), 0, 0, 0)
1535 func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) {
1536 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&proc__xnet_socketpair)), 4, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0)
1543 func write(fd int, p []byte) (n int, err error) {
1548 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwrite)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0)
1556 func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) {
1557 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_getsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
1564 func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) {
1565 _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetpeername)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0)
1572 func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
1573 _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsetsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0)
1580 func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) {
1585 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procrecvfrom)), 6, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)))
1593 func sysconf(name int) (n int64, err error) {
1594 r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsysconf)), 1, uintptr(name), 0, 0, 0, 0, 0)