]>
Commit | Line | Data |
---|---|---|
1 | // go run mksyscall_aix_ppc64.go -aix -tags aix,ppc64 syscall_aix.go syscall_aix_ppc64.go | |
2 | // Code generated by the command above; see README.md. DO NOT EDIT. | |
3 | ||
4 | // +build aix,ppc64 | |
5 | // +build gccgo | |
6 | ||
7 | package unix | |
8 | ||
9 | /* | |
10 | #include <stdint.h> | |
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); | |
19 | int acct(uintptr_t); | |
20 | int chdir(uintptr_t); | |
21 | int chroot(uintptr_t); | |
22 | int close(int); | |
23 | int dup(int); | |
24 | void exit(int); | |
25 | int faccessat(int, uintptr_t, unsigned int, int); | |
26 | int fchdir(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); | |
30 | int fdatasync(int); | |
31 | int fsync(int); | |
32 | int getpgid(int); | |
33 | int getpgrp(); | |
34 | int getpid(); | |
35 | int getppid(); | |
36 | int getpriority(int, int); | |
37 | int getrusage(int, uintptr_t); | |
38 | int getsid(int); | |
39 | int kill(int, int); | |
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); | |
55 | int setsid(); | |
56 | int settimeofday(uintptr_t); | |
57 | int setuid(int); | |
58 | int setgid(int); | |
59 | int setpriority(int, int, int); | |
60 | int statx(int, uintptr_t, int, int, uintptr_t); | |
61 | int sync(); | |
62 | uintptr_t times(uintptr_t); | |
63 | int umask(int); | |
64 | int uname(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); | |
69 | int dup2(int, int); | |
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); | |
76 | int getegid(); | |
77 | int geteuid(); | |
78 | int getgid(); | |
79 | int getuid(); | |
80 | int lchown(uintptr_t, int, int); | |
81 | int listen(int, int); | |
82 | int lstat(uintptr_t, uintptr_t); | |
83 | int pause(); | |
84 | int pread64(int, uintptr_t, size_t, long long); | |
85 | int pwrite64(int, uintptr_t, size_t, long long); | |
86 | #define c_select select | |
87 | int select(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t); | |
88 | int pselect(int, uintptr_t, uintptr_t, uintptr_t, uintptr_t, uintptr_t); | |
89 | int setregid(int, int); | |
90 | int setreuid(int, int); | |
91 | int shutdown(int, int); | |
92 | long long splice(int, uintptr_t, int, uintptr_t, int, int); | |
93 | int stat(uintptr_t, uintptr_t); | |
94 | int statfs(uintptr_t, uintptr_t); | |
95 | int truncate(uintptr_t, long long); | |
96 | int bind(int, uintptr_t, uintptr_t); | |
97 | int connect(int, uintptr_t, uintptr_t); | |
98 | int getgroups(int, uintptr_t); | |
99 | int setgroups(int, uintptr_t); | |
100 | int getsockopt(int, int, int, uintptr_t, uintptr_t); | |
101 | int setsockopt(int, int, int, uintptr_t, uintptr_t); | |
102 | int socket(int, int, int); | |
103 | int socketpair(int, int, int, uintptr_t); | |
104 | int getpeername(int, uintptr_t, uintptr_t); | |
105 | int getsockname(int, uintptr_t, uintptr_t); | |
106 | int recvfrom(int, uintptr_t, size_t, int, uintptr_t, uintptr_t); | |
107 | int sendto(int, uintptr_t, size_t, int, uintptr_t, uintptr_t); | |
108 | int nrecvmsg(int, uintptr_t, int); | |
109 | int nsendmsg(int, uintptr_t, int); | |
110 | int munmap(uintptr_t, uintptr_t); | |
111 | int madvise(uintptr_t, size_t, int); | |
112 | int mprotect(uintptr_t, size_t, int); | |
113 | int mlock(uintptr_t, size_t); | |
114 | int mlockall(int); | |
115 | int msync(uintptr_t, size_t, int); | |
116 | int munlock(uintptr_t, size_t); | |
117 | int munlockall(); | |
118 | int pipe(uintptr_t); | |
119 | int poll(uintptr_t, int, int); | |
120 | int gettimeofday(uintptr_t, uintptr_t); | |
121 | int time(uintptr_t); | |
122 | int utime(uintptr_t, uintptr_t); | |
123 | unsigned long long getsystemcfg(int); | |
124 | int umount(uintptr_t); | |
125 | int getrlimit(int, uintptr_t); | |
126 | int setrlimit(int, uintptr_t); | |
127 | long long lseek(int, long long, int); | |
128 | uintptr_t mmap64(uintptr_t, uintptr_t, int, int, int, long long); | |
129 | ||
130 | */ | |
131 | import "C" | |
132 | import ( | |
133 | "syscall" | |
134 | ) | |
135 | ||
136 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
137 | ||
138 | func callutimes(_p0 uintptr, times uintptr) (r1 uintptr, e1 Errno) { | |
139 | r1 = uintptr(C.utimes(C.uintptr_t(_p0), C.uintptr_t(times))) | |
140 | e1 = syscall.GetErrno() | |
141 | return | |
142 | } | |
143 | ||
144 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
145 | ||
146 | func callutimensat(dirfd int, _p0 uintptr, times uintptr, flag int) (r1 uintptr, e1 Errno) { | |
147 | r1 = uintptr(C.utimensat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(times), C.int(flag))) | |
148 | e1 = syscall.GetErrno() | |
149 | return | |
150 | } | |
151 | ||
152 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
153 | ||
154 | func callgetcwd(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) { | |
155 | r1 = uintptr(C.getcwd(C.uintptr_t(_p0), C.size_t(_lenp0))) | |
156 | e1 = syscall.GetErrno() | |
157 | return | |
158 | } | |
159 | ||
160 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
161 | ||
162 | func callaccept(s int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) { | |
163 | r1 = uintptr(C.accept(C.int(s), C.uintptr_t(rsa), C.uintptr_t(addrlen))) | |
164 | e1 = syscall.GetErrno() | |
165 | return | |
166 | } | |
167 | ||
168 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
169 | ||
170 | func callgetdirent(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) { | |
171 | r1 = uintptr(C.getdirent(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0))) | |
172 | e1 = syscall.GetErrno() | |
173 | return | |
174 | } | |
175 | ||
176 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
177 | ||
178 | func callwait4(pid int, status uintptr, options int, rusage uintptr) (r1 uintptr, e1 Errno) { | |
179 | r1 = uintptr(C.wait4(C.int(pid), C.uintptr_t(status), C.int(options), C.uintptr_t(rusage))) | |
180 | e1 = syscall.GetErrno() | |
181 | return | |
182 | } | |
183 | ||
184 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
185 | ||
186 | func callioctl(fd int, req int, arg uintptr) (r1 uintptr, e1 Errno) { | |
187 | r1 = uintptr(C.ioctl(C.int(fd), C.int(req), C.uintptr_t(arg))) | |
188 | e1 = syscall.GetErrno() | |
189 | return | |
190 | } | |
191 | ||
192 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
193 | ||
194 | func callfcntl(fd uintptr, cmd int, arg uintptr) (r1 uintptr, e1 Errno) { | |
195 | r1 = uintptr(C.fcntl(C.uintptr_t(fd), C.int(cmd), C.uintptr_t(arg))) | |
196 | e1 = syscall.GetErrno() | |
197 | return | |
198 | } | |
199 | ||
200 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
201 | ||
202 | func callacct(_p0 uintptr) (r1 uintptr, e1 Errno) { | |
203 | r1 = uintptr(C.acct(C.uintptr_t(_p0))) | |
204 | e1 = syscall.GetErrno() | |
205 | return | |
206 | } | |
207 | ||
208 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
209 | ||
210 | func callchdir(_p0 uintptr) (r1 uintptr, e1 Errno) { | |
211 | r1 = uintptr(C.chdir(C.uintptr_t(_p0))) | |
212 | e1 = syscall.GetErrno() | |
213 | return | |
214 | } | |
215 | ||
216 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
217 | ||
218 | func callchroot(_p0 uintptr) (r1 uintptr, e1 Errno) { | |
219 | r1 = uintptr(C.chroot(C.uintptr_t(_p0))) | |
220 | e1 = syscall.GetErrno() | |
221 | return | |
222 | } | |
223 | ||
224 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
225 | ||
226 | func callclose(fd int) (r1 uintptr, e1 Errno) { | |
227 | r1 = uintptr(C.close(C.int(fd))) | |
228 | e1 = syscall.GetErrno() | |
229 | return | |
230 | } | |
231 | ||
232 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
233 | ||
234 | func calldup(oldfd int) (r1 uintptr, e1 Errno) { | |
235 | r1 = uintptr(C.dup(C.int(oldfd))) | |
236 | e1 = syscall.GetErrno() | |
237 | return | |
238 | } | |
239 | ||
240 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
241 | ||
242 | func callexit(code int) (r1 uintptr, e1 Errno) { | |
243 | r1 = uintptr(C.exit(C.int(code))) | |
244 | e1 = syscall.GetErrno() | |
245 | return | |
246 | } | |
247 | ||
248 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
249 | ||
250 | func callfaccessat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) { | |
251 | r1 = uintptr(C.faccessat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags))) | |
252 | e1 = syscall.GetErrno() | |
253 | return | |
254 | } | |
255 | ||
256 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
257 | ||
258 | func callfchdir(fd int) (r1 uintptr, e1 Errno) { | |
259 | r1 = uintptr(C.fchdir(C.int(fd))) | |
260 | e1 = syscall.GetErrno() | |
261 | return | |
262 | } | |
263 | ||
264 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
265 | ||
266 | func callfchmod(fd int, mode uint32) (r1 uintptr, e1 Errno) { | |
267 | r1 = uintptr(C.fchmod(C.int(fd), C.uint(mode))) | |
268 | e1 = syscall.GetErrno() | |
269 | return | |
270 | } | |
271 | ||
272 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
273 | ||
274 | func callfchmodat(dirfd int, _p0 uintptr, mode uint32, flags int) (r1 uintptr, e1 Errno) { | |
275 | r1 = uintptr(C.fchmodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(flags))) | |
276 | e1 = syscall.GetErrno() | |
277 | return | |
278 | } | |
279 | ||
280 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
281 | ||
282 | func callfchownat(dirfd int, _p0 uintptr, uid int, gid int, flags int) (r1 uintptr, e1 Errno) { | |
283 | r1 = uintptr(C.fchownat(C.int(dirfd), C.uintptr_t(_p0), C.int(uid), C.int(gid), C.int(flags))) | |
284 | e1 = syscall.GetErrno() | |
285 | return | |
286 | } | |
287 | ||
288 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
289 | ||
290 | func callfdatasync(fd int) (r1 uintptr, e1 Errno) { | |
291 | r1 = uintptr(C.fdatasync(C.int(fd))) | |
292 | e1 = syscall.GetErrno() | |
293 | return | |
294 | } | |
295 | ||
296 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
297 | ||
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) { | |
307 | r1 = uintptr(C.getpgid(C.int(pid))) | |
308 | e1 = syscall.GetErrno() | |
309 | return | |
310 | } | |
311 | ||
312 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
313 | ||
314 | func callgetpgrp() (r1 uintptr, e1 Errno) { | |
315 | r1 = uintptr(C.getpgrp()) | |
316 | e1 = syscall.GetErrno() | |
317 | return | |
318 | } | |
319 | ||
320 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
321 | ||
322 | func callgetpid() (r1 uintptr, e1 Errno) { | |
323 | r1 = uintptr(C.getpid()) | |
324 | e1 = syscall.GetErrno() | |
325 | return | |
326 | } | |
327 | ||
328 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
329 | ||
330 | func callgetppid() (r1 uintptr, e1 Errno) { | |
331 | r1 = uintptr(C.getppid()) | |
332 | e1 = syscall.GetErrno() | |
333 | return | |
334 | } | |
335 | ||
336 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
337 | ||
338 | func callgetpriority(which int, who int) (r1 uintptr, e1 Errno) { | |
339 | r1 = uintptr(C.getpriority(C.int(which), C.int(who))) | |
340 | e1 = syscall.GetErrno() | |
341 | return | |
342 | } | |
343 | ||
344 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
345 | ||
346 | func callgetrusage(who int, rusage uintptr) (r1 uintptr, e1 Errno) { | |
347 | r1 = uintptr(C.getrusage(C.int(who), C.uintptr_t(rusage))) | |
348 | e1 = syscall.GetErrno() | |
349 | return | |
350 | } | |
351 | ||
352 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
353 | ||
354 | func callgetsid(pid int) (r1 uintptr, e1 Errno) { | |
355 | r1 = uintptr(C.getsid(C.int(pid))) | |
356 | e1 = syscall.GetErrno() | |
357 | return | |
358 | } | |
359 | ||
360 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
361 | ||
362 | func callkill(pid int, sig int) (r1 uintptr, e1 Errno) { | |
363 | r1 = uintptr(C.kill(C.int(pid), C.int(sig))) | |
364 | e1 = syscall.GetErrno() | |
365 | return | |
366 | } | |
367 | ||
368 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
369 | ||
370 | func callsyslog(typ int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) { | |
371 | r1 = uintptr(C.syslog(C.int(typ), C.uintptr_t(_p0), C.size_t(_lenp0))) | |
372 | e1 = syscall.GetErrno() | |
373 | return | |
374 | } | |
375 | ||
376 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
377 | ||
378 | func callmkdir(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) { | |
379 | r1 = uintptr(C.mkdir(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode))) | |
380 | e1 = syscall.GetErrno() | |
381 | return | |
382 | } | |
383 | ||
384 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
385 | ||
386 | func callmkdirat(dirfd int, _p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) { | |
387 | r1 = uintptr(C.mkdirat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode))) | |
388 | e1 = syscall.GetErrno() | |
389 | return | |
390 | } | |
391 | ||
392 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
393 | ||
394 | func callmkfifo(_p0 uintptr, mode uint32) (r1 uintptr, e1 Errno) { | |
395 | r1 = uintptr(C.mkfifo(C.uintptr_t(_p0), C.uint(mode))) | |
396 | e1 = syscall.GetErrno() | |
397 | return | |
398 | } | |
399 | ||
400 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
401 | ||
402 | func callmknod(_p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) { | |
403 | r1 = uintptr(C.mknod(C.uintptr_t(_p0), C.uint(mode), C.int(dev))) | |
404 | e1 = syscall.GetErrno() | |
405 | return | |
406 | } | |
407 | ||
408 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
409 | ||
410 | func callmknodat(dirfd int, _p0 uintptr, mode uint32, dev int) (r1 uintptr, e1 Errno) { | |
411 | r1 = uintptr(C.mknodat(C.int(dirfd), C.uintptr_t(_p0), C.uint(mode), C.int(dev))) | |
412 | e1 = syscall.GetErrno() | |
413 | return | |
414 | } | |
415 | ||
416 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
417 | ||
418 | func callnanosleep(time uintptr, leftover uintptr) (r1 uintptr, e1 Errno) { | |
419 | r1 = uintptr(C.nanosleep(C.uintptr_t(time), C.uintptr_t(leftover))) | |
420 | e1 = syscall.GetErrno() | |
421 | return | |
422 | } | |
423 | ||
424 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
425 | ||
426 | func callopen64(_p0 uintptr, mode int, perm uint32) (r1 uintptr, e1 Errno) { | |
427 | r1 = uintptr(C.open64(C.uintptr_t(_p0), C.int(mode), C.uint(perm))) | |
428 | e1 = syscall.GetErrno() | |
429 | return | |
430 | } | |
431 | ||
432 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
433 | ||
434 | func callopenat(dirfd int, _p0 uintptr, flags int, mode uint32) (r1 uintptr, e1 Errno) { | |
435 | r1 = uintptr(C.openat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.uint(mode))) | |
436 | e1 = syscall.GetErrno() | |
437 | return | |
438 | } | |
439 | ||
440 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
441 | ||
442 | func callread(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) { | |
443 | r1 = uintptr(C.read(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0))) | |
444 | e1 = syscall.GetErrno() | |
445 | return | |
446 | } | |
447 | ||
448 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
449 | ||
450 | func callreadlink(_p0 uintptr, _p1 uintptr, _lenp1 int) (r1 uintptr, e1 Errno) { | |
451 | r1 = uintptr(C.readlink(C.uintptr_t(_p0), C.uintptr_t(_p1), C.size_t(_lenp1))) | |
452 | e1 = syscall.GetErrno() | |
453 | return | |
454 | } | |
455 | ||
456 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
457 | ||
458 | func callrenameat(olddirfd int, _p0 uintptr, newdirfd int, _p1 uintptr) (r1 uintptr, e1 Errno) { | |
459 | r1 = uintptr(C.renameat(C.int(olddirfd), C.uintptr_t(_p0), C.int(newdirfd), C.uintptr_t(_p1))) | |
460 | e1 = syscall.GetErrno() | |
461 | return | |
462 | } | |
463 | ||
464 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
465 | ||
466 | func callsetdomainname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) { | |
467 | r1 = uintptr(C.setdomainname(C.uintptr_t(_p0), C.size_t(_lenp0))) | |
468 | e1 = syscall.GetErrno() | |
469 | return | |
470 | } | |
471 | ||
472 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
473 | ||
474 | func callsethostname(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) { | |
475 | r1 = uintptr(C.sethostname(C.uintptr_t(_p0), C.size_t(_lenp0))) | |
476 | e1 = syscall.GetErrno() | |
477 | return | |
478 | } | |
479 | ||
480 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
481 | ||
482 | func callsetpgid(pid int, pgid int) (r1 uintptr, e1 Errno) { | |
483 | r1 = uintptr(C.setpgid(C.int(pid), C.int(pgid))) | |
484 | e1 = syscall.GetErrno() | |
485 | return | |
486 | } | |
487 | ||
488 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
489 | ||
490 | func callsetsid() (r1 uintptr, e1 Errno) { | |
491 | r1 = uintptr(C.setsid()) | |
492 | e1 = syscall.GetErrno() | |
493 | return | |
494 | } | |
495 | ||
496 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
497 | ||
498 | func callsettimeofday(tv uintptr) (r1 uintptr, e1 Errno) { | |
499 | r1 = uintptr(C.settimeofday(C.uintptr_t(tv))) | |
500 | e1 = syscall.GetErrno() | |
501 | return | |
502 | } | |
503 | ||
504 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
505 | ||
506 | func callsetuid(uid int) (r1 uintptr, e1 Errno) { | |
507 | r1 = uintptr(C.setuid(C.int(uid))) | |
508 | e1 = syscall.GetErrno() | |
509 | return | |
510 | } | |
511 | ||
512 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
513 | ||
514 | func callsetgid(uid int) (r1 uintptr, e1 Errno) { | |
515 | r1 = uintptr(C.setgid(C.int(uid))) | |
516 | e1 = syscall.GetErrno() | |
517 | return | |
518 | } | |
519 | ||
520 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
521 | ||
522 | func callsetpriority(which int, who int, prio int) (r1 uintptr, e1 Errno) { | |
523 | r1 = uintptr(C.setpriority(C.int(which), C.int(who), C.int(prio))) | |
524 | e1 = syscall.GetErrno() | |
525 | return | |
526 | } | |
527 | ||
528 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
529 | ||
530 | func callstatx(dirfd int, _p0 uintptr, flags int, mask int, stat uintptr) (r1 uintptr, e1 Errno) { | |
531 | r1 = uintptr(C.statx(C.int(dirfd), C.uintptr_t(_p0), C.int(flags), C.int(mask), C.uintptr_t(stat))) | |
532 | e1 = syscall.GetErrno() | |
533 | return | |
534 | } | |
535 | ||
536 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
537 | ||
538 | func callsync() (r1 uintptr, e1 Errno) { | |
539 | r1 = uintptr(C.sync()) | |
540 | e1 = syscall.GetErrno() | |
541 | return | |
542 | } | |
543 | ||
544 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
545 | ||
546 | func calltimes(tms uintptr) (r1 uintptr, e1 Errno) { | |
547 | r1 = uintptr(C.times(C.uintptr_t(tms))) | |
548 | e1 = syscall.GetErrno() | |
549 | return | |
550 | } | |
551 | ||
552 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
553 | ||
554 | func callumask(mask int) (r1 uintptr, e1 Errno) { | |
555 | r1 = uintptr(C.umask(C.int(mask))) | |
556 | e1 = syscall.GetErrno() | |
557 | return | |
558 | } | |
559 | ||
560 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
561 | ||
562 | func calluname(buf uintptr) (r1 uintptr, e1 Errno) { | |
563 | r1 = uintptr(C.uname(C.uintptr_t(buf))) | |
564 | e1 = syscall.GetErrno() | |
565 | return | |
566 | } | |
567 | ||
568 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
569 | ||
570 | func callunlink(_p0 uintptr) (r1 uintptr, e1 Errno) { | |
571 | r1 = uintptr(C.unlink(C.uintptr_t(_p0))) | |
572 | e1 = syscall.GetErrno() | |
573 | return | |
574 | } | |
575 | ||
576 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
577 | ||
578 | func callunlinkat(dirfd int, _p0 uintptr, flags int) (r1 uintptr, e1 Errno) { | |
579 | r1 = uintptr(C.unlinkat(C.int(dirfd), C.uintptr_t(_p0), C.int(flags))) | |
580 | e1 = syscall.GetErrno() | |
581 | return | |
582 | } | |
583 | ||
584 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
585 | ||
586 | func callustat(dev int, ubuf uintptr) (r1 uintptr, e1 Errno) { | |
587 | r1 = uintptr(C.ustat(C.int(dev), C.uintptr_t(ubuf))) | |
588 | e1 = syscall.GetErrno() | |
589 | return | |
590 | } | |
591 | ||
592 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
593 | ||
594 | func callwrite(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) { | |
595 | r1 = uintptr(C.write(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0))) | |
596 | e1 = syscall.GetErrno() | |
597 | return | |
598 | } | |
599 | ||
600 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
601 | ||
602 | func calldup2(oldfd int, newfd int) (r1 uintptr, e1 Errno) { | |
603 | r1 = uintptr(C.dup2(C.int(oldfd), C.int(newfd))) | |
604 | e1 = syscall.GetErrno() | |
605 | return | |
606 | } | |
607 | ||
608 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
609 | ||
610 | func callposix_fadvise64(fd int, offset int64, length int64, advice int) (r1 uintptr, e1 Errno) { | |
611 | r1 = uintptr(C.posix_fadvise64(C.int(fd), C.longlong(offset), C.longlong(length), C.int(advice))) | |
612 | e1 = syscall.GetErrno() | |
613 | return | |
614 | } | |
615 | ||
616 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
617 | ||
618 | func callfchown(fd int, uid int, gid int) (r1 uintptr, e1 Errno) { | |
619 | r1 = uintptr(C.fchown(C.int(fd), C.int(uid), C.int(gid))) | |
620 | e1 = syscall.GetErrno() | |
621 | return | |
622 | } | |
623 | ||
624 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
625 | ||
626 | func callfstat(fd int, stat uintptr) (r1 uintptr, e1 Errno) { | |
627 | r1 = uintptr(C.fstat(C.int(fd), C.uintptr_t(stat))) | |
628 | e1 = syscall.GetErrno() | |
629 | return | |
630 | } | |
631 | ||
632 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
633 | ||
634 | func callfstatat(dirfd int, _p0 uintptr, stat uintptr, flags int) (r1 uintptr, e1 Errno) { | |
635 | r1 = uintptr(C.fstatat(C.int(dirfd), C.uintptr_t(_p0), C.uintptr_t(stat), C.int(flags))) | |
636 | e1 = syscall.GetErrno() | |
637 | return | |
638 | } | |
639 | ||
640 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
641 | ||
642 | func callfstatfs(fd int, buf uintptr) (r1 uintptr, e1 Errno) { | |
643 | r1 = uintptr(C.fstatfs(C.int(fd), C.uintptr_t(buf))) | |
644 | e1 = syscall.GetErrno() | |
645 | return | |
646 | } | |
647 | ||
648 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
649 | ||
650 | func callftruncate(fd int, length int64) (r1 uintptr, e1 Errno) { | |
651 | r1 = uintptr(C.ftruncate(C.int(fd), C.longlong(length))) | |
652 | e1 = syscall.GetErrno() | |
653 | return | |
654 | } | |
655 | ||
656 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
657 | ||
658 | func callgetegid() (r1 uintptr, e1 Errno) { | |
659 | r1 = uintptr(C.getegid()) | |
660 | e1 = syscall.GetErrno() | |
661 | return | |
662 | } | |
663 | ||
664 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
665 | ||
666 | func callgeteuid() (r1 uintptr, e1 Errno) { | |
667 | r1 = uintptr(C.geteuid()) | |
668 | e1 = syscall.GetErrno() | |
669 | return | |
670 | } | |
671 | ||
672 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
673 | ||
674 | func callgetgid() (r1 uintptr, e1 Errno) { | |
675 | r1 = uintptr(C.getgid()) | |
676 | e1 = syscall.GetErrno() | |
677 | return | |
678 | } | |
679 | ||
680 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
681 | ||
682 | func callgetuid() (r1 uintptr, e1 Errno) { | |
683 | r1 = uintptr(C.getuid()) | |
684 | e1 = syscall.GetErrno() | |
685 | return | |
686 | } | |
687 | ||
688 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
689 | ||
690 | func calllchown(_p0 uintptr, uid int, gid int) (r1 uintptr, e1 Errno) { | |
691 | r1 = uintptr(C.lchown(C.uintptr_t(_p0), C.int(uid), C.int(gid))) | |
692 | e1 = syscall.GetErrno() | |
693 | return | |
694 | } | |
695 | ||
696 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
697 | ||
698 | func calllisten(s int, n int) (r1 uintptr, e1 Errno) { | |
699 | r1 = uintptr(C.listen(C.int(s), C.int(n))) | |
700 | e1 = syscall.GetErrno() | |
701 | return | |
702 | } | |
703 | ||
704 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
705 | ||
706 | func calllstat(_p0 uintptr, stat uintptr) (r1 uintptr, e1 Errno) { | |
707 | r1 = uintptr(C.lstat(C.uintptr_t(_p0), C.uintptr_t(stat))) | |
708 | e1 = syscall.GetErrno() | |
709 | return | |
710 | } | |
711 | ||
712 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
713 | ||
714 | func callpause() (r1 uintptr, e1 Errno) { | |
715 | r1 = uintptr(C.pause()) | |
716 | e1 = syscall.GetErrno() | |
717 | return | |
718 | } | |
719 | ||
720 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
721 | ||
722 | func callpread64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) { | |
723 | r1 = uintptr(C.pread64(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.longlong(offset))) | |
724 | e1 = syscall.GetErrno() | |
725 | return | |
726 | } | |
727 | ||
728 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
729 | ||
730 | func callpwrite64(fd int, _p0 uintptr, _lenp0 int, offset int64) (r1 uintptr, e1 Errno) { | |
731 | r1 = uintptr(C.pwrite64(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0), C.longlong(offset))) | |
732 | e1 = syscall.GetErrno() | |
733 | return | |
734 | } | |
735 | ||
736 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
737 | ||
738 | func callselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr) (r1 uintptr, e1 Errno) { | |
739 | r1 = uintptr(C.c_select(C.int(nfd), C.uintptr_t(r), C.uintptr_t(w), C.uintptr_t(e), C.uintptr_t(timeout))) | |
740 | e1 = syscall.GetErrno() | |
741 | return | |
742 | } | |
743 | ||
744 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
745 | ||
746 | func callpselect(nfd int, r uintptr, w uintptr, e uintptr, timeout uintptr, sigmask uintptr) (r1 uintptr, e1 Errno) { | |
747 | 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))) | |
748 | e1 = syscall.GetErrno() | |
749 | return | |
750 | } | |
751 | ||
752 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
753 | ||
754 | func callsetregid(rgid int, egid int) (r1 uintptr, e1 Errno) { | |
755 | r1 = uintptr(C.setregid(C.int(rgid), C.int(egid))) | |
756 | e1 = syscall.GetErrno() | |
757 | return | |
758 | } | |
759 | ||
760 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
761 | ||
762 | func callsetreuid(ruid int, euid int) (r1 uintptr, e1 Errno) { | |
763 | r1 = uintptr(C.setreuid(C.int(ruid), C.int(euid))) | |
764 | e1 = syscall.GetErrno() | |
765 | return | |
766 | } | |
767 | ||
768 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
769 | ||
770 | func callshutdown(fd int, how int) (r1 uintptr, e1 Errno) { | |
771 | r1 = uintptr(C.shutdown(C.int(fd), C.int(how))) | |
772 | e1 = syscall.GetErrno() | |
773 | return | |
774 | } | |
775 | ||
776 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
777 | ||
778 | func callsplice(rfd int, roff uintptr, wfd int, woff uintptr, len int, flags int) (r1 uintptr, e1 Errno) { | |
779 | r1 = uintptr(C.splice(C.int(rfd), C.uintptr_t(roff), C.int(wfd), C.uintptr_t(woff), C.int(len), C.int(flags))) | |
780 | e1 = syscall.GetErrno() | |
781 | return | |
782 | } | |
783 | ||
784 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
785 | ||
786 | func callstat(_p0 uintptr, stat uintptr) (r1 uintptr, e1 Errno) { | |
787 | r1 = uintptr(C.stat(C.uintptr_t(_p0), C.uintptr_t(stat))) | |
788 | e1 = syscall.GetErrno() | |
789 | return | |
790 | } | |
791 | ||
792 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
793 | ||
794 | func callstatfs(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) { | |
795 | r1 = uintptr(C.statfs(C.uintptr_t(_p0), C.uintptr_t(buf))) | |
796 | e1 = syscall.GetErrno() | |
797 | return | |
798 | } | |
799 | ||
800 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
801 | ||
802 | func calltruncate(_p0 uintptr, length int64) (r1 uintptr, e1 Errno) { | |
803 | r1 = uintptr(C.truncate(C.uintptr_t(_p0), C.longlong(length))) | |
804 | e1 = syscall.GetErrno() | |
805 | return | |
806 | } | |
807 | ||
808 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
809 | ||
810 | func callbind(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) { | |
811 | r1 = uintptr(C.bind(C.int(s), C.uintptr_t(addr), C.uintptr_t(addrlen))) | |
812 | e1 = syscall.GetErrno() | |
813 | return | |
814 | } | |
815 | ||
816 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
817 | ||
818 | func callconnect(s int, addr uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) { | |
819 | r1 = uintptr(C.connect(C.int(s), C.uintptr_t(addr), C.uintptr_t(addrlen))) | |
820 | e1 = syscall.GetErrno() | |
821 | return | |
822 | } | |
823 | ||
824 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
825 | ||
826 | func callgetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) { | |
827 | r1 = uintptr(C.getgroups(C.int(n), C.uintptr_t(list))) | |
828 | e1 = syscall.GetErrno() | |
829 | return | |
830 | } | |
831 | ||
832 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
833 | ||
834 | func callsetgroups(n int, list uintptr) (r1 uintptr, e1 Errno) { | |
835 | r1 = uintptr(C.setgroups(C.int(n), C.uintptr_t(list))) | |
836 | e1 = syscall.GetErrno() | |
837 | return | |
838 | } | |
839 | ||
840 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
841 | ||
842 | func callgetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) { | |
843 | r1 = uintptr(C.getsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(val), C.uintptr_t(vallen))) | |
844 | e1 = syscall.GetErrno() | |
845 | return | |
846 | } | |
847 | ||
848 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
849 | ||
850 | func callsetsockopt(s int, level int, name int, val uintptr, vallen uintptr) (r1 uintptr, e1 Errno) { | |
851 | r1 = uintptr(C.setsockopt(C.int(s), C.int(level), C.int(name), C.uintptr_t(val), C.uintptr_t(vallen))) | |
852 | e1 = syscall.GetErrno() | |
853 | return | |
854 | } | |
855 | ||
856 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
857 | ||
858 | func callsocket(domain int, typ int, proto int) (r1 uintptr, e1 Errno) { | |
859 | r1 = uintptr(C.socket(C.int(domain), C.int(typ), C.int(proto))) | |
860 | e1 = syscall.GetErrno() | |
861 | return | |
862 | } | |
863 | ||
864 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
865 | ||
866 | func callsocketpair(domain int, typ int, proto int, fd uintptr) (r1 uintptr, e1 Errno) { | |
867 | r1 = uintptr(C.socketpair(C.int(domain), C.int(typ), C.int(proto), C.uintptr_t(fd))) | |
868 | e1 = syscall.GetErrno() | |
869 | return | |
870 | } | |
871 | ||
872 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
873 | ||
874 | func callgetpeername(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) { | |
875 | r1 = uintptr(C.getpeername(C.int(fd), C.uintptr_t(rsa), C.uintptr_t(addrlen))) | |
876 | e1 = syscall.GetErrno() | |
877 | return | |
878 | } | |
879 | ||
880 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
881 | ||
882 | func callgetsockname(fd int, rsa uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) { | |
883 | r1 = uintptr(C.getsockname(C.int(fd), C.uintptr_t(rsa), C.uintptr_t(addrlen))) | |
884 | e1 = syscall.GetErrno() | |
885 | return | |
886 | } | |
887 | ||
888 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
889 | ||
890 | func callrecvfrom(fd int, _p0 uintptr, _lenp0 int, flags int, from uintptr, fromlen uintptr) (r1 uintptr, e1 Errno) { | |
891 | 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))) | |
892 | e1 = syscall.GetErrno() | |
893 | return | |
894 | } | |
895 | ||
896 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
897 | ||
898 | func callsendto(s int, _p0 uintptr, _lenp0 int, flags int, to uintptr, addrlen uintptr) (r1 uintptr, e1 Errno) { | |
899 | 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))) | |
900 | e1 = syscall.GetErrno() | |
901 | return | |
902 | } | |
903 | ||
904 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
905 | ||
906 | func callnrecvmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) { | |
907 | r1 = uintptr(C.nrecvmsg(C.int(s), C.uintptr_t(msg), C.int(flags))) | |
908 | e1 = syscall.GetErrno() | |
909 | return | |
910 | } | |
911 | ||
912 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
913 | ||
914 | func callnsendmsg(s int, msg uintptr, flags int) (r1 uintptr, e1 Errno) { | |
915 | r1 = uintptr(C.nsendmsg(C.int(s), C.uintptr_t(msg), C.int(flags))) | |
916 | e1 = syscall.GetErrno() | |
917 | return | |
918 | } | |
919 | ||
920 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
921 | ||
922 | func callmunmap(addr uintptr, length uintptr) (r1 uintptr, e1 Errno) { | |
923 | r1 = uintptr(C.munmap(C.uintptr_t(addr), C.uintptr_t(length))) | |
924 | e1 = syscall.GetErrno() | |
925 | return | |
926 | } | |
927 | ||
928 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
929 | ||
930 | func callmadvise(_p0 uintptr, _lenp0 int, advice int) (r1 uintptr, e1 Errno) { | |
931 | r1 = uintptr(C.madvise(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(advice))) | |
932 | e1 = syscall.GetErrno() | |
933 | return | |
934 | } | |
935 | ||
936 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
937 | ||
938 | func callmprotect(_p0 uintptr, _lenp0 int, prot int) (r1 uintptr, e1 Errno) { | |
939 | r1 = uintptr(C.mprotect(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(prot))) | |
940 | e1 = syscall.GetErrno() | |
941 | return | |
942 | } | |
943 | ||
944 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
945 | ||
946 | func callmlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) { | |
947 | r1 = uintptr(C.mlock(C.uintptr_t(_p0), C.size_t(_lenp0))) | |
948 | e1 = syscall.GetErrno() | |
949 | return | |
950 | } | |
951 | ||
952 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
953 | ||
954 | func callmlockall(flags int) (r1 uintptr, e1 Errno) { | |
955 | r1 = uintptr(C.mlockall(C.int(flags))) | |
956 | e1 = syscall.GetErrno() | |
957 | return | |
958 | } | |
959 | ||
960 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
961 | ||
962 | func callmsync(_p0 uintptr, _lenp0 int, flags int) (r1 uintptr, e1 Errno) { | |
963 | r1 = uintptr(C.msync(C.uintptr_t(_p0), C.size_t(_lenp0), C.int(flags))) | |
964 | e1 = syscall.GetErrno() | |
965 | return | |
966 | } | |
967 | ||
968 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
969 | ||
970 | func callmunlock(_p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) { | |
971 | r1 = uintptr(C.munlock(C.uintptr_t(_p0), C.size_t(_lenp0))) | |
972 | e1 = syscall.GetErrno() | |
973 | return | |
974 | } | |
975 | ||
976 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
977 | ||
978 | func callmunlockall() (r1 uintptr, e1 Errno) { | |
979 | r1 = uintptr(C.munlockall()) | |
980 | e1 = syscall.GetErrno() | |
981 | return | |
982 | } | |
983 | ||
984 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
985 | ||
986 | func callpipe(p uintptr) (r1 uintptr, e1 Errno) { | |
987 | r1 = uintptr(C.pipe(C.uintptr_t(p))) | |
988 | e1 = syscall.GetErrno() | |
989 | return | |
990 | } | |
991 | ||
992 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
993 | ||
994 | func callpoll(fds uintptr, nfds int, timeout int) (r1 uintptr, e1 Errno) { | |
995 | r1 = uintptr(C.poll(C.uintptr_t(fds), C.int(nfds), C.int(timeout))) | |
996 | e1 = syscall.GetErrno() | |
997 | return | |
998 | } | |
999 | ||
1000 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
1001 | ||
1002 | func callgettimeofday(tv uintptr, tzp uintptr) (r1 uintptr, e1 Errno) { | |
1003 | r1 = uintptr(C.gettimeofday(C.uintptr_t(tv), C.uintptr_t(tzp))) | |
1004 | e1 = syscall.GetErrno() | |
1005 | return | |
1006 | } | |
1007 | ||
1008 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
1009 | ||
1010 | func calltime(t uintptr) (r1 uintptr, e1 Errno) { | |
1011 | r1 = uintptr(C.time(C.uintptr_t(t))) | |
1012 | e1 = syscall.GetErrno() | |
1013 | return | |
1014 | } | |
1015 | ||
1016 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
1017 | ||
1018 | func callutime(_p0 uintptr, buf uintptr) (r1 uintptr, e1 Errno) { | |
1019 | r1 = uintptr(C.utime(C.uintptr_t(_p0), C.uintptr_t(buf))) | |
1020 | e1 = syscall.GetErrno() | |
1021 | return | |
1022 | } | |
1023 | ||
1024 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
1025 | ||
1026 | func callgetsystemcfg(label int) (r1 uintptr, e1 Errno) { | |
1027 | r1 = uintptr(C.getsystemcfg(C.int(label))) | |
1028 | e1 = syscall.GetErrno() | |
1029 | return | |
1030 | } | |
1031 | ||
1032 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
1033 | ||
1034 | func callumount(_p0 uintptr) (r1 uintptr, e1 Errno) { | |
1035 | r1 = uintptr(C.umount(C.uintptr_t(_p0))) | |
1036 | e1 = syscall.GetErrno() | |
1037 | return | |
1038 | } | |
1039 | ||
1040 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
1041 | ||
1042 | func callgetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) { | |
1043 | r1 = uintptr(C.getrlimit(C.int(resource), C.uintptr_t(rlim))) | |
1044 | e1 = syscall.GetErrno() | |
1045 | return | |
1046 | } | |
1047 | ||
1048 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
1049 | ||
1050 | func callsetrlimit(resource int, rlim uintptr) (r1 uintptr, e1 Errno) { | |
1051 | r1 = uintptr(C.setrlimit(C.int(resource), C.uintptr_t(rlim))) | |
1052 | e1 = syscall.GetErrno() | |
1053 | return | |
1054 | } | |
1055 | ||
1056 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
1057 | ||
1058 | func calllseek(fd int, offset int64, whence int) (r1 uintptr, e1 Errno) { | |
1059 | r1 = uintptr(C.lseek(C.int(fd), C.longlong(offset), C.int(whence))) | |
1060 | e1 = syscall.GetErrno() | |
1061 | return | |
1062 | } | |
1063 | ||
1064 | // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT | |
1065 | ||
1066 | func callmmap64(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (r1 uintptr, e1 Errno) { | |
1067 | r1 = uintptr(C.mmap64(C.uintptr_t(addr), C.uintptr_t(length), C.int(prot), C.int(flags), C.int(fd), C.longlong(offset))) | |
1068 | e1 = syscall.GetErrno() | |
1069 | return | |
1070 | } |