1/* $NetBSD: syscall.h,v 1.307 2018/08/10 21:47:16 pgoyette Exp $ */
2
3/*
4 * System call numbers.
5 *
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.293 2018/07/31 13:00:13 rjs Exp
8 */
9
10#ifndef _SYS_SYSCALL_H_
11#define _SYS_SYSCALL_H_
12
13#define SYS_MAXSYSARGS 8
14
15/* syscall: "syscall" ret: "int" args: "int" "..." */
16#define SYS_syscall 0
17
18/* syscall: "exit" ret: "void" args: "int" */
19#define SYS_exit 1
20
21/* syscall: "fork" ret: "int" args: */
22#define SYS_fork 2
23
24/* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */
25#define SYS_read 3
26
27/* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
28#define SYS_write 4
29
30/* syscall: "open" ret: "int" args: "const char *" "int" "..." */
31#define SYS_open 5
32
33/* syscall: "close" ret: "int" args: "int" */
34#define SYS_close 6
35
36/* syscall: "compat_50_wait4" ret: "int" args: "pid_t" "int *" "int" "struct rusage50 *" */
37#define SYS_compat_50_wait4 7
38
39/* syscall: "compat_43_ocreat" ret: "int" args: "const char *" "mode_t" */
40#define SYS_compat_43_ocreat 8
41
42/* syscall: "link" ret: "int" args: "const char *" "const char *" */
43#define SYS_link 9
44
45/* syscall: "unlink" ret: "int" args: "const char *" */
46#define SYS_unlink 10
47
48 /* 11 is obsolete execv */
49/* syscall: "chdir" ret: "int" args: "const char *" */
50#define SYS_chdir 12
51
52/* syscall: "fchdir" ret: "int" args: "int" */
53#define SYS_fchdir 13
54
55/* syscall: "compat_50_mknod" ret: "int" args: "const char *" "mode_t" "uint32_t" */
56#define SYS_compat_50_mknod 14
57
58/* syscall: "chmod" ret: "int" args: "const char *" "mode_t" */
59#define SYS_chmod 15
60
61/* syscall: "chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
62#define SYS_chown 16
63
64/* syscall: "break" ret: "int" args: "char *" */
65#define SYS_break 17
66
67/* syscall: "compat_20_getfsstat" ret: "int" args: "struct statfs12 *" "long" "int" */
68#define SYS_compat_20_getfsstat 18
69
70/* syscall: "compat_43_olseek" ret: "long" args: "int" "long" "int" */
71#define SYS_compat_43_olseek 19
72
73/* syscall: "getpid" ret: "pid_t" args: */
74#define SYS_getpid 20
75
76/* syscall: "compat_40_mount" ret: "int" args: "const char *" "const char *" "int" "void *" */
77#define SYS_compat_40_mount 21
78
79/* syscall: "unmount" ret: "int" args: "const char *" "int" */
80#define SYS_unmount 22
81
82/* syscall: "setuid" ret: "int" args: "uid_t" */
83#define SYS_setuid 23
84
85/* syscall: "getuid" ret: "uid_t" args: */
86#define SYS_getuid 24
87
88/* syscall: "geteuid" ret: "uid_t" args: */
89#define SYS_geteuid 25
90
91/* syscall: "ptrace" ret: "int" args: "int" "pid_t" "void *" "int" */
92#define SYS_ptrace 26
93
94/* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct msghdr *" "int" */
95#define SYS_recvmsg 27
96
97/* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct msghdr *" "int" */
98#define SYS_sendmsg 28
99
100/* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "socklen_t *" */
101#define SYS_recvfrom 29
102
103/* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */
104#define SYS_accept 30
105
106/* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */
107#define SYS_getpeername 31
108
109/* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */
110#define SYS_getsockname 32
111
112/* syscall: "access" ret: "int" args: "const char *" "int" */
113#define SYS_access 33
114
115/* syscall: "chflags" ret: "int" args: "const char *" "u_long" */
116#define SYS_chflags 34
117
118/* syscall: "fchflags" ret: "int" args: "int" "u_long" */
119#define SYS_fchflags 35
120
121/* syscall: "sync" ret: "void" args: */
122#define SYS_sync 36
123
124/* syscall: "kill" ret: "int" args: "pid_t" "int" */
125#define SYS_kill 37
126
127/* syscall: "compat_43_stat43" ret: "int" args: "const char *" "struct stat43 *" */
128#define SYS_compat_43_stat43 38
129
130/* syscall: "getppid" ret: "pid_t" args: */
131#define SYS_getppid 39
132
133/* syscall: "compat_43_lstat43" ret: "int" args: "const char *" "struct stat43 *" */
134#define SYS_compat_43_lstat43 40
135
136/* syscall: "dup" ret: "int" args: "int" */
137#define SYS_dup 41
138
139/* syscall: "pipe" ret: "int" args: */
140#define SYS_pipe 42
141
142/* syscall: "getegid" ret: "gid_t" args: */
143#define SYS_getegid 43
144
145/* syscall: "profil" ret: "int" args: "char *" "size_t" "u_long" "u_int" */
146#define SYS_profil 44
147
148/* syscall: "ktrace" ret: "int" args: "const char *" "int" "int" "pid_t" */
149#define SYS_ktrace 45
150
151/* syscall: "compat_13_sigaction13" ret: "int" args: "int" "const struct sigaction13 *" "struct sigaction13 *" */
152#define SYS_compat_13_sigaction13 46
153
154/* syscall: "getgid" ret: "gid_t" args: */
155#define SYS_getgid 47
156
157/* syscall: "compat_13_sigprocmask13" ret: "int" args: "int" "int" */
158#define SYS_compat_13_sigprocmask13 48
159
160/* syscall: "__getlogin" ret: "int" args: "char *" "size_t" */
161#define SYS___getlogin 49
162
163/* syscall: "__setlogin" ret: "int" args: "const char *" */
164#define SYS___setlogin 50
165
166/* syscall: "acct" ret: "int" args: "const char *" */
167#define SYS_acct 51
168
169/* syscall: "compat_13_sigpending13" ret: "int" args: */
170#define SYS_compat_13_sigpending13 52
171
172/* syscall: "compat_13_sigaltstack13" ret: "int" args: "const struct sigaltstack13 *" "struct sigaltstack13 *" */
173#define SYS_compat_13_sigaltstack13 53
174
175/* syscall: "ioctl" ret: "int" args: "int" "u_long" "..." */
176#define SYS_ioctl 54
177
178/* syscall: "compat_12_oreboot" ret: "int" args: "int" */
179#define SYS_compat_12_oreboot 55
180
181/* syscall: "revoke" ret: "int" args: "const char *" */
182#define SYS_revoke 56
183
184/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
185#define SYS_symlink 57
186
187/* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "size_t" */
188#define SYS_readlink 58
189
190/* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */
191#define SYS_execve 59
192
193/* syscall: "umask" ret: "mode_t" args: "mode_t" */
194#define SYS_umask 60
195
196/* syscall: "chroot" ret: "int" args: "const char *" */
197#define SYS_chroot 61
198
199/* syscall: "compat_43_fstat43" ret: "int" args: "int" "struct stat43 *" */
200#define SYS_compat_43_fstat43 62
201
202/* syscall: "compat_43_ogetkerninfo" ret: "int" args: "int" "char *" "int *" "int" */
203#define SYS_compat_43_ogetkerninfo 63
204
205/* syscall: "compat_43_ogetpagesize" ret: "int" args: */
206#define SYS_compat_43_ogetpagesize 64
207
208/* syscall: "compat_12_msync" ret: "int" args: "void *" "size_t" */
209#define SYS_compat_12_msync 65
210
211/* syscall: "vfork" ret: "int" args: */
212#define SYS_vfork 66
213
214 /* 67 is obsolete vread */
215 /* 68 is obsolete vwrite */
216 /* 69 is obsolete sbrk */
217 /* 70 is obsolete sstk */
218/* syscall: "compat_43_ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */
219#define SYS_compat_43_ommap 71
220
221/* syscall: "vadvise" ret: "int" args: "int" */
222#define SYS_vadvise 72
223
224/* syscall: "munmap" ret: "int" args: "void *" "size_t" */
225#define SYS_munmap 73
226
227/* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */
228#define SYS_mprotect 74
229
230/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
231#define SYS_madvise 75
232
233 /* 76 is obsolete vhangup */
234 /* 77 is obsolete vlimit */
235/* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
236#define SYS_mincore 78
237
238/* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */
239#define SYS_getgroups 79
240
241/* syscall: "setgroups" ret: "int" args: "int" "const gid_t *" */
242#define SYS_setgroups 80
243
244/* syscall: "getpgrp" ret: "int" args: */
245#define SYS_getpgrp 81
246
247/* syscall: "setpgid" ret: "int" args: "pid_t" "pid_t" */
248#define SYS_setpgid 82
249
250/* syscall: "compat_50_setitimer" ret: "int" args: "int" "const struct itimerval50 *" "struct itimerval50 *" */
251#define SYS_compat_50_setitimer 83
252
253/* syscall: "compat_43_owait" ret: "int" args: */
254#define SYS_compat_43_owait 84
255
256/* syscall: "compat_12_oswapon" ret: "int" args: "const char *" */
257#define SYS_compat_12_oswapon 85
258
259/* syscall: "compat_50_getitimer" ret: "int" args: "int" "struct itimerval50 *" */
260#define SYS_compat_50_getitimer 86
261
262/* syscall: "compat_43_ogethostname" ret: "int" args: "char *" "u_int" */
263#define SYS_compat_43_ogethostname 87
264
265/* syscall: "compat_43_osethostname" ret: "int" args: "char *" "u_int" */
266#define SYS_compat_43_osethostname 88
267
268/* syscall: "compat_43_ogetdtablesize" ret: "int" args: */
269#define SYS_compat_43_ogetdtablesize 89
270
271/* syscall: "dup2" ret: "int" args: "int" "int" */
272#define SYS_dup2 90
273
274/* syscall: "fcntl" ret: "int" args: "int" "int" "..." */
275#define SYS_fcntl 92
276
277/* syscall: "compat_50_select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */
278#define SYS_compat_50_select 93
279
280/* syscall: "fsync" ret: "int" args: "int" */
281#define SYS_fsync 95
282
283/* syscall: "setpriority" ret: "int" args: "int" "id_t" "int" */
284#define SYS_setpriority 96
285
286/* syscall: "compat_30_socket" ret: "int" args: "int" "int" "int" */
287#define SYS_compat_30_socket 97
288
289/* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */
290#define SYS_connect 98
291
292/* syscall: "compat_43_oaccept" ret: "int" args: "int" "void *" "socklen_t *" */
293#define SYS_compat_43_oaccept 99
294
295/* syscall: "getpriority" ret: "int" args: "int" "id_t" */
296#define SYS_getpriority 100
297
298/* syscall: "compat_43_osend" ret: "int" args: "int" "void *" "int" "int" */
299#define SYS_compat_43_osend 101
300
301/* syscall: "compat_43_orecv" ret: "int" args: "int" "void *" "int" "int" */
302#define SYS_compat_43_orecv 102
303
304/* syscall: "compat_13_sigreturn13" ret: "int" args: "struct sigcontext13 *" */
305#define SYS_compat_13_sigreturn13 103
306
307/* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */
308#define SYS_bind 104
309
310/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "socklen_t" */
311#define SYS_setsockopt 105
312
313/* syscall: "listen" ret: "int" args: "int" "int" */
314#define SYS_listen 106
315
316 /* 107 is obsolete vtimes */
317/* syscall: "compat_43_osigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
318#define SYS_compat_43_osigvec 108
319
320/* syscall: "compat_43_osigblock" ret: "int" args: "int" */
321#define SYS_compat_43_osigblock 109
322
323/* syscall: "compat_43_osigsetmask" ret: "int" args: "int" */
324#define SYS_compat_43_osigsetmask 110
325
326/* syscall: "compat_13_sigsuspend13" ret: "int" args: "int" */
327#define SYS_compat_13_sigsuspend13 111
328
329/* syscall: "compat_43_osigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
330#define SYS_compat_43_osigstack 112
331
332/* syscall: "compat_43_orecvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */
333#define SYS_compat_43_orecvmsg 113
334
335/* syscall: "compat_43_osendmsg" ret: "int" args: "int" "void *" "int" */
336#define SYS_compat_43_osendmsg 114
337
338 /* 115 is obsolete vtrace */
339/* syscall: "compat_50_gettimeofday" ret: "int" args: "struct timeval50 *" "void *" */
340#define SYS_compat_50_gettimeofday 116
341
342/* syscall: "compat_50_getrusage" ret: "int" args: "int" "struct rusage50 *" */
343#define SYS_compat_50_getrusage 117
344
345/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "socklen_t *" */
346#define SYS_getsockopt 118
347
348 /* 119 is obsolete resuba */
349/* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
350#define SYS_readv 120
351
352/* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
353#define SYS_writev 121
354
355/* syscall: "compat_50_settimeofday" ret: "int" args: "const struct timeval50 *" "const void *" */
356#define SYS_compat_50_settimeofday 122
357
358/* syscall: "fchown" ret: "int" args: "int" "uid_t" "gid_t" */
359#define SYS_fchown 123
360
361/* syscall: "fchmod" ret: "int" args: "int" "mode_t" */
362#define SYS_fchmod 124
363
364/* syscall: "compat_43_orecvfrom" ret: "int" args: "int" "void *" "size_t" "int" "void *" "socklen_t *" */
365#define SYS_compat_43_orecvfrom 125
366
367/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
368#define SYS_setreuid 126
369
370/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
371#define SYS_setregid 127
372
373/* syscall: "rename" ret: "int" args: "const char *" "const char *" */
374#define SYS_rename 128
375
376/* syscall: "compat_43_otruncate" ret: "int" args: "const char *" "long" */
377#define SYS_compat_43_otruncate 129
378
379/* syscall: "compat_43_oftruncate" ret: "int" args: "int" "long" */
380#define SYS_compat_43_oftruncate 130
381
382/* syscall: "flock" ret: "int" args: "int" "int" */
383#define SYS_flock 131
384
385/* syscall: "mkfifo" ret: "int" args: "const char *" "mode_t" */
386#define SYS_mkfifo 132
387
388/* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "socklen_t" */
389#define SYS_sendto 133
390
391/* syscall: "shutdown" ret: "int" args: "int" "int" */
392#define SYS_shutdown 134
393
394/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
395#define SYS_socketpair 135
396
397/* syscall: "mkdir" ret: "int" args: "const char *" "mode_t" */
398#define SYS_mkdir 136
399
400/* syscall: "rmdir" ret: "int" args: "const char *" */
401#define SYS_rmdir 137
402
403/* syscall: "compat_50_utimes" ret: "int" args: "const char *" "const struct timeval50 *" */
404#define SYS_compat_50_utimes 138
405
406 /* 139 is obsolete 4.2 sigreturn */
407/* syscall: "compat_50_adjtime" ret: "int" args: "const struct timeval50 *" "struct timeval50 *" */
408#define SYS_compat_50_adjtime 140
409
410/* syscall: "compat_43_ogetpeername" ret: "int" args: "int" "void *" "socklen_t *" */
411#define SYS_compat_43_ogetpeername 141
412
413/* syscall: "compat_43_ogethostid" ret: "int32_t" args: */
414#define SYS_compat_43_ogethostid 142
415
416/* syscall: "compat_43_osethostid" ret: "int" args: "int32_t" */
417#define SYS_compat_43_osethostid 143
418
419/* syscall: "compat_43_ogetrlimit" ret: "int" args: "int" "struct orlimit *" */
420#define SYS_compat_43_ogetrlimit 144
421
422/* syscall: "compat_43_osetrlimit" ret: "int" args: "int" "const struct orlimit *" */
423#define SYS_compat_43_osetrlimit 145
424
425/* syscall: "compat_43_okillpg" ret: "int" args: "int" "int" */
426#define SYS_compat_43_okillpg 146
427
428/* syscall: "setsid" ret: "int" args: */
429#define SYS_setsid 147
430
431/* syscall: "compat_50_quotactl" ret: "int" args: "const char *" "int" "int" "void *" */
432#define SYS_compat_50_quotactl 148
433
434/* syscall: "compat_43_oquota" ret: "int" args: */
435#define SYS_compat_43_oquota 149
436
437/* syscall: "compat_43_ogetsockname" ret: "int" args: "int" "void *" "socklen_t *" */
438#define SYS_compat_43_ogetsockname 150
439
440/* syscall: "nfssvc" ret: "int" args: "int" "void *" */
441#define SYS_nfssvc 155
442
443/* syscall: "compat_43_ogetdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
444#define SYS_compat_43_ogetdirentries 156
445
446/* syscall: "compat_20_statfs" ret: "int" args: "const char *" "struct statfs12 *" */
447#define SYS_compat_20_statfs 157
448
449/* syscall: "compat_20_fstatfs" ret: "int" args: "int" "struct statfs12 *" */
450#define SYS_compat_20_fstatfs 158
451
452/* syscall: "compat_30_getfh" ret: "int" args: "const char *" "struct compat_30_fhandle *" */
453#define SYS_compat_30_getfh 161
454
455/* syscall: "compat_09_ogetdomainname" ret: "int" args: "char *" "int" */
456#define SYS_compat_09_ogetdomainname 162
457
458/* syscall: "compat_09_osetdomainname" ret: "int" args: "char *" "int" */
459#define SYS_compat_09_osetdomainname 163
460
461/* syscall: "compat_09_ouname" ret: "int" args: "struct outsname *" */
462#define SYS_compat_09_ouname 164
463
464/* syscall: "sysarch" ret: "int" args: "int" "void *" */
465#define SYS_sysarch 165
466
467#if !defined(_LP64)
468/* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */
469#define SYS_compat_10_osemsys 169
470
471#else
472 /* 169 is excluded 1.0 semsys */
473#endif
474#if !defined(_LP64)
475/* syscall: "compat_10_omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
476#define SYS_compat_10_omsgsys 170
477
478#else
479 /* 170 is excluded 1.0 msgsys */
480#endif
481#if !defined(_LP64)
482/* syscall: "compat_10_oshmsys" ret: "int" args: "int" "int" "int" "int" */
483#define SYS_compat_10_oshmsys 171
484
485#else
486 /* 171 is excluded 1.0 shmsys */
487#endif
488/* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */
489#define SYS_pread 173
490
491/* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */
492#define SYS_pwrite 174
493
494/* syscall: "compat_30_ntp_gettime" ret: "int" args: "struct ntptimeval30 *" */
495#define SYS_compat_30_ntp_gettime 175
496
497#if defined(NTP) || !defined(_KERNEL_OPT)
498/* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */
499#define SYS_ntp_adjtime 176
500
501#else
502 /* 176 is excluded ntp_adjtime */
503#endif
504/* syscall: "setgid" ret: "int" args: "gid_t" */
505#define SYS_setgid 181
506
507/* syscall: "setegid" ret: "int" args: "gid_t" */
508#define SYS_setegid 182
509
510/* syscall: "seteuid" ret: "int" args: "uid_t" */
511#define SYS_seteuid 183
512
513/* syscall: "lfs_bmapv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
514#define SYS_lfs_bmapv 184
515
516/* syscall: "lfs_markv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
517#define SYS_lfs_markv 185
518
519/* syscall: "lfs_segclean" ret: "int" args: "fsid_t *" "u_long" */
520#define SYS_lfs_segclean 186
521
522/* syscall: "compat_50_lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval50 *" */
523#define SYS_compat_50_lfs_segwait 187
524
525/* syscall: "compat_12_stat12" ret: "int" args: "const char *" "struct stat12 *" */
526#define SYS_compat_12_stat12 188
527
528/* syscall: "compat_12_fstat12" ret: "int" args: "int" "struct stat12 *" */
529#define SYS_compat_12_fstat12 189
530
531/* syscall: "compat_12_lstat12" ret: "int" args: "const char *" "struct stat12 *" */
532#define SYS_compat_12_lstat12 190
533
534/* syscall: "pathconf" ret: "long" args: "const char *" "int" */
535#define SYS_pathconf 191
536
537/* syscall: "fpathconf" ret: "long" args: "int" "int" */
538#define SYS_fpathconf 192
539
540/* syscall: "getsockopt2" ret: "int" args: "int" "int" "int" "void *" "socklen_t *" */
541#define SYS_getsockopt2 193
542
543/* syscall: "getrlimit" ret: "int" args: "int" "struct rlimit *" */
544#define SYS_getrlimit 194
545
546/* syscall: "setrlimit" ret: "int" args: "int" "const struct rlimit *" */
547#define SYS_setrlimit 195
548
549/* syscall: "compat_12_getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
550#define SYS_compat_12_getdirentries 196
551
552/* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */
553#define SYS_mmap 197
554
555/* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */
556#define SYS___syscall 198
557
558/* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */
559#define SYS_lseek 199
560
561/* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */
562#define SYS_truncate 200
563
564/* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */
565#define SYS_ftruncate 201
566
567/* syscall: "__sysctl" ret: "int" args: "const int *" "u_int" "void *" "size_t *" "const void *" "size_t" */
568#define SYS___sysctl 202
569
570/* syscall: "mlock" ret: "int" args: "const void *" "size_t" */
571#define SYS_mlock 203
572
573/* syscall: "munlock" ret: "int" args: "const void *" "size_t" */
574#define SYS_munlock 204
575
576/* syscall: "undelete" ret: "int" args: "const char *" */
577#define SYS_undelete 205
578
579/* syscall: "compat_50_futimes" ret: "int" args: "int" "const struct timeval50 *" */
580#define SYS_compat_50_futimes 206
581
582/* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
583#define SYS_getpgid 207
584
585/* syscall: "reboot" ret: "int" args: "int" "char *" */
586#define SYS_reboot 208
587
588/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
589#define SYS_poll 209
590
591/* syscall: "afssys" ret: "int" args: "long" "long" "long" "long" "long" "long" "long" */
592#define SYS_afssys 210
593
594/* syscall: "compat_14___semctl" ret: "int" args: "int" "int" "int" "union __semun *" */
595#define SYS_compat_14___semctl 220
596
597/* syscall: "semget" ret: "int" args: "key_t" "int" "int" */
598#define SYS_semget 221
599
600/* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "size_t" */
601#define SYS_semop 222
602
603/* syscall: "semconfig" ret: "int" args: "int" */
604#define SYS_semconfig 223
605
606/* syscall: "compat_14_msgctl" ret: "int" args: "int" "int" "struct msqid_ds14 *" */
607#define SYS_compat_14_msgctl 224
608
609/* syscall: "msgget" ret: "int" args: "key_t" "int" */
610#define SYS_msgget 225
611
612/* syscall: "msgsnd" ret: "int" args: "int" "const void *" "size_t" "int" */
613#define SYS_msgsnd 226
614
615/* syscall: "msgrcv" ret: "ssize_t" args: "int" "void *" "size_t" "long" "int" */
616#define SYS_msgrcv 227
617
618/* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */
619#define SYS_shmat 228
620
621/* syscall: "compat_14_shmctl" ret: "int" args: "int" "int" "struct shmid_ds14 *" */
622#define SYS_compat_14_shmctl 229
623
624/* syscall: "shmdt" ret: "int" args: "const void *" */
625#define SYS_shmdt 230
626
627/* syscall: "shmget" ret: "int" args: "key_t" "size_t" "int" */
628#define SYS_shmget 231
629
630/* syscall: "compat_50_clock_gettime" ret: "int" args: "clockid_t" "struct timespec50 *" */
631#define SYS_compat_50_clock_gettime 232
632
633/* syscall: "compat_50_clock_settime" ret: "int" args: "clockid_t" "const struct timespec50 *" */
634#define SYS_compat_50_clock_settime 233
635
636/* syscall: "compat_50_clock_getres" ret: "int" args: "clockid_t" "struct timespec50 *" */
637#define SYS_compat_50_clock_getres 234
638
639/* syscall: "timer_create" ret: "int" args: "clockid_t" "struct sigevent *" "timer_t *" */
640#define SYS_timer_create 235
641
642/* syscall: "timer_delete" ret: "int" args: "timer_t" */
643#define SYS_timer_delete 236
644
645/* syscall: "compat_50_timer_settime" ret: "int" args: "timer_t" "int" "const struct itimerspec50 *" "struct itimerspec50 *" */
646#define SYS_compat_50_timer_settime 237
647
648/* syscall: "compat_50_timer_gettime" ret: "int" args: "timer_t" "struct itimerspec50 *" */
649#define SYS_compat_50_timer_gettime 238
650
651/* syscall: "timer_getoverrun" ret: "int" args: "timer_t" */
652#define SYS_timer_getoverrun 239
653
654/* syscall: "compat_50_nanosleep" ret: "int" args: "const struct timespec50 *" "struct timespec50 *" */
655#define SYS_compat_50_nanosleep 240
656
657/* syscall: "fdatasync" ret: "int" args: "int" */
658#define SYS_fdatasync 241
659
660/* syscall: "mlockall" ret: "int" args: "int" */
661#define SYS_mlockall 242
662
663/* syscall: "munlockall" ret: "int" args: */
664#define SYS_munlockall 243
665
666/* syscall: "compat_50___sigtimedwait" ret: "int" args: "const sigset_t *" "siginfo_t *" "struct timespec50 *" */
667#define SYS_compat_50___sigtimedwait 244
668
669/* syscall: "sigqueueinfo" ret: "int" args: "pid_t" "const siginfo_t *" */
670#define SYS_sigqueueinfo 245
671
672/* syscall: "modctl" ret: "int" args: "int" "void *" */
673#define SYS_modctl 246
674
675/* syscall: "_ksem_init" ret: "int" args: "unsigned int" "intptr_t *" */
676#define SYS__ksem_init 247
677
678/* syscall: "_ksem_open" ret: "int" args: "const char *" "int" "mode_t" "unsigned int" "intptr_t *" */
679#define SYS__ksem_open 248
680
681/* syscall: "_ksem_unlink" ret: "int" args: "const char *" */
682#define SYS__ksem_unlink 249
683
684/* syscall: "_ksem_close" ret: "int" args: "intptr_t" */
685#define SYS__ksem_close 250
686
687/* syscall: "_ksem_post" ret: "int" args: "intptr_t" */
688#define SYS__ksem_post 251
689
690/* syscall: "_ksem_wait" ret: "int" args: "intptr_t" */
691#define SYS__ksem_wait 252
692
693/* syscall: "_ksem_trywait" ret: "int" args: "intptr_t" */
694#define SYS__ksem_trywait 253
695
696/* syscall: "_ksem_getvalue" ret: "int" args: "intptr_t" "unsigned int *" */
697#define SYS__ksem_getvalue 254
698
699/* syscall: "_ksem_destroy" ret: "int" args: "intptr_t" */
700#define SYS__ksem_destroy 255
701
702/* syscall: "_ksem_timedwait" ret: "int" args: "intptr_t" "const struct timespec *" */
703#define SYS__ksem_timedwait 256
704
705/* syscall: "mq_open" ret: "mqd_t" args: "const char *" "int" "mode_t" "struct mq_attr *" */
706#define SYS_mq_open 257
707
708/* syscall: "mq_close" ret: "int" args: "mqd_t" */
709#define SYS_mq_close 258
710
711/* syscall: "mq_unlink" ret: "int" args: "const char *" */
712#define SYS_mq_unlink 259
713
714/* syscall: "mq_getattr" ret: "int" args: "mqd_t" "struct mq_attr *" */
715#define SYS_mq_getattr 260
716
717/* syscall: "mq_setattr" ret: "int" args: "mqd_t" "const struct mq_attr *" "struct mq_attr *" */
718#define SYS_mq_setattr 261
719
720/* syscall: "mq_notify" ret: "int" args: "mqd_t" "const struct sigevent *" */
721#define SYS_mq_notify 262
722
723/* syscall: "mq_send" ret: "int" args: "mqd_t" "const char *" "size_t" "unsigned" */
724#define SYS_mq_send 263
725
726/* syscall: "mq_receive" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" */
727#define SYS_mq_receive 264
728
729/* syscall: "compat_50_mq_timedsend" ret: "int" args: "mqd_t" "const char *" "size_t" "unsigned" "const struct timespec50 *" */
730#define SYS_compat_50_mq_timedsend 265
731
732/* syscall: "compat_50_mq_timedreceive" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" "const struct timespec50 *" */
733#define SYS_compat_50_mq_timedreceive 266
734
735/* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
736#define SYS___posix_rename 270
737
738/* syscall: "swapctl" ret: "int" args: "int" "void *" "int" */
739#define SYS_swapctl 271
740
741/* syscall: "compat_30_getdents" ret: "int" args: "int" "char *" "size_t" */
742#define SYS_compat_30_getdents 272
743
744/* syscall: "minherit" ret: "int" args: "void *" "size_t" "int" */
745#define SYS_minherit 273
746
747/* syscall: "lchmod" ret: "int" args: "const char *" "mode_t" */
748#define SYS_lchmod 274
749
750/* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
751#define SYS_lchown 275
752
753/* syscall: "compat_50_lutimes" ret: "int" args: "const char *" "const struct timeval50 *" */
754#define SYS_compat_50_lutimes 276
755
756/* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
757#define SYS___msync13 277
758
759/* syscall: "compat_30___stat13" ret: "int" args: "const char *" "struct stat13 *" */
760#define SYS_compat_30___stat13 278
761
762/* syscall: "compat_30___fstat13" ret: "int" args: "int" "struct stat13 *" */
763#define SYS_compat_30___fstat13 279
764
765/* syscall: "compat_30___lstat13" ret: "int" args: "const char *" "struct stat13 *" */
766#define SYS_compat_30___lstat13 280
767
768/* syscall: "__sigaltstack14" ret: "int" args: "const struct sigaltstack *" "struct sigaltstack *" */
769#define SYS___sigaltstack14 281
770
771/* syscall: "__vfork14" ret: "int" args: */
772#define SYS___vfork14 282
773
774/* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
775#define SYS___posix_chown 283
776
777/* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
778#define SYS___posix_fchown 284
779
780/* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
781#define SYS___posix_lchown 285
782
783/* syscall: "getsid" ret: "pid_t" args: "pid_t" */
784#define SYS_getsid 286
785
786/* syscall: "__clone" ret: "pid_t" args: "int" "void *" */
787#define SYS___clone 287
788
789/* syscall: "fktrace" ret: "int" args: "int" "int" "int" "pid_t" */
790#define SYS_fktrace 288
791
792/* syscall: "preadv" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
793#define SYS_preadv 289
794
795/* syscall: "pwritev" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
796#define SYS_pwritev 290
797
798/* syscall: "compat_16___sigaction14" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" */
799#define SYS_compat_16___sigaction14 291
800
801/* syscall: "__sigpending14" ret: "int" args: "sigset_t *" */
802#define SYS___sigpending14 292
803
804/* syscall: "__sigprocmask14" ret: "int" args: "int" "const sigset_t *" "sigset_t *" */
805#define SYS___sigprocmask14 293
806
807/* syscall: "__sigsuspend14" ret: "int" args: "const sigset_t *" */
808#define SYS___sigsuspend14 294
809
810/* syscall: "compat_16___sigreturn14" ret: "int" args: "struct sigcontext *" */
811#define SYS_compat_16___sigreturn14 295
812
813/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
814#define SYS___getcwd 296
815
816/* syscall: "fchroot" ret: "int" args: "int" */
817#define SYS_fchroot 297
818
819/* syscall: "compat_30_fhopen" ret: "int" args: "const struct compat_30_fhandle *" "int" */
820#define SYS_compat_30_fhopen 298
821
822/* syscall: "compat_30_fhstat" ret: "int" args: "const struct compat_30_fhandle *" "struct stat13 *" */
823#define SYS_compat_30_fhstat 299
824
825/* syscall: "compat_20_fhstatfs" ret: "int" args: "const struct compat_30_fhandle *" "struct statfs12 *" */
826#define SYS_compat_20_fhstatfs 300
827
828/* syscall: "compat_50_____semctl13" ret: "int" args: "int" "int" "int" "..." */
829#define SYS_compat_50_____semctl13 301
830
831/* syscall: "compat_50___msgctl13" ret: "int" args: "int" "int" "struct msqid_ds *" */
832#define SYS_compat_50___msgctl13 302
833
834/* syscall: "compat_50___shmctl13" ret: "int" args: "int" "int" "struct shmid_ds13 *" */
835#define SYS_compat_50___shmctl13 303
836
837/* syscall: "lchflags" ret: "int" args: "const char *" "u_long" */
838#define SYS_lchflags 304
839
840/* syscall: "issetugid" ret: "int" args: */
841#define SYS_issetugid 305
842
843/* syscall: "utrace" ret: "int" args: "const char *" "void *" "size_t" */
844#define SYS_utrace 306
845
846/* syscall: "getcontext" ret: "int" args: "struct __ucontext *" */
847#define SYS_getcontext 307
848
849/* syscall: "setcontext" ret: "int" args: "const struct __ucontext *" */
850#define SYS_setcontext 308
851
852/* syscall: "_lwp_create" ret: "int" args: "const struct __ucontext *" "u_long" "lwpid_t *" */
853#define SYS__lwp_create 309
854
855/* syscall: "_lwp_exit" ret: "int" args: */
856#define SYS__lwp_exit 310
857
858/* syscall: "_lwp_self" ret: "lwpid_t" args: */
859#define SYS__lwp_self 311
860
861/* syscall: "_lwp_wait" ret: "int" args: "lwpid_t" "lwpid_t *" */
862#define SYS__lwp_wait 312
863
864/* syscall: "_lwp_suspend" ret: "int" args: "lwpid_t" */
865#define SYS__lwp_suspend 313
866
867/* syscall: "_lwp_continue" ret: "int" args: "lwpid_t" */
868#define SYS__lwp_continue 314
869
870/* syscall: "_lwp_wakeup" ret: "int" args: "lwpid_t" */
871#define SYS__lwp_wakeup 315
872
873/* syscall: "_lwp_getprivate" ret: "void *" args: */
874#define SYS__lwp_getprivate 316
875
876/* syscall: "_lwp_setprivate" ret: "void" args: "void *" */
877#define SYS__lwp_setprivate 317
878
879/* syscall: "_lwp_kill" ret: "int" args: "lwpid_t" "int" */
880#define SYS__lwp_kill 318
881
882/* syscall: "_lwp_detach" ret: "int" args: "lwpid_t" */
883#define SYS__lwp_detach 319
884
885/* syscall: "compat_50__lwp_park" ret: "int" args: "const struct timespec50 *" "lwpid_t" "const void *" "const void *" */
886#define SYS_compat_50__lwp_park 320
887
888/* syscall: "_lwp_unpark" ret: "int" args: "lwpid_t" "const void *" */
889#define SYS__lwp_unpark 321
890
891/* syscall: "_lwp_unpark_all" ret: "ssize_t" args: "const lwpid_t *" "size_t" "const void *" */
892#define SYS__lwp_unpark_all 322
893
894/* syscall: "_lwp_setname" ret: "int" args: "lwpid_t" "const char *" */
895#define SYS__lwp_setname 323
896
897/* syscall: "_lwp_getname" ret: "int" args: "lwpid_t" "char *" "size_t" */
898#define SYS__lwp_getname 324
899
900/* syscall: "_lwp_ctl" ret: "int" args: "int" "struct lwpctl **" */
901#define SYS__lwp_ctl 325
902
903/* syscall: "compat_60_sa_register" ret: "int" args: "void *" "void **" "int" "ssize_t" */
904#define SYS_compat_60_sa_register 330
905
906/* syscall: "compat_60_sa_stacks" ret: "int" args: "int" "stack_t *" */
907#define SYS_compat_60_sa_stacks 331
908
909/* syscall: "compat_60_sa_enable" ret: "int" args: */
910#define SYS_compat_60_sa_enable 332
911
912/* syscall: "compat_60_sa_setconcurrency" ret: "int" args: "int" */
913#define SYS_compat_60_sa_setconcurrency 333
914
915/* syscall: "compat_60_sa_yield" ret: "int" args: */
916#define SYS_compat_60_sa_yield 334
917
918/* syscall: "compat_60_sa_preempt" ret: "int" args: "int" */
919#define SYS_compat_60_sa_preempt 335
920
921 /* 336 is obsolete sys_sa_unblockyield */
922/* syscall: "__sigaction_sigtramp" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" "const void *" "int" */
923#define SYS___sigaction_sigtramp 340
924
925 /* 341 is obsolete sys_pmc_get_info */
926 /* 342 is obsolete sys_pmc_control */
927/* syscall: "rasctl" ret: "int" args: "void *" "size_t" "int" */
928#define SYS_rasctl 343
929
930/* syscall: "kqueue" ret: "int" args: */
931#define SYS_kqueue 344
932
933/* syscall: "compat_50_kevent" ret: "int" args: "int" "const struct kevent *" "size_t" "struct kevent *" "size_t" "const struct timespec50 *" */
934#define SYS_compat_50_kevent 345
935
936/* syscall: "_sched_setparam" ret: "int" args: "pid_t" "lwpid_t" "int" "const struct sched_param *" */
937#define SYS__sched_setparam 346
938
939/* syscall: "_sched_getparam" ret: "int" args: "pid_t" "lwpid_t" "int *" "struct sched_param *" */
940#define SYS__sched_getparam 347
941
942/* syscall: "_sched_setaffinity" ret: "int" args: "pid_t" "lwpid_t" "size_t" "const cpuset_t *" */
943#define SYS__sched_setaffinity 348
944
945/* syscall: "_sched_getaffinity" ret: "int" args: "pid_t" "lwpid_t" "size_t" "cpuset_t *" */
946#define SYS__sched_getaffinity 349
947
948/* syscall: "sched_yield" ret: "int" args: */
949#define SYS_sched_yield 350
950
951/* syscall: "_sched_protect" ret: "int" args: "int" */
952#define SYS__sched_protect 351
953
954/* syscall: "fsync_range" ret: "int" args: "int" "int" "off_t" "off_t" */
955#define SYS_fsync_range 354
956
957/* syscall: "uuidgen" ret: "int" args: "struct uuid *" "int" */
958#define SYS_uuidgen 355
959
960/* syscall: "getvfsstat" ret: "int" args: "struct statvfs *" "size_t" "int" */
961#define SYS_getvfsstat 356
962
963/* syscall: "statvfs1" ret: "int" args: "const char *" "struct statvfs *" "int" */
964#define SYS_statvfs1 357
965
966/* syscall: "fstatvfs1" ret: "int" args: "int" "struct statvfs *" "int" */
967#define SYS_fstatvfs1 358
968
969/* syscall: "compat_30_fhstatvfs1" ret: "int" args: "const struct compat_30_fhandle *" "struct statvfs *" "int" */
970#define SYS_compat_30_fhstatvfs1 359
971
972/* syscall: "extattrctl" ret: "int" args: "const char *" "int" "const char *" "int" "const char *" */
973#define SYS_extattrctl 360
974
975/* syscall: "extattr_set_file" ret: "int" args: "const char *" "int" "const char *" "const void *" "size_t" */
976#define SYS_extattr_set_file 361
977
978/* syscall: "extattr_get_file" ret: "ssize_t" args: "const char *" "int" "const char *" "void *" "size_t" */
979#define SYS_extattr_get_file 362
980
981/* syscall: "extattr_delete_file" ret: "int" args: "const char *" "int" "const char *" */
982#define SYS_extattr_delete_file 363
983
984/* syscall: "extattr_set_fd" ret: "int" args: "int" "int" "const char *" "const void *" "size_t" */
985#define SYS_extattr_set_fd 364
986
987/* syscall: "extattr_get_fd" ret: "ssize_t" args: "int" "int" "const char *" "void *" "size_t" */
988#define SYS_extattr_get_fd 365
989
990/* syscall: "extattr_delete_fd" ret: "int" args: "int" "int" "const char *" */
991#define SYS_extattr_delete_fd 366
992
993/* syscall: "extattr_set_link" ret: "int" args: "const char *" "int" "const char *" "const void *" "size_t" */
994#define SYS_extattr_set_link 367
995
996/* syscall: "extattr_get_link" ret: "ssize_t" args: "const char *" "int" "const char *" "void *" "size_t" */
997#define SYS_extattr_get_link 368
998
999/* syscall: "extattr_delete_link" ret: "int" args: "const char *" "int" "const char *" */
1000#define SYS_extattr_delete_link 369
1001
1002/* syscall: "extattr_list_fd" ret: "ssize_t" args: "int" "int" "void *" "size_t" */
1003#define SYS_extattr_list_fd 370
1004
1005/* syscall: "extattr_list_file" ret: "ssize_t" args: "const char *" "int" "void *" "size_t" */
1006#define SYS_extattr_list_file 371
1007
1008/* syscall: "extattr_list_link" ret: "ssize_t" args: "const char *" "int" "void *" "size_t" */
1009#define SYS_extattr_list_link 372
1010
1011/* syscall: "compat_50_pselect" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "const struct timespec50 *" "const sigset_t *" */
1012#define SYS_compat_50_pselect 373
1013
1014/* syscall: "compat_50_pollts" ret: "int" args: "struct pollfd *" "u_int" "const struct timespec50 *" "const sigset_t *" */
1015#define SYS_compat_50_pollts 374
1016
1017/* syscall: "setxattr" ret: "int" args: "const char *" "const char *" "const void *" "size_t" "int" */
1018#define SYS_setxattr 375
1019
1020/* syscall: "lsetxattr" ret: "int" args: "const char *" "const char *" "const void *" "size_t" "int" */
1021#define SYS_lsetxattr 376
1022
1023/* syscall: "fsetxattr" ret: "int" args: "int" "const char *" "const void *" "size_t" "int" */
1024#define SYS_fsetxattr 377
1025
1026/* syscall: "getxattr" ret: "int" args: "const char *" "const char *" "void *" "size_t" */
1027#define SYS_getxattr 378
1028
1029/* syscall: "lgetxattr" ret: "int" args: "const char *" "const char *" "void *" "size_t" */
1030#define SYS_lgetxattr 379
1031
1032/* syscall: "fgetxattr" ret: "int" args: "int" "const char *" "void *" "size_t" */
1033#define SYS_fgetxattr 380
1034
1035/* syscall: "listxattr" ret: "int" args: "const char *" "char *" "size_t" */
1036#define SYS_listxattr 381
1037
1038/* syscall: "llistxattr" ret: "int" args: "const char *" "char *" "size_t" */
1039#define SYS_llistxattr 382
1040
1041/* syscall: "flistxattr" ret: "int" args: "int" "char *" "size_t" */
1042#define SYS_flistxattr 383
1043
1044/* syscall: "removexattr" ret: "int" args: "const char *" "const char *" */
1045#define SYS_removexattr 384
1046
1047/* syscall: "lremovexattr" ret: "int" args: "const char *" "const char *" */
1048#define SYS_lremovexattr 385
1049
1050/* syscall: "fremovexattr" ret: "int" args: "int" "const char *" */
1051#define SYS_fremovexattr 386
1052
1053/* syscall: "compat_50___stat30" ret: "int" args: "const char *" "struct stat30 *" */
1054#define SYS_compat_50___stat30 387
1055
1056/* syscall: "compat_50___fstat30" ret: "int" args: "int" "struct stat30 *" */
1057#define SYS_compat_50___fstat30 388
1058
1059/* syscall: "compat_50___lstat30" ret: "int" args: "const char *" "struct stat30 *" */
1060#define SYS_compat_50___lstat30 389
1061
1062/* syscall: "__getdents30" ret: "int" args: "int" "char *" "size_t" */
1063#define SYS___getdents30 390
1064
1065 /* 391 is ignored old posix_fadvise */
1066/* syscall: "compat_30___fhstat30" ret: "int" args: "const struct compat_30_fhandle *" "struct stat30 *" */
1067#define SYS_compat_30___fhstat30 392
1068
1069/* syscall: "compat_50___ntp_gettime30" ret: "int" args: "struct ntptimeval50 *" */
1070#define SYS_compat_50___ntp_gettime30 393
1071
1072/* syscall: "__socket30" ret: "int" args: "int" "int" "int" */
1073#define SYS___socket30 394
1074
1075/* syscall: "__getfh30" ret: "int" args: "const char *" "void *" "size_t *" */
1076#define SYS___getfh30 395
1077
1078/* syscall: "__fhopen40" ret: "int" args: "const void *" "size_t" "int" */
1079#define SYS___fhopen40 396
1080
1081/* syscall: "__fhstatvfs140" ret: "int" args: "const void *" "size_t" "struct statvfs *" "int" */
1082#define SYS___fhstatvfs140 397
1083
1084/* syscall: "compat_50___fhstat40" ret: "int" args: "const void *" "size_t" "struct stat30 *" */
1085#define SYS_compat_50___fhstat40 398
1086
1087/* syscall: "aio_cancel" ret: "int" args: "int" "struct aiocb *" */
1088#define SYS_aio_cancel 399
1089
1090/* syscall: "aio_error" ret: "int" args: "const struct aiocb *" */
1091#define SYS_aio_error 400
1092
1093/* syscall: "aio_fsync" ret: "int" args: "int" "struct aiocb *" */
1094#define SYS_aio_fsync 401
1095
1096/* syscall: "aio_read" ret: "int" args: "struct aiocb *" */
1097#define SYS_aio_read 402
1098
1099/* syscall: "aio_return" ret: "int" args: "struct aiocb *" */
1100#define SYS_aio_return 403
1101
1102/* syscall: "compat_50_aio_suspend" ret: "int" args: "const struct aiocb *const *" "int" "const struct timespec50 *" */
1103#define SYS_compat_50_aio_suspend 404
1104
1105/* syscall: "aio_write" ret: "int" args: "struct aiocb *" */
1106#define SYS_aio_write 405
1107
1108/* syscall: "lio_listio" ret: "int" args: "int" "struct aiocb *const *" "int" "struct sigevent *" */
1109#define SYS_lio_listio 406
1110
1111/* syscall: "__mount50" ret: "int" args: "const char *" "const char *" "int" "void *" "size_t" */
1112#define SYS___mount50 410
1113
1114/* syscall: "mremap" ret: "void *" args: "void *" "size_t" "void *" "size_t" "int" */
1115#define SYS_mremap 411
1116
1117/* syscall: "pset_create" ret: "int" args: "psetid_t *" */
1118#define SYS_pset_create 412
1119
1120/* syscall: "pset_destroy" ret: "int" args: "psetid_t" */
1121#define SYS_pset_destroy 413
1122
1123/* syscall: "pset_assign" ret: "int" args: "psetid_t" "cpuid_t" "psetid_t *" */
1124#define SYS_pset_assign 414
1125
1126/* syscall: "_pset_bind" ret: "int" args: "idtype_t" "id_t" "id_t" "psetid_t" "psetid_t *" */
1127#define SYS__pset_bind 415
1128
1129/* syscall: "__posix_fadvise50" ret: "int" args: "int" "int" "off_t" "off_t" "int" */
1130#define SYS___posix_fadvise50 416
1131
1132/* syscall: "__select50" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
1133#define SYS___select50 417
1134
1135/* syscall: "__gettimeofday50" ret: "int" args: "struct timeval *" "void *" */
1136#define SYS___gettimeofday50 418
1137
1138/* syscall: "__settimeofday50" ret: "int" args: "const struct timeval *" "const void *" */
1139#define SYS___settimeofday50 419
1140
1141/* syscall: "__utimes50" ret: "int" args: "const char *" "const struct timeval *" */
1142#define SYS___utimes50 420
1143
1144/* syscall: "__adjtime50" ret: "int" args: "const struct timeval *" "struct timeval *" */
1145#define SYS___adjtime50 421
1146
1147/* syscall: "__lfs_segwait50" ret: "int" args: "fsid_t *" "struct timeval *" */
1148#define SYS___lfs_segwait50 422
1149
1150/* syscall: "__futimes50" ret: "int" args: "int" "const struct timeval *" */
1151#define SYS___futimes50 423
1152
1153/* syscall: "__lutimes50" ret: "int" args: "const char *" "const struct timeval *" */
1154#define SYS___lutimes50 424
1155
1156/* syscall: "__setitimer50" ret: "int" args: "int" "const struct itimerval *" "struct itimerval *" */
1157#define SYS___setitimer50 425
1158
1159/* syscall: "__getitimer50" ret: "int" args: "int" "struct itimerval *" */
1160#define SYS___getitimer50 426
1161
1162/* syscall: "__clock_gettime50" ret: "int" args: "clockid_t" "struct timespec *" */
1163#define SYS___clock_gettime50 427
1164
1165/* syscall: "__clock_settime50" ret: "int" args: "clockid_t" "const struct timespec *" */
1166#define SYS___clock_settime50 428
1167
1168/* syscall: "__clock_getres50" ret: "int" args: "clockid_t" "struct timespec *" */
1169#define SYS___clock_getres50 429
1170
1171/* syscall: "__nanosleep50" ret: "int" args: "const struct timespec *" "struct timespec *" */
1172#define SYS___nanosleep50 430
1173
1174/* syscall: "____sigtimedwait50" ret: "int" args: "const sigset_t *" "siginfo_t *" "struct timespec *" */
1175#define SYS_____sigtimedwait50 431
1176
1177/* syscall: "__mq_timedsend50" ret: "int" args: "mqd_t" "const char *" "size_t" "unsigned" "const struct timespec *" */
1178#define SYS___mq_timedsend50 432
1179
1180/* syscall: "__mq_timedreceive50" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" "const struct timespec *" */
1181#define SYS___mq_timedreceive50 433
1182
1183/* syscall: "compat_60__lwp_park" ret: "int" args: "const struct timespec *" "lwpid_t" "const void *" "const void *" */
1184#define SYS_compat_60__lwp_park 434
1185
1186/* syscall: "__kevent50" ret: "int" args: "int" "const struct kevent *" "size_t" "struct kevent *" "size_t" "const struct timespec *" */
1187#define SYS___kevent50 435
1188
1189/* syscall: "__pselect50" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "const struct timespec *" "const sigset_t *" */
1190#define SYS___pselect50 436
1191
1192/* syscall: "__pollts50" ret: "int" args: "struct pollfd *" "u_int" "const struct timespec *" "const sigset_t *" */
1193#define SYS___pollts50 437
1194
1195/* syscall: "__aio_suspend50" ret: "int" args: "const struct aiocb *const *" "int" "const struct timespec *" */
1196#define SYS___aio_suspend50 438
1197
1198/* syscall: "__stat50" ret: "int" args: "const char *" "struct stat *" */
1199#define SYS___stat50 439
1200
1201/* syscall: "__fstat50" ret: "int" args: "int" "struct stat *" */
1202#define SYS___fstat50 440
1203
1204/* syscall: "__lstat50" ret: "int" args: "const char *" "struct stat *" */
1205#define SYS___lstat50 441
1206
1207/* syscall: "____semctl50" ret: "int" args: "int" "int" "int" "..." */
1208#define SYS_____semctl50 442
1209
1210/* syscall: "__shmctl50" ret: "int" args: "int" "int" "struct shmid_ds *" */
1211#define SYS___shmctl50 443
1212
1213/* syscall: "__msgctl50" ret: "int" args: "int" "int" "struct msqid_ds *" */
1214#define SYS___msgctl50 444
1215
1216/* syscall: "__getrusage50" ret: "int" args: "int" "struct rusage *" */
1217#define SYS___getrusage50 445
1218
1219/* syscall: "__timer_settime50" ret: "int" args: "timer_t" "int" "const struct itimerspec *" "struct itimerspec *" */
1220#define SYS___timer_settime50 446
1221
1222/* syscall: "__timer_gettime50" ret: "int" args: "timer_t" "struct itimerspec *" */
1223#define SYS___timer_gettime50 447
1224
1225#if defined(NTP) || !defined(_KERNEL_OPT)
1226/* syscall: "__ntp_gettime50" ret: "int" args: "struct ntptimeval *" */
1227#define SYS___ntp_gettime50 448
1228
1229#else
1230 /* 448 is excluded ___ntp_gettime50 */
1231#endif
1232/* syscall: "__wait450" ret: "int" args: "pid_t" "int *" "int" "struct rusage *" */
1233#define SYS___wait450 449
1234
1235/* syscall: "__mknod50" ret: "int" args: "const char *" "mode_t" "dev_t" */
1236#define SYS___mknod50 450
1237
1238/* syscall: "__fhstat50" ret: "int" args: "const void *" "size_t" "struct stat *" */
1239#define SYS___fhstat50 451
1240
1241 /* 452 is obsolete 5.99 quotactl */
1242/* syscall: "pipe2" ret: "int" args: "int *" "int" */
1243#define SYS_pipe2 453
1244
1245/* syscall: "dup3" ret: "int" args: "int" "int" "int" */
1246#define SYS_dup3 454
1247
1248/* syscall: "kqueue1" ret: "int" args: "int" */
1249#define SYS_kqueue1 455
1250
1251/* syscall: "paccept" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" "const sigset_t *" "int" */
1252#define SYS_paccept 456
1253
1254/* syscall: "linkat" ret: "int" args: "int" "const char *" "int" "const char *" "int" */
1255#define SYS_linkat 457
1256
1257/* syscall: "renameat" ret: "int" args: "int" "const char *" "int" "const char *" */
1258#define SYS_renameat 458
1259
1260/* syscall: "mkfifoat" ret: "int" args: "int" "const char *" "mode_t" */
1261#define SYS_mkfifoat 459
1262
1263/* syscall: "mknodat" ret: "int" args: "int" "const char *" "mode_t" "int" "dev_t" */
1264#define SYS_mknodat 460
1265
1266/* syscall: "mkdirat" ret: "int" args: "int" "const char *" "mode_t" */
1267#define SYS_mkdirat 461
1268
1269/* syscall: "faccessat" ret: "int" args: "int" "const char *" "int" "int" */
1270#define SYS_faccessat 462
1271
1272/* syscall: "fchmodat" ret: "int" args: "int" "const char *" "mode_t" "int" */
1273#define SYS_fchmodat 463
1274
1275/* syscall: "fchownat" ret: "int" args: "int" "const char *" "uid_t" "gid_t" "int" */
1276#define SYS_fchownat 464
1277
1278/* syscall: "fexecve" ret: "int" args: "int" "char *const *" "char *const *" */
1279#define SYS_fexecve 465
1280
1281/* syscall: "fstatat" ret: "int" args: "int" "const char *" "struct stat *" "int" */
1282#define SYS_fstatat 466
1283
1284/* syscall: "utimensat" ret: "int" args: "int" "const char *" "const struct timespec *" "int" */
1285#define SYS_utimensat 467
1286
1287/* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */
1288#define SYS_openat 468
1289
1290/* syscall: "readlinkat" ret: "ssize_t" args: "int" "const char *" "char *" "size_t" */
1291#define SYS_readlinkat 469
1292
1293/* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
1294#define SYS_symlinkat 470
1295
1296/* syscall: "unlinkat" ret: "int" args: "int" "const char *" "int" */
1297#define SYS_unlinkat 471
1298
1299/* syscall: "futimens" ret: "int" args: "int" "const struct timespec *" */
1300#define SYS_futimens 472
1301
1302/* syscall: "__quotactl" ret: "int" args: "const char *" "struct quotactl_args *" */
1303#define SYS___quotactl 473
1304
1305/* syscall: "posix_spawn" ret: "int" args: "pid_t *" "const char *" "const struct posix_spawn_file_actions *" "const struct posix_spawnattr *" "char *const *" "char *const *" */
1306#define SYS_posix_spawn 474
1307
1308/* syscall: "recvmmsg" ret: "int" args: "int" "struct mmsghdr *" "unsigned int" "unsigned int" "struct timespec *" */
1309#define SYS_recvmmsg 475
1310
1311/* syscall: "sendmmsg" ret: "int" args: "int" "struct mmsghdr *" "unsigned int" "unsigned int" */
1312#define SYS_sendmmsg 476
1313
1314/* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "const struct timespec *" "struct timespec *" */
1315#define SYS_clock_nanosleep 477
1316
1317/* syscall: "___lwp_park60" ret: "int" args: "clockid_t" "int" "struct timespec *" "lwpid_t" "const void *" "const void *" */
1318#define SYS____lwp_park60 478
1319
1320/* syscall: "posix_fallocate" ret: "int" args: "int" "int" "off_t" "off_t" */
1321#define SYS_posix_fallocate 479
1322
1323/* syscall: "fdiscard" ret: "int" args: "int" "int" "off_t" "off_t" */
1324#define SYS_fdiscard 480
1325
1326/* syscall: "wait6" ret: "int" args: "idtype_t" "id_t" "int *" "int" "struct wrusage *" "siginfo_t *" */
1327#define SYS_wait6 481
1328
1329/* syscall: "clock_getcpuclockid2" ret: "int" args: "idtype_t" "id_t" "clockid_t *" */
1330#define SYS_clock_getcpuclockid2 482
1331
1332#define SYS_MAXSYSCALL 483
1333#define SYS_NSYSENT 512
1334#endif /* _SYS_SYSCALL_H_ */
1335