FreeBSD/Linux Kernel Cross Reference
sys/sys/syscall.h
1 /* $OpenBSD: syscall.h,v 1.253 2023/01/07 05:25:39 guenther Exp $ */
2
3 /*
4 * System call numbers.
5 *
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from; OpenBSD: syscalls.master,v 1.239 2023/01/07 05:24:58 guenther Exp
8 */
9
10 /* syscall: "syscall" ret: "int" args: "int" "..." */
11 #define SYS_syscall 0
12
13 /* syscall: "exit" ret: "void" args: "int" */
14 #define SYS_exit 1
15
16 /* syscall: "fork" ret: "int" args: */
17 #define SYS_fork 2
18
19 /* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */
20 #define SYS_read 3
21
22 /* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
23 #define SYS_write 4
24
25 /* syscall: "open" ret: "int" args: "const char *" "int" "..." */
26 #define SYS_open 5
27
28 /* syscall: "close" ret: "int" args: "int" */
29 #define SYS_close 6
30
31 /* syscall: "getentropy" ret: "int" args: "void *" "size_t" */
32 #define SYS_getentropy 7
33
34 /* syscall: "__tfork" ret: "int" args: "const struct __tfork *" "size_t" */
35 #define SYS___tfork 8
36
37 /* syscall: "link" ret: "int" args: "const char *" "const char *" */
38 #define SYS_link 9
39
40 /* syscall: "unlink" ret: "int" args: "const char *" */
41 #define SYS_unlink 10
42
43 /* syscall: "wait4" ret: "pid_t" args: "pid_t" "int *" "int" "struct rusage *" */
44 #define SYS_wait4 11
45
46 /* syscall: "chdir" ret: "int" args: "const char *" */
47 #define SYS_chdir 12
48
49 /* syscall: "fchdir" ret: "int" args: "int" */
50 #define SYS_fchdir 13
51
52 /* syscall: "mknod" ret: "int" args: "const char *" "mode_t" "dev_t" */
53 #define SYS_mknod 14
54
55 /* syscall: "chmod" ret: "int" args: "const char *" "mode_t" */
56 #define SYS_chmod 15
57
58 /* syscall: "chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
59 #define SYS_chown 16
60
61 /* syscall: "break" ret: "int" args: "char *" */
62 #define SYS_break 17
63
64 /* syscall: "getdtablecount" ret: "int" args: */
65 #define SYS_getdtablecount 18
66
67 /* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
68 #define SYS_getrusage 19
69
70 /* syscall: "getpid" ret: "pid_t" args: */
71 #define SYS_getpid 20
72
73 /* syscall: "mount" ret: "int" args: "const char *" "const char *" "int" "void *" */
74 #define SYS_mount 21
75
76 /* syscall: "unmount" ret: "int" args: "const char *" "int" */
77 #define SYS_unmount 22
78
79 /* syscall: "setuid" ret: "int" args: "uid_t" */
80 #define SYS_setuid 23
81
82 /* syscall: "getuid" ret: "uid_t" args: */
83 #define SYS_getuid 24
84
85 /* syscall: "geteuid" ret: "uid_t" args: */
86 #define SYS_geteuid 25
87
88 /* syscall: "ptrace" ret: "int" args: "int" "pid_t" "caddr_t" "int" */
89 #define SYS_ptrace 26
90
91 /* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct msghdr *" "int" */
92 #define SYS_recvmsg 27
93
94 /* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct msghdr *" "int" */
95 #define SYS_sendmsg 28
96
97 /* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "socklen_t *" */
98 #define SYS_recvfrom 29
99
100 /* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */
101 #define SYS_accept 30
102
103 /* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */
104 #define SYS_getpeername 31
105
106 /* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */
107 #define SYS_getsockname 32
108
109 /* syscall: "access" ret: "int" args: "const char *" "int" */
110 #define SYS_access 33
111
112 /* syscall: "chflags" ret: "int" args: "const char *" "u_int" */
113 #define SYS_chflags 34
114
115 /* syscall: "fchflags" ret: "int" args: "int" "u_int" */
116 #define SYS_fchflags 35
117
118 /* syscall: "sync" ret: "void" args: */
119 #define SYS_sync 36
120
121 /* syscall: "msyscall" ret: "int" args: "void *" "size_t" */
122 #define SYS_msyscall 37
123
124 /* syscall: "stat" ret: "int" args: "const char *" "struct stat *" */
125 #define SYS_stat 38
126
127 /* syscall: "getppid" ret: "pid_t" args: */
128 #define SYS_getppid 39
129
130 /* syscall: "lstat" ret: "int" args: "const char *" "struct stat *" */
131 #define SYS_lstat 40
132
133 /* syscall: "dup" ret: "int" args: "int" */
134 #define SYS_dup 41
135
136 /* syscall: "fstatat" ret: "int" args: "int" "const char *" "struct stat *" "int" */
137 #define SYS_fstatat 42
138
139 /* syscall: "getegid" ret: "gid_t" args: */
140 #define SYS_getegid 43
141
142 /* syscall: "profil" ret: "int" args: "caddr_t" "size_t" "u_long" "u_int" */
143 #define SYS_profil 44
144
145 /* syscall: "ktrace" ret: "int" args: "const char *" "int" "int" "pid_t" */
146 #define SYS_ktrace 45
147
148 /* syscall: "sigaction" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" */
149 #define SYS_sigaction 46
150
151 /* syscall: "getgid" ret: "gid_t" args: */
152 #define SYS_getgid 47
153
154 /* syscall: "sigprocmask" ret: "int" args: "int" "sigset_t" */
155 #define SYS_sigprocmask 48
156
157 /* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "off_t" */
158 #define SYS_mmap 49
159
160 /* syscall: "setlogin" ret: "int" args: "const char *" */
161 #define SYS_setlogin 50
162
163 /* syscall: "acct" ret: "int" args: "const char *" */
164 #define SYS_acct 51
165
166 /* syscall: "sigpending" ret: "int" args: */
167 #define SYS_sigpending 52
168
169 /* syscall: "fstat" ret: "int" args: "int" "struct stat *" */
170 #define SYS_fstat 53
171
172 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "..." */
173 #define SYS_ioctl 54
174
175 /* syscall: "reboot" ret: "int" args: "int" */
176 #define SYS_reboot 55
177
178 /* syscall: "revoke" ret: "int" args: "const char *" */
179 #define SYS_revoke 56
180
181 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
182 #define SYS_symlink 57
183
184 /* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "size_t" */
185 #define SYS_readlink 58
186
187 /* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */
188 #define SYS_execve 59
189
190 /* syscall: "umask" ret: "mode_t" args: "mode_t" */
191 #define SYS_umask 60
192
193 /* syscall: "chroot" ret: "int" args: "const char *" */
194 #define SYS_chroot 61
195
196 /* syscall: "getfsstat" ret: "int" args: "struct statfs *" "size_t" "int" */
197 #define SYS_getfsstat 62
198
199 /* syscall: "statfs" ret: "int" args: "const char *" "struct statfs *" */
200 #define SYS_statfs 63
201
202 /* syscall: "fstatfs" ret: "int" args: "int" "struct statfs *" */
203 #define SYS_fstatfs 64
204
205 /* syscall: "fhstatfs" ret: "int" args: "const fhandle_t *" "struct statfs *" */
206 #define SYS_fhstatfs 65
207
208 /* syscall: "vfork" ret: "int" args: */
209 #define SYS_vfork 66
210
211 /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
212 #define SYS_gettimeofday 67
213
214 /* syscall: "settimeofday" ret: "int" args: "const struct timeval *" "const struct timezone *" */
215 #define SYS_settimeofday 68
216
217 /* syscall: "setitimer" ret: "int" args: "int" "const struct itimerval *" "struct itimerval *" */
218 #define SYS_setitimer 69
219
220 /* syscall: "getitimer" ret: "int" args: "int" "struct itimerval *" */
221 #define SYS_getitimer 70
222
223 /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
224 #define SYS_select 71
225
226 /* syscall: "kevent" ret: "int" args: "int" "const struct kevent *" "int" "struct kevent *" "int" "const struct timespec *" */
227 #define SYS_kevent 72
228
229 /* syscall: "munmap" ret: "int" args: "void *" "size_t" */
230 #define SYS_munmap 73
231
232 /* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */
233 #define SYS_mprotect 74
234
235 /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
236 #define SYS_madvise 75
237
238 /* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval *" */
239 #define SYS_utimes 76
240
241 /* syscall: "futimes" ret: "int" args: "int" "const struct timeval *" */
242 #define SYS_futimes 77
243
244 /* syscall: "mquery" ret: "void *" args: "void *" "size_t" "int" "int" "int" "off_t" */
245 #define SYS_mquery 78
246
247 /* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */
248 #define SYS_getgroups 79
249
250 /* syscall: "setgroups" ret: "int" args: "int" "const gid_t *" */
251 #define SYS_setgroups 80
252
253 /* syscall: "getpgrp" ret: "int" args: */
254 #define SYS_getpgrp 81
255
256 /* syscall: "setpgid" ret: "int" args: "pid_t" "pid_t" */
257 #define SYS_setpgid 82
258
259 /* syscall: "futex" ret: "int" args: "uint32_t *" "int" "int" "const struct timespec *" "uint32_t *" */
260 #define SYS_futex 83
261
262 /* syscall: "utimensat" ret: "int" args: "int" "const char *" "const struct timespec *" "int" */
263 #define SYS_utimensat 84
264
265 /* syscall: "futimens" ret: "int" args: "int" "const struct timespec *" */
266 #define SYS_futimens 85
267
268 /* syscall: "kbind" ret: "int" args: "const struct __kbind *" "size_t" "int64_t" */
269 #define SYS_kbind 86
270
271 /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct timespec *" */
272 #define SYS_clock_gettime 87
273
274 /* syscall: "clock_settime" ret: "int" args: "clockid_t" "const struct timespec *" */
275 #define SYS_clock_settime 88
276
277 /* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct timespec *" */
278 #define SYS_clock_getres 89
279
280 /* syscall: "dup2" ret: "int" args: "int" "int" */
281 #define SYS_dup2 90
282
283 /* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
284 #define SYS_nanosleep 91
285
286 /* syscall: "fcntl" ret: "int" args: "int" "int" "..." */
287 #define SYS_fcntl 92
288
289 /* syscall: "accept4" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" "int" */
290 #define SYS_accept4 93
291
292 /* syscall: "__thrsleep" ret: "int" args: "const volatile void *" "clockid_t" "const struct timespec *" "void *" "const int *" */
293 #define SYS___thrsleep 94
294
295 /* syscall: "fsync" ret: "int" args: "int" */
296 #define SYS_fsync 95
297
298 /* syscall: "setpriority" ret: "int" args: "int" "id_t" "int" */
299 #define SYS_setpriority 96
300
301 /* syscall: "socket" ret: "int" args: "int" "int" "int" */
302 #define SYS_socket 97
303
304 /* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */
305 #define SYS_connect 98
306
307 /* syscall: "getdents" ret: "int" args: "int" "void *" "size_t" */
308 #define SYS_getdents 99
309
310 /* syscall: "getpriority" ret: "int" args: "int" "id_t" */
311 #define SYS_getpriority 100
312
313 /* syscall: "pipe2" ret: "int" args: "int *" "int" */
314 #define SYS_pipe2 101
315
316 /* syscall: "dup3" ret: "int" args: "int" "int" "int" */
317 #define SYS_dup3 102
318
319 /* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */
320 #define SYS_sigreturn 103
321
322 /* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */
323 #define SYS_bind 104
324
325 /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "socklen_t" */
326 #define SYS_setsockopt 105
327
328 /* syscall: "listen" ret: "int" args: "int" "int" */
329 #define SYS_listen 106
330
331 /* syscall: "chflagsat" ret: "int" args: "int" "const char *" "u_int" "int" */
332 #define SYS_chflagsat 107
333
334 /* syscall: "pledge" ret: "int" args: "const char *" "const char *" */
335 #define SYS_pledge 108
336
337 /* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "const struct timespec *" "const sigset_t *" */
338 #define SYS_ppoll 109
339
340 /* syscall: "pselect" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "const struct timespec *" "const sigset_t *" */
341 #define SYS_pselect 110
342
343 /* syscall: "sigsuspend" ret: "int" args: "int" */
344 #define SYS_sigsuspend 111
345
346 /* syscall: "sendsyslog" ret: "int" args: "const char *" "size_t" "int" */
347 #define SYS_sendsyslog 112
348
349 /* syscall: "unveil" ret: "int" args: "const char *" "const char *" */
350 #define SYS_unveil 114
351
352 /* syscall: "__realpath" ret: "int" args: "const char *" "char *" */
353 #define SYS___realpath 115
354
355 /* syscall: "recvmmsg" ret: "int" args: "int" "struct mmsghdr *" "unsigned int" "int" "struct timespec *" */
356 #define SYS_recvmmsg 116
357
358 /* syscall: "sendmmsg" ret: "int" args: "int" "struct mmsghdr *" "unsigned int" "int" */
359 #define SYS_sendmmsg 117
360
361 /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "socklen_t *" */
362 #define SYS_getsockopt 118
363
364 /* syscall: "thrkill" ret: "int" args: "pid_t" "int" "void *" */
365 #define SYS_thrkill 119
366
367 /* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
368 #define SYS_readv 120
369
370 /* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
371 #define SYS_writev 121
372
373 /* syscall: "kill" ret: "int" args: "int" "int" */
374 #define SYS_kill 122
375
376 /* syscall: "fchown" ret: "int" args: "int" "uid_t" "gid_t" */
377 #define SYS_fchown 123
378
379 /* syscall: "fchmod" ret: "int" args: "int" "mode_t" */
380 #define SYS_fchmod 124
381
382 /* 125 is obsolete orecvfrom */
383 /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
384 #define SYS_setreuid 126
385
386 /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
387 #define SYS_setregid 127
388
389 /* syscall: "rename" ret: "int" args: "const char *" "const char *" */
390 #define SYS_rename 128
391
392 /* 129 is obsolete otruncate */
393 /* 130 is obsolete oftruncate */
394 /* syscall: "flock" ret: "int" args: "int" "int" */
395 #define SYS_flock 131
396
397 /* syscall: "mkfifo" ret: "int" args: "const char *" "mode_t" */
398 #define SYS_mkfifo 132
399
400 /* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "socklen_t" */
401 #define SYS_sendto 133
402
403 /* syscall: "shutdown" ret: "int" args: "int" "int" */
404 #define SYS_shutdown 134
405
406 /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
407 #define SYS_socketpair 135
408
409 /* syscall: "mkdir" ret: "int" args: "const char *" "mode_t" */
410 #define SYS_mkdir 136
411
412 /* syscall: "rmdir" ret: "int" args: "const char *" */
413 #define SYS_rmdir 137
414
415 /* 138 is obsolete t32_utimes */
416 /* 139 is obsolete 4.2 sigreturn */
417 /* syscall: "adjtime" ret: "int" args: "const struct timeval *" "struct timeval *" */
418 #define SYS_adjtime 140
419
420 /* syscall: "getlogin_r" ret: "int" args: "char *" "u_int" */
421 #define SYS_getlogin_r 141
422
423 /* syscall: "getthrname" ret: "int" args: "pid_t" "char *" "size_t" */
424 #define SYS_getthrname 142
425
426 /* syscall: "setthrname" ret: "int" args: "pid_t" "const char *" */
427 #define SYS_setthrname 143
428
429 /* 144 is obsolete ogetrlimit */
430 /* 145 is obsolete osetrlimit */
431 /* 146 is obsolete okillpg */
432 /* syscall: "setsid" ret: "int" args: */
433 #define SYS_setsid 147
434
435 /* syscall: "quotactl" ret: "int" args: "const char *" "int" "int" "char *" */
436 #define SYS_quotactl 148
437
438 /* 149 is obsolete oquota */
439 /* syscall: "ypconnect" ret: "int" args: "int" */
440 #define SYS_ypconnect 150
441
442 /* syscall: "nfssvc" ret: "int" args: "int" "void *" */
443 #define SYS_nfssvc 155
444
445 /* 156 is obsolete ogetdirentries */
446 /* 157 is obsolete statfs25 */
447 /* 158 is obsolete fstatfs25 */
448 /* syscall: "mimmutable" ret: "int" args: "void *" "size_t" */
449 #define SYS_mimmutable 159
450
451 /* syscall: "waitid" ret: "int" args: "int" "id_t" "siginfo_t *" "int" */
452 #define SYS_waitid 160
453
454 /* syscall: "getfh" ret: "int" args: "const char *" "fhandle_t *" */
455 #define SYS_getfh 161
456
457 /* 162 is obsolete ogetdomainname */
458 /* 163 is obsolete osetdomainname */
459 /* syscall: "__tmpfd" ret: "int" args: "int" */
460 #define SYS___tmpfd 164
461
462 /* syscall: "sysarch" ret: "int" args: "int" "void *" */
463 #define SYS_sysarch 165
464
465 /* syscall: "lseek" ret: "off_t" args: "int" "off_t" "int" */
466 #define SYS_lseek 166
467
468 /* syscall: "truncate" ret: "int" args: "const char *" "off_t" */
469 #define SYS_truncate 167
470
471 /* syscall: "ftruncate" ret: "int" args: "int" "off_t" */
472 #define SYS_ftruncate 168
473
474 /* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "off_t" */
475 #define SYS_pread 169
476
477 /* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "off_t" */
478 #define SYS_pwrite 170
479
480 /* syscall: "preadv" ret: "ssize_t" args: "int" "const struct iovec *" "int" "off_t" */
481 #define SYS_preadv 171
482
483 /* syscall: "pwritev" ret: "ssize_t" args: "int" "const struct iovec *" "int" "off_t" */
484 #define SYS_pwritev 172
485
486 /* syscall: "pad_pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */
487 #define SYS_pad_pread 173
488
489 /* syscall: "pad_pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */
490 #define SYS_pad_pwrite 174
491
492 /* syscall: "setgid" ret: "int" args: "gid_t" */
493 #define SYS_setgid 181
494
495 /* syscall: "setegid" ret: "int" args: "gid_t" */
496 #define SYS_setegid 182
497
498 /* syscall: "seteuid" ret: "int" args: "uid_t" */
499 #define SYS_seteuid 183
500
501 /* 184 is obsolete lfs_bmapv */
502 /* 185 is obsolete lfs_markv */
503 /* 186 is obsolete lfs_segclean */
504 /* 187 is obsolete lfs_segwait */
505 /* 188 is obsolete stat35 */
506 /* 189 is obsolete fstat35 */
507 /* 190 is obsolete lstat35 */
508 /* syscall: "pathconf" ret: "long" args: "const char *" "int" */
509 #define SYS_pathconf 191
510
511 /* syscall: "fpathconf" ret: "long" args: "int" "int" */
512 #define SYS_fpathconf 192
513
514 /* syscall: "swapctl" ret: "int" args: "int" "const void *" "int" */
515 #define SYS_swapctl 193
516
517 /* syscall: "getrlimit" ret: "int" args: "int" "struct rlimit *" */
518 #define SYS_getrlimit 194
519
520 /* syscall: "setrlimit" ret: "int" args: "int" "const struct rlimit *" */
521 #define SYS_setrlimit 195
522
523 /* 196 is obsolete ogetdirentries48 */
524 /* syscall: "pad_mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */
525 #define SYS_pad_mmap 197
526
527 /* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */
528 #define SYS___syscall 198
529
530 /* syscall: "pad_lseek" ret: "off_t" args: "int" "int" "off_t" "int" */
531 #define SYS_pad_lseek 199
532
533 /* syscall: "pad_truncate" ret: "int" args: "const char *" "int" "off_t" */
534 #define SYS_pad_truncate 200
535
536 /* syscall: "pad_ftruncate" ret: "int" args: "int" "int" "off_t" */
537 #define SYS_pad_ftruncate 201
538
539 /* syscall: "sysctl" ret: "int" args: "const int *" "u_int" "void *" "size_t *" "void *" "size_t" */
540 #define SYS_sysctl 202
541
542 /* syscall: "mlock" ret: "int" args: "const void *" "size_t" */
543 #define SYS_mlock 203
544
545 /* syscall: "munlock" ret: "int" args: "const void *" "size_t" */
546 #define SYS_munlock 204
547
548 /* 206 is obsolete t32_futimes */
549 /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
550 #define SYS_getpgid 207
551
552 /* 208 is obsolete nnpfspioctl */
553 /* syscall: "utrace" ret: "int" args: "const char *" "const void *" "size_t" */
554 #define SYS_utrace 209
555
556 /* syscall: "semget" ret: "int" args: "key_t" "int" "int" */
557 #define SYS_semget 221
558
559 /* 222 is obsolete semop35 */
560 /* 223 is obsolete semconfig35 */
561 /* syscall: "msgget" ret: "int" args: "key_t" "int" */
562 #define SYS_msgget 225
563
564 /* syscall: "msgsnd" ret: "int" args: "int" "const void *" "size_t" "int" */
565 #define SYS_msgsnd 226
566
567 /* syscall: "msgrcv" ret: "int" args: "int" "void *" "size_t" "long" "int" */
568 #define SYS_msgrcv 227
569
570 /* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */
571 #define SYS_shmat 228
572
573 /* syscall: "shmdt" ret: "int" args: "const void *" */
574 #define SYS_shmdt 230
575
576 /* 231 is obsolete shmget35 */
577 /* 232 is obsolete t32_clock_gettime */
578 /* 233 is obsolete t32_clock_settime */
579 /* 234 is obsolete t32_clock_getres */
580 /* 240 is obsolete t32_nanosleep */
581 /* syscall: "minherit" ret: "int" args: "void *" "size_t" "int" */
582 #define SYS_minherit 250
583
584 /* 251 is obsolete rfork */
585 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
586 #define SYS_poll 252
587
588 /* syscall: "issetugid" ret: "int" args: */
589 #define SYS_issetugid 253
590
591 /* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
592 #define SYS_lchown 254
593
594 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
595 #define SYS_getsid 255
596
597 /* syscall: "msync" ret: "int" args: "void *" "size_t" "int" */
598 #define SYS_msync 256
599
600 /* 257 is obsolete semctl35 */
601 /* 258 is obsolete shmctl35 */
602 /* 259 is obsolete msgctl35 */
603 /* syscall: "pipe" ret: "int" args: "int *" */
604 #define SYS_pipe 263
605
606 /* syscall: "fhopen" ret: "int" args: "const fhandle_t *" "int" */
607 #define SYS_fhopen 264
608
609 /* syscall: "pad_preadv" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
610 #define SYS_pad_preadv 267
611
612 /* syscall: "pad_pwritev" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
613 #define SYS_pad_pwritev 268
614
615 /* syscall: "kqueue" ret: "int" args: */
616 #define SYS_kqueue 269
617
618 /* 270 is obsolete t32_kevent */
619 /* syscall: "mlockall" ret: "int" args: "int" */
620 #define SYS_mlockall 271
621
622 /* syscall: "munlockall" ret: "int" args: */
623 #define SYS_munlockall 272
624
625 /* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
626 #define SYS_getresuid 281
627
628 /* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
629 #define SYS_setresuid 282
630
631 /* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
632 #define SYS_getresgid 283
633
634 /* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
635 #define SYS_setresgid 284
636
637 /* 285 is obsolete sys_omquery */
638 /* syscall: "pad_mquery" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */
639 #define SYS_pad_mquery 286
640
641 /* syscall: "closefrom" ret: "int" args: "int" */
642 #define SYS_closefrom 287
643
644 /* syscall: "sigaltstack" ret: "int" args: "const struct sigaltstack *" "struct sigaltstack *" */
645 #define SYS_sigaltstack 288
646
647 /* syscall: "shmget" ret: "int" args: "key_t" "size_t" "int" */
648 #define SYS_shmget 289
649
650 /* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "size_t" */
651 #define SYS_semop 290
652
653 /* 291 is obsolete t32_stat */
654 /* 292 is obsolete t32_fstat */
655 /* 293 is obsolete t32_lstat */
656 /* syscall: "fhstat" ret: "int" args: "const fhandle_t *" "struct stat *" */
657 #define SYS_fhstat 294
658
659 /* syscall: "__semctl" ret: "int" args: "int" "int" "int" "union semun *" */
660 #define SYS___semctl 295
661
662 /* syscall: "shmctl" ret: "int" args: "int" "int" "struct shmid_ds *" */
663 #define SYS_shmctl 296
664
665 /* syscall: "msgctl" ret: "int" args: "int" "int" "struct msqid_ds *" */
666 #define SYS_msgctl 297
667
668 /* syscall: "sched_yield" ret: "int" args: */
669 #define SYS_sched_yield 298
670
671 /* syscall: "getthrid" ret: "pid_t" args: */
672 #define SYS_getthrid 299
673
674 /* 300 is obsolete t32___thrsleep */
675 /* syscall: "__thrwakeup" ret: "int" args: "const volatile void *" "int" */
676 #define SYS___thrwakeup 301
677
678 /* syscall: "__threxit" ret: "void" args: "pid_t *" */
679 #define SYS___threxit 302
680
681 /* syscall: "__thrsigdivert" ret: "int" args: "sigset_t" "siginfo_t *" "const struct timespec *" */
682 #define SYS___thrsigdivert 303
683
684 /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
685 #define SYS___getcwd 304
686
687 /* syscall: "adjfreq" ret: "int" args: "const int64_t *" "int64_t *" */
688 #define SYS_adjfreq 305
689
690 /* 306 is obsolete getfsstat53 */
691 /* 307 is obsolete statfs53 */
692 /* 308 is obsolete fstatfs53 */
693 /* 309 is obsolete fhstatfs53 */
694 /* syscall: "setrtable" ret: "int" args: "int" */
695 #define SYS_setrtable 310
696
697 /* syscall: "getrtable" ret: "int" args: */
698 #define SYS_getrtable 311
699
700 /* 312 is obsolete t32_getdirentries */
701 /* syscall: "faccessat" ret: "int" args: "int" "const char *" "int" "int" */
702 #define SYS_faccessat 313
703
704 /* syscall: "fchmodat" ret: "int" args: "int" "const char *" "mode_t" "int" */
705 #define SYS_fchmodat 314
706
707 /* syscall: "fchownat" ret: "int" args: "int" "const char *" "uid_t" "gid_t" "int" */
708 #define SYS_fchownat 315
709
710 /* 316 is obsolete t32_fstatat */
711 /* syscall: "linkat" ret: "int" args: "int" "const char *" "int" "const char *" "int" */
712 #define SYS_linkat 317
713
714 /* syscall: "mkdirat" ret: "int" args: "int" "const char *" "mode_t" */
715 #define SYS_mkdirat 318
716
717 /* syscall: "mkfifoat" ret: "int" args: "int" "const char *" "mode_t" */
718 #define SYS_mkfifoat 319
719
720 /* syscall: "mknodat" ret: "int" args: "int" "const char *" "mode_t" "dev_t" */
721 #define SYS_mknodat 320
722
723 /* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */
724 #define SYS_openat 321
725
726 /* syscall: "readlinkat" ret: "ssize_t" args: "int" "const char *" "char *" "size_t" */
727 #define SYS_readlinkat 322
728
729 /* syscall: "renameat" ret: "int" args: "int" "const char *" "int" "const char *" */
730 #define SYS_renameat 323
731
732 /* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
733 #define SYS_symlinkat 324
734
735 /* syscall: "unlinkat" ret: "int" args: "int" "const char *" "int" */
736 #define SYS_unlinkat 325
737
738 /* 326 is obsolete t32_utimensat */
739 /* 327 is obsolete t32_futimens */
740 /* 328 is obsolete __tfork51 */
741 /* syscall: "__set_tcb" ret: "void" args: "void *" */
742 #define SYS___set_tcb 329
743
744 /* syscall: "__get_tcb" ret: "void *" args: */
745 #define SYS___get_tcb 330
746
747 #define SYS_MAXSYSCALL 331
Cache object: 26b54715afe543db5376191f7f4b9703
|