equal
deleted
inserted
replaced
14 int accept(int, uintptr_t, uintptr_t); |
14 int accept(int, uintptr_t, uintptr_t); |
15 int getdirent(int, uintptr_t, size_t); |
15 int getdirent(int, uintptr_t, size_t); |
16 int wait4(int, uintptr_t, int, uintptr_t); |
16 int wait4(int, uintptr_t, int, uintptr_t); |
17 int ioctl(int, int, uintptr_t); |
17 int ioctl(int, int, uintptr_t); |
18 int fcntl(uintptr_t, int, uintptr_t); |
18 int fcntl(uintptr_t, int, uintptr_t); |
|
19 int fsync_range(int, int, long long, long long); |
19 int acct(uintptr_t); |
20 int acct(uintptr_t); |
20 int chdir(uintptr_t); |
21 int chdir(uintptr_t); |
21 int chroot(uintptr_t); |
22 int chroot(uintptr_t); |
22 int close(int); |
23 int close(int); |
23 int dup(int); |
24 int dup(int); |
26 int fchdir(int); |
27 int fchdir(int); |
27 int fchmod(int, unsigned int); |
28 int fchmod(int, unsigned int); |
28 int fchmodat(int, uintptr_t, unsigned int, int); |
29 int fchmodat(int, uintptr_t, unsigned int, int); |
29 int fchownat(int, uintptr_t, int, int, int); |
30 int fchownat(int, uintptr_t, int, int, int); |
30 int fdatasync(int); |
31 int fdatasync(int); |
31 int fsync(int); |
|
32 int getpgid(int); |
32 int getpgid(int); |
33 int getpgrp(); |
33 int getpgrp(); |
34 int getpid(); |
34 int getpid(); |
35 int getppid(); |
35 int getppid(); |
36 int getpriority(int, int); |
36 int getpriority(int, int); |
197 return |
197 return |
198 } |
198 } |
199 |
199 |
200 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
200 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
201 |
201 |
|
202 func callfsync_range(fd int, how int, start int64, length int64) (r1 uintptr, e1 Errno) { |
|
203 r1 = uintptr(C.fsync_range(C.int(fd), C.int(how), C.longlong(start), C.longlong(length))) |
|
204 e1 = syscall.GetErrno() |
|
205 return |
|
206 } |
|
207 |
|
208 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
|
209 |
202 func callacct(_p0 uintptr) (r1 uintptr, e1 Errno) { |
210 func callacct(_p0 uintptr) (r1 uintptr, e1 Errno) { |
203 r1 = uintptr(C.acct(C.uintptr_t(_p0))) |
211 r1 = uintptr(C.acct(C.uintptr_t(_p0))) |
204 e1 = syscall.GetErrno() |
212 e1 = syscall.GetErrno() |
205 return |
213 return |
206 } |
214 } |
293 return |
301 return |
294 } |
302 } |
295 |
303 |
296 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
304 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
297 |
305 |
298 func callfsync(fd int) (r1 uintptr, e1 Errno) { |
|
299 r1 = uintptr(C.fsync(C.int(fd))) |
|
300 e1 = syscall.GetErrno() |
|
301 return |
|
302 } |
|
303 |
|
304 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT |
|
305 |
|
306 func callgetpgid(pid int) (r1 uintptr, e1 Errno) { |
306 func callgetpgid(pid int) (r1 uintptr, e1 Errno) { |
307 r1 = uintptr(C.getpgid(C.int(pid))) |
307 r1 = uintptr(C.getpgid(C.int(pid))) |
308 e1 = syscall.GetErrno() |
308 e1 = syscall.GetErrno() |
309 return |
309 return |
310 } |
310 } |