1 // mksyscall_aix_ppc64.pl -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go
2 // Code generated by the command above; see README.md. DO NOT EDIT.
11 int utimes(uintptr_t, uintptr_t);
12 int utimensat(int, uintptr_t, uintptr_t, int);
13 int getcwd(uintptr_t, size_t);
14 int accept(int, uintptr_t, uintptr_t);
15 int getdirent(int, uintptr_t, size_t);
16 int wait4(int, uintptr_t, int, uintptr_t);
17 int ioctl(int, int, uintptr_t);
18 int fcntl(uintptr_t, int, uintptr_t);
21 int chroot(uintptr_t);
25 int faccessat(int, uintptr_t, unsigned int, int);
27 int fchmod(int, unsigned int);
28 int fchmodat(int, uintptr_t, unsigned int, int);
29 int fchownat(int, uintptr_t, int, int, int);
36 int getpriority(int, int);
37 int getrusage(int, uintptr_t);
40 int syslog(int, uintptr_t, size_t);
41 int mkdir(int, uintptr_t, unsigned int);
42 int mkdirat(int, uintptr_t, unsigned int);
43 int mkfifo(uintptr_t, unsigned int);
44 int mknod(uintptr_t, unsigned int, int);
45 int mknodat(int, uintptr_t, unsigned int, int);
46 int nanosleep(uintptr_t, uintptr_t);
47 int open64(uintptr_t, int, unsigned int);
48 int openat(int, uintptr_t, int, unsigned int);
49 int read(int, uintptr_t, size_t);
50 int readlink(uintptr_t, uintptr_t, size_t);
51 int renameat(int, uintptr_t, int, uintptr_t);
52 int setdomainname(uintptr_t, size_t);
53 int sethostname(uintptr_t, size_t);
54 int setpgid(int, int);
56 int settimeofday(uintptr_t);
59 int setpriority(int, int, int);
60 int statx(int, uintptr_t, int, int, uintptr_t);
62 uintptr_t times(uintptr_t);
65 int unlink(uintptr_t);
66 int unlinkat(int, uintptr_t, int);
67 int ustat(int, uintptr_t);
68 int write(int, uintptr_t, size_t);
70 int posix_fadvise64(int, long long, long long, int);
71 int fchown(int, int, int);
72 int fstat(int, uintptr_t);
73 int fstatat(int, uintptr_t, uintptr_t, int);
74 int fstatfs(int, uintptr_t);
75 int ftruncate(int, long long);
80 int lchown(uintptr_t, int, int);
82 int lstat(uintptr_t, uintptr_t);
84 int pread64(int, uintptr_t, size_t, long long);
85 int pwrite64(int, uintptr_t, size_t, long long);
86 int pselect(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t);
87 int setregid(int, int);
88 int setreuid(int, int);
89 int shutdown(int, int);
90 long long splice(int, uintptr_t, int, uintptr_t, int, int);
91 int stat(uintptr_t, uintptr_t);
92 int statfs(uintptr_t, uintptr_t);
93 int truncate(uintptr_t, long long);
94 int bind(int, uintptr_t, uintptr_t);
95 int connect(int, uintptr_t, uintptr_t);
96 int getgroups(int, uintptr_t);
97 int setgroups(int, uintptr_t);
98 int getsockopt(int, int, int, uintptr_t, uintptr_t);
99 int setsockopt(int, int, int, uintptr_t, uintptr_t);
100 int socket(int, int, int);
101 int socketpair(int, int, int, uintptr_t);
102 int getpeername(int, uintptr_t, uintptr_t);
103 int getsockname(int, uintptr_t, uintptr_t);
104 int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
105 int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t);
106 int recvmsg(int, uintptr_t, int);
107 int sendmsg(int, uintptr_t, int);
108 int munmap(uintptr_t, uintptr_t);
109 int madvise(uintptr_t, size_t, int);
110 int mprotect(uintptr_t, size_t, int);
111 int mlock(uintptr_t, size_t);
113 int msync(uintptr_t, size_t, int);
114 int munlock(uintptr_t, size_t);
117 int poll(uintptr_t, int, int);
118 int gettimeofday(uintptr_t, uintptr_t);
120 int utime(uintptr_t, uintptr_t);
121 int getrlimit(int, uintptr_t);
122 int setrlimit(int, uintptr_t);
123 long long lseek(int, long long, int);
124 uintptr_t mmap64(uintptr_t, uintptr_t, int, int, int, long long);
132 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
134 func callutimes(_p0 uintptr, times uintptr) (r1 uintptr, e1 Errno) {
135 r1 = uintptr(C.utimes(C.uintptr_t(_p0), C.uintptr_t(times)))
136 e1 = syscall.GetErrno()
140 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
142 func callutimensat(dirfd int, _p0 uintptr, times uintptr, flag int) (r1 uintptr, e1 Errno) {
143 r1 = uintptr(C.utimensat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(times), C.int(flag)))
144 e1 = syscall.GetErrno()
148 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
150 func callgetcwd(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
151 r1 = uintptr(C.getcwd(C.uintptr_t(_p0), C.size_t(_lenp0)))
152 e1 = syscall.GetErrno()
156 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
158 func callaccept(s int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
159 r1 = uintptr(C.accept(C.int(s), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
160 e1 = syscall.GetErrno()
164 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
166 func callgetdirent(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
167 r1 = uintptr(C.getdirent(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
168 e1 = syscall.GetErrno()
172 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
174 func callwait4(pid int, status uintptr, options int, rusage uintptr) (r1 uintptr, e1 Errno) {
175 r1 = uintptr(C.wait4(C.int(pid), C.uintptr_t(status), C.int(options), C.uintptr_t(rusage)))
176 e1 = syscall.GetErrno()
180 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
182 func callioctl(fd int, req int, arg uintptr) (r1 uintptr, e1 Errno) {
183 r1 = uintptr(C.ioctl(C.int(fd), C.int(req), C.uintptr_t(arg)))
184 e1 = syscall.GetErrno()
188 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
190 func callfcntl(fd uintptr, cmd int, arg uintptr) (r1 uintptr, e1 Errno) {
191 r1 = uintptr(C.fcntl(C.uintptr_t(fd), C.int(cmd), C.uintptr_t(arg)))
192 e1 = syscall.GetErrno()
196 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
198 func callacct(_p0 uintptr) (r1 uintptr, e1 Errno) {
199 r1 = uintptr(C.acct(C.uintptr_t(_p0)))
200 e1 = syscall.GetErrno()
204 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
206 func callchdir(_p0 uintptr) (r1 uintptr, e1 Errno) {
207 r1 = uintptr(C.chdir(C.uintptr_t(_p0)))
208 e1 = syscall.GetErrno()
212 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
214 func callchroot(_p0 uintptr) (r1 uintptr, e1 Errno) {
215 r1 = uintptr(C.chroot(C.uintptr_t(_p0)))
216 e1 = syscall.GetErrno()
220 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
222 func callclose(fd int) (r1 uintptr, e1 Errno) {
223 r1 = uintptr(C.close(C.int(fd)))
224 e1 = syscall.GetErrno()
228 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
230 func calldup(oldfd int) (r1 uintptr, e1 Errno) {
231 r1 = uintptr(C.dup(C.int(oldfd)))
232 e1 = syscall.GetErrno()
236 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
238 func callexit(code int) (r1 uintptr, e1 Errno) {
239 r1 = uintptr(C.exit(C.int(code)))
240 e1 = syscall.GetErrno()
244 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
246 func callfaccessat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
247 r1 = uintptr(C.faccessat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags)))
248 e1 = syscall.GetErrno()
252 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
254 func callfchdir(fd int) (r1 uintptr, e1 Errno) {
255 r1 = uintptr(C.fchdir(C.int(fd)))
256 e1 = syscall.GetErrno()
260 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
262 func callfchmod(fd int, mode uint32) (r1 uintptr, e1 Errno) {
263 r1 = uintptr(C.fchmod(C.int(fd), C.uint(mode)))
264 e1 = syscall.GetErrno()
268 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
270 func callfchmodat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) {
271 r1 = uintptr(C.fchmodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags)))
272 e1 = syscall.GetErrno()
276 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
278 func callfchownat(dirfd int, _p0 uintptr, uid int, gid int, flags int) (r1 uintptr, e1 Errno) {
279 r1 = uintptr(C.fchownat(C.int(dirfd), C.uintptr_t(_p0), C.int(uid), C.int(gid), C.int(flags)))
280 e1 = syscall.GetErrno()
284 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
286 func callfdatasync(fd int) (r1 uintptr, e1 Errno) {
287 r1 = uintptr(C.fdatasync(C.int(fd)))
288 e1 = syscall.GetErrno()
292 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
294 func callfsync(fd int) (r1 uintptr, e1 Errno) {
295 r1 = uintptr(C.fsync(C.int(fd)))
296 e1 = syscall.GetErrno()
300 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
302 func callgetpgid(pid int) (r1 uintptr, e1 Errno) {
303 r1 = uintptr(C.getpgid(C.int(pid)))
304 e1 = syscall.GetErrno()
308 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
310 func callgetpgrp() (r1 uintptr, e1 Errno) {
311 r1 = uintptr(C.getpgrp())
312 e1 = syscall.GetErrno()
316 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
318 func callgetpid() (r1 uintptr, e1 Errno) {
319 r1 = uintptr(C.getpid())
320 e1 = syscall.GetErrno()
324 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
326 func callgetppid() (r1 uintptr, e1 Errno) {
327 r1 = uintptr(C.getppid())
328 e1 = syscall.GetErrno()
332 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
334 func callgetpriority(which int, who int) (r1 uintptr, e1 Errno) {
335 r1 = uintptr(C.getpriority(C.int(which), C.int(who)))
336 e1 = syscall.GetErrno()
340 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
342 func callgetrusage(who int, rusage uintptr) (r1 uintptr, e1 Errno) {
343 r1 = uintptr(C.getrusage(C.int(who), C.uintptr_t(rusage)))
344 e1 = syscall.GetErrno()
348 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
350 func callgetsid(pid int) (r1 uintptr, e1 Errno) {
351 r1 = uintptr(C.getsid(C.int(pid)))
352 e1 = syscall.GetErrno()
356 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
358 func callkill(pid int, sig int) (r1 uintptr, e1 Errno) {
359 r1 = uintptr(C.kill(C.int(pid), C.int(sig)))
360 e1 = syscall.GetErrno()
364 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
366 func callsyslog(typ int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
367 r1 = uintptr(C.syslog(C.int(typ), C.uintptr_t(_p0), C.size_t(_lenp0)))
368 e1 = syscall.GetErrno()
372 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
374 func callmkdir(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
375 r1 = uintptr(C.mkdir(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode)))
376 e1 = syscall.GetErrno()
380 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
382 func callmkdirat(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
383 r1 = uintptr(C.mkdirat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode)))
384 e1 = syscall.GetErrno()
388 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
390 func callmkfifo(_p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) {
391 r1 = uintptr(C.mkfifo(C.uintptr_t(_p0), C.uint(mode)))
392 e1 = syscall.GetErrno()
396 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
398 func callmknod(_p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
399 r1 = uintptr(C.mknod(C.uintptr_t(_p0), C.uint(mode), C.int(dev)))
400 e1 = syscall.GetErrno()
404 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
406 func callmknodat(dirfd int, _p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) {
407 r1 = uintptr(C.mknodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(dev)))
408 e1 = syscall.GetErrno()
412 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
414 func callnanosleep(time uintptr, leftover uintptr) (r1 uintptr, e1 Errno) {
415 r1 = uintptr(C.nanosleep(C.uintptr_t(time), C.uintptr_t(leftover)))
416 e1 = syscall.GetErrno()
420 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
422 func callopen64(_p0 uintptr, mode int, perm uint32) (r1 uintptr, e1 Errno) {
423 r1 = uintptr(C.open64(C.uintptr_t(_p0), C.int(mode), C.uint(perm)))
424 e1 = syscall.GetErrno()
428 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
430 func callopenat(dirfd int, _p0 uintptr, flags int, mode uint32) (r1 uintptr, e1 Errno) {
431 r1 = uintptr(C.openat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.uint(mode)))
432 e1 = syscall.GetErrno()
436 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
438 func callread(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
439 r1 = uintptr(C.read(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
440 e1 = syscall.GetErrno()
444 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
446 func callreadlink(_p0 uintptr, _p1 uintptr, _lenp1 int) (r1 uintptr, e1 Errno) {
447 r1 = uintptr(C.readlink(C.uintptr_t(_p0), C.uintptr_t(_p1), C.size_t(_lenp1)))
448 e1 = syscall.GetErrno()
452 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
454 func callrenameat(olddirfd int, _p0 uintptr, newdirfd int, _p1 uintptr) (r1 uintptr, e1 Errno) {
455 r1 = uintptr(C.renameat(C.int(olddirfd), C.uintptr_t(_p0), C.int(newdirfd), C.uintptr_t(_p1)))
456 e1 = syscall.GetErrno()
460 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
462 func callsetdomainname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
463 r1 = uintptr(C.setdomainname(C.uintptr_t(_p0), C.size_t(_lenp0)))
464 e1 = syscall.GetErrno()
468 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
470 func callsethostname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
471 r1 = uintptr(C.sethostname(C.uintptr_t(_p0), C.size_t(_lenp0)))
472 e1 = syscall.GetErrno()
476 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
478 func callsetpgid(pid int, pgid int) (r1 uintptr, e1 Errno) {
479 r1 = uintptr(C.setpgid(C.int(pid), C.int(pgid)))
480 e1 = syscall.GetErrno()
484 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
486 func callsetsid() (r1 uintptr, e1 Errno) {
487 r1 = uintptr(C.setsid())
488 e1 = syscall.GetErrno()
492 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
494 func callsettimeofday(tv uintptr) (r1 uintptr, e1 Errno) {
495 r1 = uintptr(C.settimeofday(C.uintptr_t(tv)))
496 e1 = syscall.GetErrno()
500 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
502 func callsetuid(uid int) (r1 uintptr, e1 Errno) {
503 r1 = uintptr(C.setuid(C.int(uid)))
504 e1 = syscall.GetErrno()
508 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
510 func callsetgid(uid int) (r1 uintptr, e1 Errno) {
511 r1 = uintptr(C.setgid(C.int(uid)))
512 e1 = syscall.GetErrno()
516 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
518 func callsetpriority(which int, who int, prio int) (r1 uintptr, e1 Errno) {
519 r1 = uintptr(C.setpriority(C.int(which), C.int(who), C.int(prio)))
520 e1 = syscall.GetErrno()
524 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
526 func callstatx(dirfd int, _p0 uintptr, flags int, mask int, stat uintptr) (r1 uintptr, e1 Errno) {
527 r1 = uintptr(C.statx(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.int(mask), C.uintptr_t(stat)))
528 e1 = syscall.GetErrno()
532 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
534 func callsync() (r1 uintptr, e1 Errno) {
535 r1 = uintptr(C.sync())
536 e1 = syscall.GetErrno()
540 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
542 func calltimes(tms uintptr) (r1 uintptr, e1 Errno) {
543 r1 = uintptr(C.times(C.uintptr_t(tms)))
544 e1 = syscall.GetErrno()
548 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
550 func callumask(mask int) (r1 uintptr, e1 Errno) {
551 r1 = uintptr(C.umask(C.int(mask)))
552 e1 = syscall.GetErrno()
556 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
558 func calluname(buf uintptr) (r1 uintptr, e1 Errno) {
559 r1 = uintptr(C.uname(C.uintptr_t(buf)))
560 e1 = syscall.GetErrno()
564 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
566 func callunlink(_p0 uintptr) (r1 uintptr, e1 Errno) {
567 r1 = uintptr(C.unlink(C.uintptr_t(_p0)))
568 e1 = syscall.GetErrno()
572 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
574 func callunlinkat(dirfd int, _p0 uintptr, flags int) (r1 uintptr, e1 Errno) {
575 r1 = uintptr(C.unlinkat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags)))
576 e1 = syscall.GetErrno()
580 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
582 func callustat(dev int, ubuf uintptr) (r1 uintptr, e1 Errno) {
583 r1 = uintptr(C.ustat(C.int(dev), C.uintptr_t(ubuf)))
584 e1 = syscall.GetErrno()
588 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
590 func callwrite(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
591 r1 = uintptr(C.write(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
592 e1 = syscall.GetErrno()
596 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
598 func calldup2(oldfd int, newfd int) (r1 uintptr, e1 Errno) {
599 r1 = uintptr(C.dup2(C.int(oldfd), C.int(newfd)))
600 e1 = syscall.GetErrno()
604 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
606 func callposix_fadvise64(fd int, offset int64, length int64, advice int) (r1 uintptr, e1 Errno) {
607 r1 = uintptr(C.posix_fadvise64(C.int(fd), C.longlong(offset), C.longlong(length), C.int(advice)))
608 e1 = syscall.GetErrno()
612 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
614 func callfchown(fd int, uid int, gid int) (r1 uintptr, e1 Errno) {
615 r1 = uintptr(C.fchown(C.int(fd), C.int(uid), C.int(gid)))
616 e1 = syscall.GetErrno()
620 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
622 func callfstat(fd int, stat uintptr) (r1 uintptr, e1 Errno) {
623 r1 = uintptr(C.fstat(C.int(fd), C.uintptr_t(stat)))
624 e1 = syscall.GetErrno()
628 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
630 func callfstatat(dirfd int, _p0 uintptr, stat uintptr, flags int) (r1 uintptr, e1 Errno) {
631 r1 = uintptr(C.fstatat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(stat), C.int(flags)))
632 e1 = syscall.GetErrno()
636 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
638 func callfstatfs(fd int, buf uintptr) (r1 uintptr, e1 Errno) {
639 r1 = uintptr(C.fstatfs(C.int(fd), C.uintptr_t(buf)))
640 e1 = syscall.GetErrno()
644 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
646 func callftruncate(fd int, length int64) (r1 uintptr, e1 Errno) {
647 r1 = uintptr(C.ftruncate(C.int(fd), C.longlong(length)))
648 e1 = syscall.GetErrno()
652 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
654 func callgetegid() (r1 uintptr, e1 Errno) {
655 r1 = uintptr(C.getegid())
656 e1 = syscall.GetErrno()
660 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
662 func callgeteuid() (r1 uintptr, e1 Errno) {
663 r1 = uintptr(C.geteuid())
664 e1 = syscall.GetErrno()
668 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
670 func callgetgid() (r1 uintptr, e1 Errno) {
671 r1 = uintptr(C.getgid())
672 e1 = syscall.GetErrno()
676 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
678 func callgetuid() (r1 uintptr, e1 Errno) {
679 r1 = uintptr(C.getuid())
680 e1 = syscall.GetErrno()
684 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
686 func calllchown(_p0 uintptr, uid int, gid int) (r1 uintptr, e1 Errno) {
687 r1 = uintptr(C.lchown(C.uintptr_t(_p0), C.int(uid), C.int(gid)))
688 e1 = syscall.GetErrno()
692 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
694 func calllisten(s int, n int) (r1 uintptr, e1 Errno) {
695 r1 = uintptr(C.listen(C.int(s), C.int(n)))
696 e1 = syscall.GetErrno()
700 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
702 func calllstat(_p0 uintptr, stat uintptr) (r1 uintptr, e1 Errno) {
703 r1 = uintptr(C.lstat(C.uintptr_t(_p0), C.uintptr_t(stat)))
704 e1 = syscall.GetErrno()
708 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
710 func callpause() (r1 uintptr, e1 Errno) {
711 r1 = uintptr(C.pause())
712 e1 = syscall.GetErrno()
716 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
718 func callpread64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
719 r1 = uintptr(C.pread64(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.longlong(offset)))
720 e1 = syscall.GetErrno()
724 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
726 func callpwrite64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) {
727 r1 = uintptr(C.pwrite64(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.longlong(offset)))
728 e1 = syscall.GetErrno()
732 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
734 func callpselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr, sigmask uintptr) (r1 uintptr, e1 Errno) {
735 r1 = uintptr(C.pselect(C.int(nfd), C.uintptr_t(r), C.uintptr_t(w), C.uintptr_t(e), C.uintptr_t(timeout), C.uintptr_t(sigmask)))
736 e1 = syscall.GetErrno()
740 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
742 func callsetregid(rgid int, egid int) (r1 uintptr, e1 Errno) {
743 r1 = uintptr(C.setregid(C.int(rgid), C.int(egid)))
744 e1 = syscall.GetErrno()
748 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
750 func callsetreuid(ruid int, euid int) (r1 uintptr, e1 Errno) {
751 r1 = uintptr(C.setreuid(C.int(ruid), C.int(euid)))
752 e1 = syscall.GetErrno()
756 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
758 func callshutdown(fd int, how int) (r1 uintptr, e1 Errno) {
759 r1 = uintptr(C.shutdown(C.int(fd), C.int(how)))
760 e1 = syscall.GetErrno()
764 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
766 func callsplice(rfd int, roff uintptr, wfd int, woff uintptr, len int, flags int) (r1 uintptr, e1 Errno) {
767 r1 = uintptr(C.splice(C.int(rfd), C.uintptr_t(roff), C.int(wfd), C.uintptr_t(woff), C.int(len), C.int(flags)))
768 e1 = syscall.GetErrno()
772 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
774 func callstat(_p0 uintptr, stat uintptr) (r1 uintptr, e1 Errno) {
775 r1 = uintptr(C.stat(C.uintptr_t(_p0), C.uintptr_t(stat)))
776 e1 = syscall.GetErrno()
780 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
782 func callstatfs(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
783 r1 = uintptr(C.statfs(C.uintptr_t(_p0), C.uintptr_t(buf)))
784 e1 = syscall.GetErrno()
788 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
790 func calltruncate(_p0 uintptr, length int64) (r1 uintptr, e1 Errno) {
791 r1 = uintptr(C.truncate(C.uintptr_t(_p0), C.longlong(length)))
792 e1 = syscall.GetErrno()
796 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
798 func callbind(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
799 r1 = uintptr(C.bind(C.int(s), C.uintptr_t(addr), C.uintptr_t(addrlen)))
800 e1 = syscall.GetErrno()
804 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
806 func callconnect(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
807 r1 = uintptr(C.connect(C.int(s), C.uintptr_t(addr), C.uintptr_t(addrlen)))
808 e1 = syscall.GetErrno()
812 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
814 func callgetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
815 r1 = uintptr(C.getgroups(C.int(n), C.uintptr_t(list)))
816 e1 = syscall.GetErrno()
820 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
822 func callsetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) {
823 r1 = uintptr(C.setgroups(C.int(n), C.uintptr_t(list)))
824 e1 = syscall.GetErrno()
828 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
830 func callgetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
831 r1 = uintptr(C.getsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(val), C.uintptr_t(vallen)))
832 e1 = syscall.GetErrno()
836 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
838 func callsetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) {
839 r1 = uintptr(C.setsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(val), C.uintptr_t(vallen)))
840 e1 = syscall.GetErrno()
844 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
846 func callsocket(domain int, typ int, proto int) (r1 uintptr, e1 Errno) {
847 r1 = uintptr(C.socket(C.int(domain), C.int(typ), C.int(proto)))
848 e1 = syscall.GetErrno()
852 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
854 func callsocketpair(domain int, typ int, proto int, fd uintptr) (r1 uintptr, e1 Errno) {
855 r1 = uintptr(C.socketpair(C.int(domain), C.int(typ), C.int(proto), C.uintptr_t(fd)))
856 e1 = syscall.GetErrno()
860 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
862 func callgetpeername(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
863 r1 = uintptr(C.getpeername(C.int(fd), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
864 e1 = syscall.GetErrno()
868 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
870 func callgetsockname(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
871 r1 = uintptr(C.getsockname(C.int(fd), C.uintptr_t(rsa), C.uintptr_t(addrlen)))
872 e1 = syscall.GetErrno()
876 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
878 func callrecvfrom(fd int, _p0 uintptr, _lenp0 int, flags int, from uintptr, fromlen uintptr) (r1 uintptr, e1 Errno) {
879 r1 = uintptr(C.recvfrom(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags), C.uintptr_t(from), C.uintptr_t(fromlen)))
880 e1 = syscall.GetErrno()
884 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
886 func callsendto(s int, _p0 uintptr, _lenp0 int, flags int, to uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) {
887 r1 = uintptr(C.sendto(C.int(s), C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags), C.uintptr_t(to), C.uintptr_t(addrlen)))
888 e1 = syscall.GetErrno()
892 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
894 func callrecvmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
895 r1 = uintptr(C.recvmsg(C.int(s), C.uintptr_t(msg), C.int(flags)))
896 e1 = syscall.GetErrno()
900 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
902 func callsendmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) {
903 r1 = uintptr(C.sendmsg(C.int(s), C.uintptr_t(msg), C.int(flags)))
904 e1 = syscall.GetErrno()
908 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
910 func callmunmap(addr uintptr, length uintptr) (r1 uintptr, e1 Errno) {
911 r1 = uintptr(C.munmap(C.uintptr_t(addr), C.uintptr_t(length)))
912 e1 = syscall.GetErrno()
916 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
918 func callmadvise(_p0 uintptr, _lenp0 int, advice int) (r1 uintptr, e1 Errno) {
919 r1 = uintptr(C.madvise(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(advice)))
920 e1 = syscall.GetErrno()
924 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
926 func callmprotect(_p0 uintptr, _lenp0 int, prot int) (r1 uintptr, e1 Errno) {
927 r1 = uintptr(C.mprotect(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(prot)))
928 e1 = syscall.GetErrno()
932 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
934 func callmlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
935 r1 = uintptr(C.mlock(C.uintptr_t(_p0), C.size_t(_lenp0)))
936 e1 = syscall.GetErrno()
940 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
942 func callmlockall(flags int) (r1 uintptr, e1 Errno) {
943 r1 = uintptr(C.mlockall(C.int(flags)))
944 e1 = syscall.GetErrno()
948 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
950 func callmsync(_p0 uintptr, _lenp0 int, flags int) (r1 uintptr, e1 Errno) {
951 r1 = uintptr(C.msync(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags)))
952 e1 = syscall.GetErrno()
956 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
958 func callmunlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
959 r1 = uintptr(C.munlock(C.uintptr_t(_p0), C.size_t(_lenp0)))
960 e1 = syscall.GetErrno()
964 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
966 func callmunlockall() (r1 uintptr, e1 Errno) {
967 r1 = uintptr(C.munlockall())
968 e1 = syscall.GetErrno()
972 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
974 func callpipe(p uintptr) (r1 uintptr, e1 Errno) {
975 r1 = uintptr(C.pipe(C.uintptr_t(p)))
976 e1 = syscall.GetErrno()
980 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
982 func callpoll(fds uintptr, nfds int, timeout int) (r1 uintptr, e1 Errno) {
983 r1 = uintptr(C.poll(C.uintptr_t(fds), C.int(nfds), C.int(timeout)))
984 e1 = syscall.GetErrno()
988 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
990 func callgettimeofday(tv uintptr, tzp uintptr) (r1 uintptr, e1 Errno) {
991 r1 = uintptr(C.gettimeofday(C.uintptr_t(tv), C.uintptr_t(tzp)))
992 e1 = syscall.GetErrno()
996 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
998 func calltime(t uintptr) (r1 uintptr, e1 Errno) {
999 r1 = uintptr(C.time(C.uintptr_t(t)))
1000 e1 = syscall.GetErrno()
1004 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1006 func callutime(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) {
1007 r1 = uintptr(C.utime(C.uintptr_t(_p0), C.uintptr_t(buf)))
1008 e1 = syscall.GetErrno()
1012 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1014 func callgetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
1015 r1 = uintptr(C.getrlimit(C.int(resource), C.uintptr_t(rlim)))
1016 e1 = syscall.GetErrno()
1020 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1022 func callsetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) {
1023 r1 = uintptr(C.setrlimit(C.int(resource), C.uintptr_t(rlim)))
1024 e1 = syscall.GetErrno()
1028 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1030 func calllseek(fd int, offset int64, whence int) (r1 uintptr, e1 Errno) {
1031 r1 = uintptr(C.lseek(C.int(fd), C.longlong(offset), C.int(whence)))
1032 e1 = syscall.GetErrno()
1036 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
1038 func callmmap64(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (r1 uintptr, e1 Errno) {
1039 r1 = uintptr(C.mmap64(C.uintptr_t(addr), C.uintptr_t(length), C.int(prot), C.int(flags), C.int(fd), C.longlong(offset)))
1040 e1 = syscall.GetErrno()