Add the preadv() and pwritev() systems and regenerate.
[dragonfly.git] / sys / sys / syscall.h
CommitLineData
984263bc
MD
1/*
2 * System call numbers.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
7f83ed38
MD
5 * $DragonFly: src/sys/sys/syscall.h,v 1.36 2006/04/26 17:17:57 dillon Exp $
6 * created from DragonFly: src/sys/kern/syscalls.master,v 1.31 2006/03/24 06:45:04 dillon Exp
984263bc
MD
7 */
8
9#define SYS_syscall 0
10#define SYS_exit 1
11#define SYS_fork 2
12#define SYS_read 3
13#define SYS_write 4
14#define SYS_open 5
15#define SYS_close 6
16#define SYS_wait4 7
17 /* 8 is old creat */
18#define SYS_link 9
19#define SYS_unlink 10
20 /* 11 is obsolete execv */
21#define SYS_chdir 12
22#define SYS_fchdir 13
23#define SYS_mknod 14
24#define SYS_chmod 15
25#define SYS_chown 16
26#define SYS_break 17
27#define SYS_getfsstat 18
28 /* 19 is old lseek */
29#define SYS_getpid 20
30#define SYS_mount 21
31#define SYS_unmount 22
32#define SYS_setuid 23
33#define SYS_getuid 24
34#define SYS_geteuid 25
35#define SYS_ptrace 26
36#define SYS_recvmsg 27
37#define SYS_sendmsg 28
38#define SYS_recvfrom 29
39#define SYS_accept 30
40#define SYS_getpeername 31
41#define SYS_getsockname 32
42#define SYS_access 33
43#define SYS_chflags 34
44#define SYS_fchflags 35
45#define SYS_sync 36
46#define SYS_kill 37
47 /* 38 is old stat */
48#define SYS_getppid 39
49 /* 40 is old lstat */
50#define SYS_dup 41
51#define SYS_pipe 42
52#define SYS_getegid 43
53#define SYS_profil 44
54#define SYS_ktrace 45
65957d54 55 /* 46 is obsolete freebsd3_sigaction */
984263bc 56#define SYS_getgid 47
65957d54 57 /* 48 is obsolete freebsd3_sigprocmask */
984263bc
MD
58#define SYS_getlogin 49
59#define SYS_setlogin 50
60#define SYS_acct 51
65957d54 61 /* 52 is obsolete freebsd3_sigpending */
984263bc
MD
62#define SYS_sigaltstack 53
63#define SYS_ioctl 54
64#define SYS_reboot 55
65#define SYS_revoke 56
66#define SYS_symlink 57
67#define SYS_readlink 58
68#define SYS_execve 59
69#define SYS_umask 60
70#define SYS_chroot 61
71 /* 62 is old fstat */
72 /* 63 is old getkerninfo */
73 /* 64 is old getpagesize */
74#define SYS_msync 65
75#define SYS_vfork 66
76 /* 67 is obsolete vread */
77 /* 68 is obsolete vwrite */
78#define SYS_sbrk 69
79#define SYS_sstk 70
80 /* 71 is old mmap */
81#define SYS_vadvise 72
82#define SYS_munmap 73
83#define SYS_mprotect 74
84#define SYS_madvise 75
85 /* 76 is obsolete vhangup */
86 /* 77 is obsolete vlimit */
87#define SYS_mincore 78
88#define SYS_getgroups 79
89#define SYS_setgroups 80
90#define SYS_getpgrp 81
91#define SYS_setpgid 82
92#define SYS_setitimer 83
93 /* 84 is old wait */
94#define SYS_swapon 85
95#define SYS_getitimer 86
96 /* 87 is old gethostname */
97 /* 88 is old sethostname */
98#define SYS_getdtablesize 89
99#define SYS_dup2 90
100#define SYS_fcntl 92
101#define SYS_select 93
102#define SYS_fsync 95
103#define SYS_setpriority 96
104#define SYS_socket 97
105#define SYS_connect 98
106 /* 99 is old accept */
107#define SYS_getpriority 100
108 /* 101 is old send */
109 /* 102 is old recv */
65957d54 110 /* 103 is obsolete freebsd3_sigreturn */
984263bc
MD
111#define SYS_bind 104
112#define SYS_setsockopt 105
113#define SYS_listen 106
114 /* 107 is obsolete vtimes */
115 /* 108 is old sigvec */
116 /* 109 is old sigblock */
117 /* 110 is old sigsetmask */
65957d54 118 /* 111 is obsolete freebsd3_sigsuspend */
984263bc
MD
119 /* 112 is old sigstack */
120 /* 113 is old recvmsg */
121 /* 114 is old sendmsg */
122 /* 115 is obsolete vtrace */
123#define SYS_gettimeofday 116
124#define SYS_getrusage 117
125#define SYS_getsockopt 118
126#define SYS_readv 120
127#define SYS_writev 121
128#define SYS_settimeofday 122
129#define SYS_fchown 123
130#define SYS_fchmod 124
131 /* 125 is old recvfrom */
132#define SYS_setreuid 126
133#define SYS_setregid 127
134#define SYS_rename 128
135 /* 129 is old truncate */
136 /* 130 is old ftruncate */
137#define SYS_flock 131
138#define SYS_mkfifo 132
139#define SYS_sendto 133
140#define SYS_shutdown 134
141#define SYS_socketpair 135
142#define SYS_mkdir 136
143#define SYS_rmdir 137
144#define SYS_utimes 138
145 /* 139 is obsolete 4.2 sigreturn */
146#define SYS_adjtime 140
147 /* 141 is old getpeername */
148 /* 142 is old gethostid */
149 /* 143 is old sethostid */
150 /* 144 is old getrlimit */
151 /* 145 is old setrlimit */
152 /* 146 is old killpg */
153#define SYS_setsid 147
154#define SYS_quotactl 148
155 /* 149 is old quota */
156 /* 150 is old getsockname */
157#define SYS_nfssvc 155
158 /* 156 is old getdirentries */
159#define SYS_statfs 157
160#define SYS_fstatfs 158
161#define SYS_getfh 161
162#define SYS_getdomainname 162
163#define SYS_setdomainname 163
164#define SYS_uname 164
165#define SYS_sysarch 165
166#define SYS_rtprio 166
167#define SYS_semsys 169
168#define SYS_msgsys 170
169#define SYS_shmsys 171
170#define SYS_pread 173
171#define SYS_pwrite 174
172#define SYS_ntp_adjtime 176
173#define SYS_setgid 181
174#define SYS_setegid 182
175#define SYS_seteuid 183
f1787048
JS
176 /* 188 is old stat */
177 /* 189 is old fstat */
178 /* 190 is old lstat */
984263bc
MD
179#define SYS_pathconf 191
180#define SYS_fpathconf 192
181#define SYS_getrlimit 194
182#define SYS_setrlimit 195
01f31ab3 183 /* 196 is old getdirentries */
984263bc
MD
184#define SYS_mmap 197
185#define SYS___syscall 198
186#define SYS_lseek 199
187#define SYS_truncate 200
188#define SYS_ftruncate 201
189#define SYS___sysctl 202
190#define SYS_mlock 203
191#define SYS_munlock 204
192#define SYS_undelete 205
193#define SYS_futimes 206
194#define SYS_getpgid 207
195#define SYS_poll 209
196#define SYS___semctl 220
197#define SYS_semget 221
198#define SYS_semop 222
199#define SYS_msgctl 224
200#define SYS_msgget 225
201#define SYS_msgsnd 226
202#define SYS_msgrcv 227
203#define SYS_shmat 228
204#define SYS_shmctl 229
205#define SYS_shmdt 230
206#define SYS_shmget 231
207#define SYS_clock_gettime 232
208#define SYS_clock_settime 233
209#define SYS_clock_getres 234
210#define SYS_nanosleep 240
211#define SYS_minherit 250
212#define SYS_rfork 251
213#define SYS_openbsd_poll 252
214#define SYS_issetugid 253
215#define SYS_lchown 254
01f31ab3 216 /* 272 is old getdents */
984263bc
MD
217#define SYS_lchmod 274
218#define SYS_netbsd_lchown 275
219#define SYS_lutimes 276
220#define SYS_netbsd_msync 277
d06e0be9
JS
221 /* 278 is obsolete { */
222 /* 279 is obsolete { */
223 /* 280 is obsolete { */
7f83ed38
MD
224#define SYS_preadv 289
225#define SYS_pwritev 290
984263bc
MD
226#define SYS_fhstatfs 297
227#define SYS_fhopen 298
f1787048 228 /* 299 is old fhstat */
984263bc
MD
229#define SYS_modnext 300
230#define SYS_modstat 301
231#define SYS_modfnext 302
232#define SYS_modfind 303
233#define SYS_kldload 304
234#define SYS_kldunload 305
235#define SYS_kldfind 306
236#define SYS_kldnext 307
237#define SYS_kldstat 308
238#define SYS_kldfirstmod 309
239#define SYS_getsid 310
240#define SYS_setresuid 311
241#define SYS_setresgid 312
242 /* 313 is obsolete signanosleep */
243#define SYS_aio_return 314
244#define SYS_aio_suspend 315
245#define SYS_aio_cancel 316
246#define SYS_aio_error 317
247#define SYS_aio_read 318
248#define SYS_aio_write 319
249#define SYS_lio_listio 320
250#define SYS_yield 321
251#define SYS_thr_sleep 322
252#define SYS_thr_wakeup 323
253#define SYS_mlockall 324
254#define SYS_munlockall 325
255#define SYS___getcwd 326
256#define SYS_sched_setparam 327
257#define SYS_sched_getparam 328
258#define SYS_sched_setscheduler 329
259#define SYS_sched_getscheduler 330
260#define SYS_sched_yield 331
261#define SYS_sched_get_priority_max 332
262#define SYS_sched_get_priority_min 333
263#define SYS_sched_rr_get_interval 334
264#define SYS_utrace 335
75a872f8 265 /* 336 is obsolete freebsd4_sendfile */
984263bc
MD
266#define SYS_kldsym 337
267#define SYS_jail 338
268#define SYS_sigprocmask 340
269#define SYS_sigsuspend 341
270#define SYS_sigaction 342
271#define SYS_sigpending 343
272#define SYS_sigreturn 344
3a59f0f7
DX
273#define SYS_sigtimedwait 345
274#define SYS_sigwaitinfo 346
984263bc
MD
275#define SYS___acl_get_file 347
276#define SYS___acl_set_file 348
277#define SYS___acl_get_fd 349
278#define SYS___acl_set_fd 350
279#define SYS___acl_delete_file 351
280#define SYS___acl_delete_fd 352
281#define SYS___acl_aclcheck_file 353
282#define SYS___acl_aclcheck_fd 354
283#define SYS_extattrctl 355
284#define SYS_extattr_set_file 356
285#define SYS_extattr_get_file 357
286#define SYS_extattr_delete_file 358
287#define SYS_aio_waitcomplete 359
288#define SYS_getresuid 360
289#define SYS_getresgid 361
290#define SYS_kqueue 362
291#define SYS_kevent 363
78812139 292#define SYS_sctp_peeloff 364
984263bc 293#define SYS_sendfile 393
98a7f915
MD
294#define SYS_varsym_set 450
295#define SYS_varsym_get 451
0a004aa2 296#define SYS_varsym_list 452
a722be49
MD
297#define SYS_upc_register 453
298#define SYS_upc_control 454
1bc8e992
MD
299#define SYS_caps_sys_service 455
300#define SYS_caps_sys_client 456
301#define SYS_caps_sys_close 457
302#define SYS_caps_sys_put 458
303#define SYS_caps_sys_reply 459
304#define SYS_caps_sys_get 460
305#define SYS_caps_sys_wait 461
306#define SYS_caps_sys_abort 462
e30f9e2c
MD
307#define SYS_caps_sys_getgen 463
308#define SYS_caps_sys_setgen 464
29802dbb
MD
309#define SYS_exec_sys_register 465
310#define SYS_exec_sys_unregister 466
0ba6fbbf 311#define SYS_sys_checkpoint 467
949ecb9b 312#define SYS_mountctl 468
da5fb9ef
MD
313#define SYS_umtx_sleep 469
314#define SYS_umtx_wakeup 470
b9fca94d 315#define SYS_jail_attach 471
806bf111
MD
316#define SYS_sys_set_tls_area 472
317#define SYS_sys_get_tls_area 473
ae5995b9 318#define SYS_closefrom 474
f1787048
JS
319#define SYS_stat 475
320#define SYS_fstat 476
321#define SYS_lstat 477
322#define SYS_fhstat 478
01f31ab3
JS
323#define SYS_getdirentries 479
324#define SYS_getdents 480
cb7f4ab1
MD
325#define SYS_usched_set 481
326#define SYS_MAXSYSCALL 482