Sync usage with man page.
[netbsd-mini2440.git] / sys / compat / linux / arch / m68k / linux_syscall.h
blob038b6a5850e359786c6c39c4a1f9850f7d628d2f
1 /* $NetBSD$ */
3 /*
4 * System call numbers.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.68 2009/11/24 10:42:44 njoly Exp
8 */
10 #ifndef _LINUX_SYS_SYSCALL_H_
11 #define _LINUX_SYS_SYSCALL_H_
13 #define LINUX_SYS_MAXSYSARGS 8
15 /* syscall: "syscall" ret: "int" args: */
16 #define LINUX_SYS_syscall 0
18 /* syscall: "exit" ret: "int" args: "int" */
19 #define LINUX_SYS_exit 1
21 /* syscall: "fork" ret: "int" args: */
22 #define LINUX_SYS_fork 2
24 /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
25 #define LINUX_SYS_read 3
27 /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
28 #define LINUX_SYS_write 4
30 /* syscall: "open" ret: "int" args: "const char *" "int" "int" */
31 #define LINUX_SYS_open 5
33 /* syscall: "close" ret: "int" args: "int" */
34 #define LINUX_SYS_close 6
36 /* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */
37 #define LINUX_SYS_waitpid 7
39 /* syscall: "creat" ret: "int" args: "const char *" "int" */
40 #define LINUX_SYS_creat 8
42 /* syscall: "link" ret: "int" args: "const char *" "const char *" */
43 #define LINUX_SYS_link 9
45 /* syscall: "unlink" ret: "int" args: "const char *" */
46 #define LINUX_SYS_unlink 10
48 /* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
49 #define LINUX_SYS_execve 11
51 /* syscall: "chdir" ret: "int" args: "const char *" */
52 #define LINUX_SYS_chdir 12
54 /* syscall: "time" ret: "int" args: "linux_time_t *" */
55 #define LINUX_SYS_time 13
57 /* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
58 #define LINUX_SYS_mknod 14
60 /* syscall: "chmod" ret: "int" args: "const char *" "int" */
61 #define LINUX_SYS_chmod 15
63 /* syscall: "chown16" ret: "int" args: "const char *" "linux_uid16_t" "linux_gid16_t" */
64 #define LINUX_SYS_chown16 16
66 /* 17 is obsolete break */
67 /* 18 is obsolete ostat */
68 #if !defined(_KERNEL) || defined(COMPAT_43)
69 /* syscall: "lseek" ret: "long" args: "int" "long" "int" */
70 #define LINUX_SYS_lseek 19
72 #else
73 #endif
74 /* syscall: "getpid" ret: "pid_t" args: */
75 #define LINUX_SYS_getpid 20
77 /* 22 is obsolete umount */
78 /* syscall: "linux_setuid16" ret: "int" args: "uid_t" */
79 #define LINUX_SYS_linux_setuid16 23
81 /* syscall: "linux_getuid16" ret: "uid_t" args: */
82 #define LINUX_SYS_linux_getuid16 24
84 /* syscall: "stime" ret: "int" args: "linux_time_t *" */
85 #define LINUX_SYS_stime 25
87 /* syscall: "ptrace" ret: "int" args: "int" "int" "int" "int" */
88 #define LINUX_SYS_ptrace 26
90 /* syscall: "alarm" ret: "int" args: "unsigned int" */
91 #define LINUX_SYS_alarm 27
93 /* 28 is obsolete ofstat */
94 /* syscall: "pause" ret: "int" args: */
95 #define LINUX_SYS_pause 29
97 /* syscall: "utime" ret: "int" args: "const char *" "struct linux_utimbuf *" */
98 #define LINUX_SYS_utime 30
100 /* 31 is obsolete stty */
101 /* 32 is obsolete gtty */
102 /* syscall: "access" ret: "int" args: "const char *" "int" */
103 #define LINUX_SYS_access 33
105 /* syscall: "nice" ret: "int" args: "int" */
106 #define LINUX_SYS_nice 34
108 /* 35 is obsolete ftime */
109 /* syscall: "sync" ret: "int" args: */
110 #define LINUX_SYS_sync 36
112 /* syscall: "kill" ret: "int" args: "int" "int" */
113 #define LINUX_SYS_kill 37
115 /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
116 #define LINUX_SYS___posix_rename 38
118 /* syscall: "mkdir" ret: "int" args: "const char *" "int" */
119 #define LINUX_SYS_mkdir 39
121 /* syscall: "rmdir" ret: "int" args: "const char *" */
122 #define LINUX_SYS_rmdir 40
124 /* syscall: "dup" ret: "int" args: "u_int" */
125 #define LINUX_SYS_dup 41
127 /* syscall: "pipe" ret: "int" args: "int *" */
128 #define LINUX_SYS_pipe 42
130 /* syscall: "times" ret: "int" args: "struct times *" */
131 #define LINUX_SYS_times 43
133 /* 44 is obsolete prof */
134 /* syscall: "brk" ret: "int" args: "char *" */
135 #define LINUX_SYS_brk 45
137 /* syscall: "linux_setgid16" ret: "int" args: "gid_t" */
138 #define LINUX_SYS_linux_setgid16 46
140 /* syscall: "linux_getgid16" ret: "gid_t" args: */
141 #define LINUX_SYS_linux_getgid16 47
143 /* syscall: "signal" ret: "int" args: "int" "linux_handler_t" */
144 #define LINUX_SYS_signal 48
146 /* syscall: "linux_geteuid16" ret: "uid_t" args: */
147 #define LINUX_SYS_linux_geteuid16 49
149 /* syscall: "linux_getegid16" ret: "gid_t" args: */
150 #define LINUX_SYS_linux_getegid16 50
152 /* syscall: "acct" ret: "int" args: "char *" */
153 #define LINUX_SYS_acct 51
155 /* 53 is obsolete lock */
156 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "void *" */
157 #define LINUX_SYS_ioctl 54
159 /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
160 #define LINUX_SYS_fcntl 55
162 /* 56 is obsolete mpx */
163 /* syscall: "setpgid" ret: "int" args: "int" "int" */
164 #define LINUX_SYS_setpgid 57
166 /* 58 is obsolete ulimit */
167 /* syscall: "umask" ret: "int" args: "int" */
168 #define LINUX_SYS_umask 60
170 /* syscall: "chroot" ret: "int" args: "char *" */
171 #define LINUX_SYS_chroot 61
173 /* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
174 #define LINUX_SYS_dup2 63
176 /* syscall: "getppid" ret: "pid_t" args: */
177 #define LINUX_SYS_getppid 64
179 /* syscall: "getpgrp" ret: "int" args: */
180 #define LINUX_SYS_getpgrp 65
182 /* syscall: "setsid" ret: "int" args: */
183 #define LINUX_SYS_setsid 66
185 /* syscall: "sigaction" ret: "int" args: "int" "const struct linux_old_sigaction *" "struct linux_old_sigaction *" */
186 #define LINUX_SYS_sigaction 67
188 /* syscall: "siggetmask" ret: "int" args: */
189 #define LINUX_SYS_siggetmask 68
191 /* syscall: "sigsetmask" ret: "int" args: "linux_old_sigset_t" */
192 #define LINUX_SYS_sigsetmask 69
194 /* syscall: "setreuid16" ret: "int" args: "linux_uid16_t" "linux_uid16_t" */
195 #define LINUX_SYS_setreuid16 70
197 /* syscall: "setregid16" ret: "int" args: "linux_gid16_t" "linux_gid16_t" */
198 #define LINUX_SYS_setregid16 71
200 /* syscall: "sigsuspend" ret: "int" args: "void *" "int" "int" */
201 #define LINUX_SYS_sigsuspend 72
203 /* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */
204 #define LINUX_SYS_sigpending 73
206 #if !defined(_KERNEL) || defined(COMPAT_43)
207 /* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
208 #define LINUX_SYS_sethostname 74
210 #else
211 #endif
212 /* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
213 #define LINUX_SYS_setrlimit 75
215 /* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
216 #define LINUX_SYS_getrlimit 76
218 /* syscall: "getrusage" ret: "int" args: "int" "struct rusage50 *" */
219 #define LINUX_SYS_getrusage 77
221 /* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
222 #define LINUX_SYS_gettimeofday 78
224 /* syscall: "settimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
225 #define LINUX_SYS_settimeofday 79
227 /* syscall: "getgroups16" ret: "int" args: "int" "linux_gid16_t *" */
228 #define LINUX_SYS_getgroups16 80
230 /* syscall: "setgroups16" ret: "int" args: "int" "linux_gid16_t *" */
231 #define LINUX_SYS_setgroups16 81
233 /* syscall: "oldselect" ret: "int" args: "struct linux_oldselect *" */
234 #define LINUX_SYS_oldselect 82
236 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
237 #define LINUX_SYS_symlink 83
239 #if !defined(_KERNEL) || defined(COMPAT_43)
240 /* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */
241 #define LINUX_SYS_oolstat 84
243 #else
244 #endif
245 /* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
246 #define LINUX_SYS_readlink 85
248 #ifdef EXEC_AOUT
249 /* syscall: "uselib" ret: "int" args: "const char *" */
250 #define LINUX_SYS_uselib 86
252 #else
253 #endif
254 /* syscall: "swapon" ret: "int" args: "char *" */
255 #define LINUX_SYS_swapon 87
257 /* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */
258 #define LINUX_SYS_reboot 88
260 /* syscall: "readdir" ret: "int" args: "int" "void *" "unsigned int" */
261 #define LINUX_SYS_readdir 89
263 /* syscall: "old_mmap" ret: "int" args: "struct linux_oldmmap *" */
264 #define LINUX_SYS_old_mmap 90
266 /* syscall: "munmap" ret: "int" args: "void *" "int" */
267 #define LINUX_SYS_munmap 91
269 /* syscall: "truncate" ret: "int" args: "const char *" "long" */
270 #define LINUX_SYS_truncate 92
272 #if !defined(_KERNEL) || defined(COMPAT_43)
273 /* syscall: "ftruncate" ret: "int" args: "int" "long" */
274 #define LINUX_SYS_ftruncate 93
276 #else
277 #endif
278 /* syscall: "fchmod" ret: "int" args: "int" "int" */
279 #define LINUX_SYS_fchmod 94
281 /* syscall: "fchown16" ret: "int" args: "int" "linux_uid16_t" "linux_gid16_t" */
282 #define LINUX_SYS_fchown16 95
284 /* syscall: "getpriority" ret: "int" args: "int" "int" */
285 #define LINUX_SYS_getpriority 96
287 /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
288 #define LINUX_SYS_setpriority 97
290 /* syscall: "profil" ret: "int" args: "void *" "u_int" "u_int" "u_int" */
291 #define LINUX_SYS_profil 98
293 /* syscall: "statfs" ret: "int" args: "const char *" "struct linux_statfs *" */
294 #define LINUX_SYS_statfs 99
296 /* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
297 #define LINUX_SYS_fstatfs 100
299 /* syscall: "socketcall" ret: "int" args: "int" "void *" */
300 #define LINUX_SYS_socketcall 102
302 /* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval50 *" "struct itimerval50 *" */
303 #define LINUX_SYS_setitimer 104
305 /* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval50 *" */
306 #define LINUX_SYS_getitimer 105
308 /* syscall: "stat" ret: "int" args: "const char *" "struct linux_stat *" */
309 #define LINUX_SYS_stat 106
311 /* syscall: "lstat" ret: "int" args: "const char *" "struct linux_stat *" */
312 #define LINUX_SYS_lstat 107
314 /* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */
315 #define LINUX_SYS_fstat 108
317 /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage50 *" */
318 #define LINUX_SYS_wait4 114
320 /* syscall: "swapoff" ret: "int" args: "const char *" */
321 #define LINUX_SYS_swapoff 115
323 /* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
324 #define LINUX_SYS_sysinfo 116
326 /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "void *" */
327 #define LINUX_SYS_ipc 117
329 /* syscall: "fsync" ret: "int" args: "int" */
330 #define LINUX_SYS_fsync 118
332 /* syscall: "sigreturn" ret: "int" args: */
333 #define LINUX_SYS_sigreturn 119
335 /* syscall: "clone" ret: "int" args: "int" "void *" */
336 #define LINUX_SYS_clone 120
338 /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
339 #define LINUX_SYS_setdomainname 121
341 /* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
342 #define LINUX_SYS_uname 122
344 /* syscall: "cacheflush" ret: "int" args: "unsigned long" "int" "int" "unsigned long" */
345 #define LINUX_SYS_cacheflush 123
347 /* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */
348 #define LINUX_SYS_mprotect 125
350 /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */
351 #define LINUX_SYS_sigprocmask 126
353 /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
354 #define LINUX_SYS_getpgid 132
356 /* syscall: "fchdir" ret: "int" args: "int" */
357 #define LINUX_SYS_fchdir 133
359 /* syscall: "personality" ret: "int" args: "unsigned long" */
360 #define LINUX_SYS_personality 136
362 /* syscall: "linux_setfsuid16" ret: "int" args: "uid_t" */
363 #define LINUX_SYS_linux_setfsuid16 138
365 /* syscall: "linux_setfsgid16" ret: "int" args: "gid_t" */
366 #define LINUX_SYS_linux_setfsgid16 139
368 /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "void *" "int" */
369 #define LINUX_SYS_llseek 140
371 /* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */
372 #define LINUX_SYS_getdents 141
374 /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */
375 #define LINUX_SYS_select 142
377 /* syscall: "flock" ret: "int" args: "int" "int" */
378 #define LINUX_SYS_flock 143
380 /* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
381 #define LINUX_SYS___msync13 144
383 /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
384 #define LINUX_SYS_readv 145
386 /* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
387 #define LINUX_SYS_writev 146
389 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
390 #define LINUX_SYS_getsid 147
392 /* syscall: "fdatasync" ret: "int" args: "int" */
393 #define LINUX_SYS_fdatasync 148
395 /* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
396 #define LINUX_SYS___sysctl 149
398 /* syscall: "mlock" ret: "int" args: "void *" "size_t" */
399 #define LINUX_SYS_mlock 150
401 /* syscall: "munlock" ret: "int" args: "void *" "size_t" */
402 #define LINUX_SYS_munlock 151
404 /* syscall: "mlockall" ret: "int" args: "int" */
405 #define LINUX_SYS_mlockall 152
407 /* syscall: "munlockall" ret: "int" args: */
408 #define LINUX_SYS_munlockall 153
410 /* syscall: "sched_setparam" ret: "int" args: "pid_t" "const struct linux_sched_param *" */
411 #define LINUX_SYS_sched_setparam 154
413 /* syscall: "sched_getparam" ret: "int" args: "pid_t" "struct linux_sched_param *" */
414 #define LINUX_SYS_sched_getparam 155
416 /* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "const struct linux_sched_param *" */
417 #define LINUX_SYS_sched_setscheduler 156
419 /* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */
420 #define LINUX_SYS_sched_getscheduler 157
422 /* syscall: "sched_yield" ret: "int" args: */
423 #define LINUX_SYS_sched_yield 158
425 /* syscall: "sched_get_priority_max" ret: "int" args: "int" */
426 #define LINUX_SYS_sched_get_priority_max 159
428 /* syscall: "sched_get_priority_min" ret: "int" args: "int" */
429 #define LINUX_SYS_sched_get_priority_min 160
431 /* syscall: "nanosleep" ret: "int" args: "const struct linux_timespec *" "struct linux_timespec *" */
432 #define LINUX_SYS_nanosleep 162
434 /* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */
435 #define LINUX_SYS_mremap 163
437 /* syscall: "setresuid16" ret: "int" args: "linux_uid16_t" "linux_uid16_t" "linux_uid16_t" */
438 #define LINUX_SYS_setresuid16 164
440 /* syscall: "getresuid16" ret: "int" args: "linux_uid16_t *" "linux_uid16_t *" "linux_uid16_t *" */
441 #define LINUX_SYS_getresuid16 165
443 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
444 #define LINUX_SYS_poll 168
446 /* syscall: "setresgid16" ret: "int" args: "linux_gid16_t" "linux_gid16_t" "linux_gid16_t" */
447 #define LINUX_SYS_setresgid16 170
449 /* syscall: "getresgid16" ret: "int" args: "linux_gid16_t *" "linux_gid16_t *" "linux_gid16_t *" */
450 #define LINUX_SYS_getresgid16 171
452 /* syscall: "rt_sigreturn" ret: "int" args: */
453 #define LINUX_SYS_rt_sigreturn 173
455 /* syscall: "rt_sigaction" ret: "int" args: "int" "const struct linux_sigaction *" "struct linux_sigaction *" "size_t" */
456 #define LINUX_SYS_rt_sigaction 174
458 /* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */
459 #define LINUX_SYS_rt_sigprocmask 175
461 /* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */
462 #define LINUX_SYS_rt_sigpending 176
464 /* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "linux_siginfo_t *" */
465 #define LINUX_SYS_rt_queueinfo 178
467 /* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
468 #define LINUX_SYS_rt_sigsuspend 179
470 /* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
471 #define LINUX_SYS_pread 180
473 /* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
474 #define LINUX_SYS_pwrite 181
476 /* syscall: "lchown16" ret: "int" args: "const char *" "linux_uid16_t" "linux_gid16_t" */
477 #define LINUX_SYS_lchown16 182
479 /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
480 #define LINUX_SYS___getcwd 183
482 /* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */
483 #define LINUX_SYS_sigaltstack 186
485 /* syscall: "__vfork14" ret: "int" args: */
486 #define LINUX_SYS___vfork14 190
488 /* syscall: "ugetrlimit" ret: "int" args: "int" "struct orlimit *" */
489 #define LINUX_SYS_ugetrlimit 191
491 #define linux_sys_mmap2_args linux_sys_mmap_args
492 /* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
493 #define LINUX_SYS_mmap2 192
495 /* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
496 #define LINUX_SYS_truncate64 193
498 /* syscall: "ftruncate64" ret: "int" args: "unsigned int" "off_t" */
499 #define LINUX_SYS_ftruncate64 194
501 /* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
502 #define LINUX_SYS_stat64 195
504 /* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
505 #define LINUX_SYS_lstat64 196
507 /* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
508 #define LINUX_SYS_fstat64 197
510 /* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
511 #define LINUX_SYS___posix_chown 198
513 /* syscall: "getuid" ret: "uid_t" args: */
514 #define LINUX_SYS_getuid 199
516 /* syscall: "getgid" ret: "gid_t" args: */
517 #define LINUX_SYS_getgid 200
519 /* syscall: "geteuid" ret: "uid_t" args: */
520 #define LINUX_SYS_geteuid 201
522 /* syscall: "getegid" ret: "gid_t" args: */
523 #define LINUX_SYS_getegid 202
525 /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
526 #define LINUX_SYS_setreuid 203
528 /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
529 #define LINUX_SYS_setregid 204
531 /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
532 #define LINUX_SYS_getgroups 205
534 /* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
535 #define LINUX_SYS_setgroups 206
537 /* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
538 #define LINUX_SYS___posix_fchown 207
540 /* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
541 #define LINUX_SYS_setresuid 208
543 /* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
544 #define LINUX_SYS_getresuid 209
546 /* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
547 #define LINUX_SYS_setresgid 210
549 /* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
550 #define LINUX_SYS_getresgid 211
552 /* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
553 #define LINUX_SYS___posix_lchown 212
555 /* syscall: "setuid" ret: "int" args: "uid_t" */
556 #define LINUX_SYS_setuid 213
558 /* syscall: "setgid" ret: "int" args: "gid_t" */
559 #define LINUX_SYS_setgid 214
561 /* syscall: "setfsuid" ret: "int" args: "uid_t" */
562 #define LINUX_SYS_setfsuid 215
564 /* syscall: "setfsgid" ret: "int" args: "gid_t" */
565 #define LINUX_SYS_setfsgid 216
567 /* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
568 #define LINUX_SYS_getdents64 220
570 /* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
571 #define LINUX_SYS_setxattr 223
573 /* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
574 #define LINUX_SYS_lsetxattr 224
576 /* syscall: "fsetxattr" ret: "int" args: "int" "char *" "void *" "size_t" "int" */
577 #define LINUX_SYS_fsetxattr 225
579 /* syscall: "getxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
580 #define LINUX_SYS_getxattr 226
582 /* syscall: "lgetxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
583 #define LINUX_SYS_lgetxattr 227
585 /* syscall: "fgetxattr" ret: "ssize_t" args: "int" "char *" "void *" "size_t" */
586 #define LINUX_SYS_fgetxattr 228
588 /* syscall: "listxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
589 #define LINUX_SYS_listxattr 229
591 /* syscall: "llistxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
592 #define LINUX_SYS_llistxattr 230
594 /* syscall: "flistxattr" ret: "ssize_t" args: "int" "char *" "size_t" */
595 #define LINUX_SYS_flistxattr 231
597 /* syscall: "removexattr" ret: "int" args: "char *" "char *" */
598 #define LINUX_SYS_removexattr 232
600 /* syscall: "lremovexattr" ret: "int" args: "char *" "char *" */
601 #define LINUX_SYS_lremovexattr 233
603 /* syscall: "fremovexattr" ret: "int" args: "int" "char *" */
604 #define LINUX_SYS_fremovexattr 234
606 /* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
607 #define LINUX_SYS_clock_settime 259
609 /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
610 #define LINUX_SYS_clock_gettime 260
612 /* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */
613 #define LINUX_SYS_clock_getres 261
615 /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */
616 #define LINUX_SYS_clock_nanosleep 262
618 #define LINUX_SYS_MAXSYSCALL 263
619 #define LINUX_SYS_NSYSENT 512
620 #endif /* _LINUX_SYS_SYSCALL_H_ */