Nuke huge mbuf macros stage 1/2: Remove massive inline mbuf macros to reduce
[dragonfly.git] / sys / sys / sysproto.h
1 /*
2  * System call prototypes.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * $DragonFly: src/sys/sys/sysproto.h,v 1.3 2003/06/23 17:55:50 dillon Exp $
6  * created from TurtleBSD: src/sys/kern/syscalls.master,v 1.2 2003/06/17 04:28:41 dillon Exp 
7  */
8
9 #ifndef _SYS_SYSPROTO_H_
10 #define _SYS_SYSPROTO_H_
11
12 #include <sys/signal.h>
13
14 #include <sys/acl.h>
15
16 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
17                 0 : sizeof(register_t) - sizeof(t))
18
19 struct  nosys_args {
20         register_t dummy;
21 };
22 struct  sys_exit_args {
23         int     rval;   char rval_[PAD_(int)];
24 };
25 struct  fork_args {
26         register_t dummy;
27 };
28 struct  read_args {
29         int     fd;     char fd_[PAD_(int)];
30         void *  buf;    char buf_[PAD_(void *)];
31         size_t  nbyte;  char nbyte_[PAD_(size_t)];
32 };
33 struct  write_args {
34         int     fd;     char fd_[PAD_(int)];
35         const void *    buf;    char buf_[PAD_(const void *)];
36         size_t  nbyte;  char nbyte_[PAD_(size_t)];
37 };
38 struct  open_args {
39         char *  path;   char path_[PAD_(char *)];
40         int     flags;  char flags_[PAD_(int)];
41         int     mode;   char mode_[PAD_(int)];
42 };
43 struct  close_args {
44         int     fd;     char fd_[PAD_(int)];
45 };
46 struct  wait_args {
47         int     pid;    char pid_[PAD_(int)];
48         int *   status; char status_[PAD_(int *)];
49         int     options;        char options_[PAD_(int)];
50         struct rusage * rusage; char rusage_[PAD_(struct rusage *)];
51 };
52 struct  link_args {
53         char *  path;   char path_[PAD_(char *)];
54         char *  link;   char link_[PAD_(char *)];
55 };
56 struct  unlink_args {
57         char *  path;   char path_[PAD_(char *)];
58 };
59 struct  chdir_args {
60         char *  path;   char path_[PAD_(char *)];
61 };
62 struct  fchdir_args {
63         int     fd;     char fd_[PAD_(int)];
64 };
65 struct  mknod_args {
66         char *  path;   char path_[PAD_(char *)];
67         int     mode;   char mode_[PAD_(int)];
68         int     dev;    char dev_[PAD_(int)];
69 };
70 struct  chmod_args {
71         char *  path;   char path_[PAD_(char *)];
72         int     mode;   char mode_[PAD_(int)];
73 };
74 struct  chown_args {
75         char *  path;   char path_[PAD_(char *)];
76         int     uid;    char uid_[PAD_(int)];
77         int     gid;    char gid_[PAD_(int)];
78 };
79 struct  obreak_args {
80         char *  nsize;  char nsize_[PAD_(char *)];
81 };
82 struct  getfsstat_args {
83         struct statfs * buf;    char buf_[PAD_(struct statfs *)];
84         long    bufsize;        char bufsize_[PAD_(long)];
85         int     flags;  char flags_[PAD_(int)];
86 };
87 struct  getpid_args {
88         register_t dummy;
89 };
90 struct  mount_args {
91         char *  type;   char type_[PAD_(char *)];
92         char *  path;   char path_[PAD_(char *)];
93         int     flags;  char flags_[PAD_(int)];
94         caddr_t data;   char data_[PAD_(caddr_t)];
95 };
96 struct  unmount_args {
97         char *  path;   char path_[PAD_(char *)];
98         int     flags;  char flags_[PAD_(int)];
99 };
100 struct  setuid_args {
101         uid_t   uid;    char uid_[PAD_(uid_t)];
102 };
103 struct  getuid_args {
104         register_t dummy;
105 };
106 struct  geteuid_args {
107         register_t dummy;
108 };
109 struct  ptrace_args {
110         int     req;    char req_[PAD_(int)];
111         pid_t   pid;    char pid_[PAD_(pid_t)];
112         caddr_t addr;   char addr_[PAD_(caddr_t)];
113         int     data;   char data_[PAD_(int)];
114 };
115 struct  recvmsg_args {
116         int     s;      char s_[PAD_(int)];
117         struct msghdr * msg;    char msg_[PAD_(struct msghdr *)];
118         int     flags;  char flags_[PAD_(int)];
119 };
120 struct  sendmsg_args {
121         int     s;      char s_[PAD_(int)];
122         caddr_t msg;    char msg_[PAD_(caddr_t)];
123         int     flags;  char flags_[PAD_(int)];
124 };
125 struct  recvfrom_args {
126         int     s;      char s_[PAD_(int)];
127         caddr_t buf;    char buf_[PAD_(caddr_t)];
128         size_t  len;    char len_[PAD_(size_t)];
129         int     flags;  char flags_[PAD_(int)];
130         caddr_t from;   char from_[PAD_(caddr_t)];
131         int *   fromlenaddr;    char fromlenaddr_[PAD_(int *)];
132 };
133 struct  accept_args {
134         int     s;      char s_[PAD_(int)];
135         caddr_t name;   char name_[PAD_(caddr_t)];
136         int *   anamelen;       char anamelen_[PAD_(int *)];
137 };
138 struct  getpeername_args {
139         int     fdes;   char fdes_[PAD_(int)];
140         caddr_t asa;    char asa_[PAD_(caddr_t)];
141         int *   alen;   char alen_[PAD_(int *)];
142 };
143 struct  getsockname_args {
144         int     fdes;   char fdes_[PAD_(int)];
145         caddr_t asa;    char asa_[PAD_(caddr_t)];
146         int *   alen;   char alen_[PAD_(int *)];
147 };
148 struct  access_args {
149         char *  path;   char path_[PAD_(char *)];
150         int     flags;  char flags_[PAD_(int)];
151 };
152 struct  chflags_args {
153         char *  path;   char path_[PAD_(char *)];
154         int     flags;  char flags_[PAD_(int)];
155 };
156 struct  fchflags_args {
157         int     fd;     char fd_[PAD_(int)];
158         int     flags;  char flags_[PAD_(int)];
159 };
160 struct  sync_args {
161         register_t dummy;
162 };
163 struct  kill_args {
164         int     pid;    char pid_[PAD_(int)];
165         int     signum; char signum_[PAD_(int)];
166 };
167 struct  getppid_args {
168         register_t dummy;
169 };
170 struct  dup_args {
171         u_int   fd;     char fd_[PAD_(u_int)];
172 };
173 struct  pipe_args {
174         register_t dummy;
175 };
176 struct  getegid_args {
177         register_t dummy;
178 };
179 struct  profil_args {
180         caddr_t samples;        char samples_[PAD_(caddr_t)];
181         size_t  size;   char size_[PAD_(size_t)];
182         size_t  offset; char offset_[PAD_(size_t)];
183         u_int   scale;  char scale_[PAD_(u_int)];
184 };
185 struct  ktrace_args {
186         const char *    fname;  char fname_[PAD_(const char *)];
187         int     ops;    char ops_[PAD_(int)];
188         int     facs;   char facs_[PAD_(int)];
189         int     pid;    char pid_[PAD_(int)];
190 };
191 struct  getgid_args {
192         register_t dummy;
193 };
194 struct  getlogin_args {
195         char *  namebuf;        char namebuf_[PAD_(char *)];
196         u_int   namelen;        char namelen_[PAD_(u_int)];
197 };
198 struct  setlogin_args {
199         char *  namebuf;        char namebuf_[PAD_(char *)];
200 };
201 struct  acct_args {
202         char *  path;   char path_[PAD_(char *)];
203 };
204 struct  osigpending_args {
205         register_t dummy;
206 };
207 struct  sigaltstack_args {
208         stack_t *       ss;     char ss_[PAD_(stack_t *)];
209         stack_t *       oss;    char oss_[PAD_(stack_t *)];
210 };
211 struct  ioctl_args {
212         int     fd;     char fd_[PAD_(int)];
213         u_long  com;    char com_[PAD_(u_long)];
214         caddr_t data;   char data_[PAD_(caddr_t)];
215 };
216 struct  reboot_args {
217         int     opt;    char opt_[PAD_(int)];
218 };
219 struct  revoke_args {
220         char *  path;   char path_[PAD_(char *)];
221 };
222 struct  symlink_args {
223         char *  path;   char path_[PAD_(char *)];
224         char *  link;   char link_[PAD_(char *)];
225 };
226 struct  readlink_args {
227         char *  path;   char path_[PAD_(char *)];
228         char *  buf;    char buf_[PAD_(char *)];
229         int     count;  char count_[PAD_(int)];
230 };
231 struct  execve_args {
232         char *  fname;  char fname_[PAD_(char *)];
233         char ** argv;   char argv_[PAD_(char **)];
234         char ** envv;   char envv_[PAD_(char **)];
235 };
236 struct  umask_args {
237         int     newmask;        char newmask_[PAD_(int)];
238 };
239 struct  chroot_args {
240         char *  path;   char path_[PAD_(char *)];
241 };
242 struct  getpagesize_args {
243         register_t dummy;
244 };
245 struct  msync_args {
246         void *  addr;   char addr_[PAD_(void *)];
247         size_t  len;    char len_[PAD_(size_t)];
248         int     flags;  char flags_[PAD_(int)];
249 };
250 struct  vfork_args {
251         register_t dummy;
252 };
253 struct  sbrk_args {
254         int     incr;   char incr_[PAD_(int)];
255 };
256 struct  sstk_args {
257         int     incr;   char incr_[PAD_(int)];
258 };
259 struct  ovadvise_args {
260         int     anom;   char anom_[PAD_(int)];
261 };
262 struct  munmap_args {
263         void *  addr;   char addr_[PAD_(void *)];
264         size_t  len;    char len_[PAD_(size_t)];
265 };
266 struct  mprotect_args {
267         const void *    addr;   char addr_[PAD_(const void *)];
268         size_t  len;    char len_[PAD_(size_t)];
269         int     prot;   char prot_[PAD_(int)];
270 };
271 struct  madvise_args {
272         void *  addr;   char addr_[PAD_(void *)];
273         size_t  len;    char len_[PAD_(size_t)];
274         int     behav;  char behav_[PAD_(int)];
275 };
276 struct  mincore_args {
277         const void *    addr;   char addr_[PAD_(const void *)];
278         size_t  len;    char len_[PAD_(size_t)];
279         char *  vec;    char vec_[PAD_(char *)];
280 };
281 struct  getgroups_args {
282         u_int   gidsetsize;     char gidsetsize_[PAD_(u_int)];
283         gid_t * gidset; char gidset_[PAD_(gid_t *)];
284 };
285 struct  setgroups_args {
286         u_int   gidsetsize;     char gidsetsize_[PAD_(u_int)];
287         gid_t * gidset; char gidset_[PAD_(gid_t *)];
288 };
289 struct  getpgrp_args {
290         register_t dummy;
291 };
292 struct  setpgid_args {
293         int     pid;    char pid_[PAD_(int)];
294         int     pgid;   char pgid_[PAD_(int)];
295 };
296 struct  setitimer_args {
297         u_int   which;  char which_[PAD_(u_int)];
298         struct itimerval *      itv;    char itv_[PAD_(struct itimerval *)];
299         struct itimerval *      oitv;   char oitv_[PAD_(struct itimerval *)];
300 };
301 struct  owait_args {
302         register_t dummy;
303 };
304 struct  swapon_args {
305         char *  name;   char name_[PAD_(char *)];
306 };
307 struct  getitimer_args {
308         u_int   which;  char which_[PAD_(u_int)];
309         struct itimerval *      itv;    char itv_[PAD_(struct itimerval *)];
310 };
311 struct  getdtablesize_args {
312         register_t dummy;
313 };
314 struct  dup2_args {
315         u_int   from;   char from_[PAD_(u_int)];
316         u_int   to;     char to_[PAD_(u_int)];
317 };
318 struct  fcntl_args {
319         int     fd;     char fd_[PAD_(int)];
320         int     cmd;    char cmd_[PAD_(int)];
321         long    arg;    char arg_[PAD_(long)];
322 };
323 struct  select_args {
324         int     nd;     char nd_[PAD_(int)];
325         fd_set *        in;     char in_[PAD_(fd_set *)];
326         fd_set *        ou;     char ou_[PAD_(fd_set *)];
327         fd_set *        ex;     char ex_[PAD_(fd_set *)];
328         struct timeval *        tv;     char tv_[PAD_(struct timeval *)];
329 };
330 struct  fsync_args {
331         int     fd;     char fd_[PAD_(int)];
332 };
333 struct  setpriority_args {
334         int     which;  char which_[PAD_(int)];
335         int     who;    char who_[PAD_(int)];
336         int     prio;   char prio_[PAD_(int)];
337 };
338 struct  socket_args {
339         int     domain; char domain_[PAD_(int)];
340         int     type;   char type_[PAD_(int)];
341         int     protocol;       char protocol_[PAD_(int)];
342 };
343 struct  connect_args {
344         int     s;      char s_[PAD_(int)];
345         caddr_t name;   char name_[PAD_(caddr_t)];
346         int     namelen;        char namelen_[PAD_(int)];
347 };
348 struct  getpriority_args {
349         int     which;  char which_[PAD_(int)];
350         int     who;    char who_[PAD_(int)];
351 };
352 struct  bind_args {
353         int     s;      char s_[PAD_(int)];
354         caddr_t name;   char name_[PAD_(caddr_t)];
355         int     namelen;        char namelen_[PAD_(int)];
356 };
357 struct  setsockopt_args {
358         int     s;      char s_[PAD_(int)];
359         int     level;  char level_[PAD_(int)];
360         int     name;   char name_[PAD_(int)];
361         caddr_t val;    char val_[PAD_(caddr_t)];
362         int     valsize;        char valsize_[PAD_(int)];
363 };
364 struct  listen_args {
365         int     s;      char s_[PAD_(int)];
366         int     backlog;        char backlog_[PAD_(int)];
367 };
368 struct  gettimeofday_args {
369         struct timeval *        tp;     char tp_[PAD_(struct timeval *)];
370         struct timezone *       tzp;    char tzp_[PAD_(struct timezone *)];
371 };
372 struct  getrusage_args {
373         int     who;    char who_[PAD_(int)];
374         struct rusage * rusage; char rusage_[PAD_(struct rusage *)];
375 };
376 struct  getsockopt_args {
377         int     s;      char s_[PAD_(int)];
378         int     level;  char level_[PAD_(int)];
379         int     name;   char name_[PAD_(int)];
380         caddr_t val;    char val_[PAD_(caddr_t)];
381         int *   avalsize;       char avalsize_[PAD_(int *)];
382 };
383 struct  readv_args {
384         int     fd;     char fd_[PAD_(int)];
385         struct iovec *  iovp;   char iovp_[PAD_(struct iovec *)];
386         u_int   iovcnt; char iovcnt_[PAD_(u_int)];
387 };
388 struct  writev_args {
389         int     fd;     char fd_[PAD_(int)];
390         struct iovec *  iovp;   char iovp_[PAD_(struct iovec *)];
391         u_int   iovcnt; char iovcnt_[PAD_(u_int)];
392 };
393 struct  settimeofday_args {
394         struct timeval *        tv;     char tv_[PAD_(struct timeval *)];
395         struct timezone *       tzp;    char tzp_[PAD_(struct timezone *)];
396 };
397 struct  fchown_args {
398         int     fd;     char fd_[PAD_(int)];
399         int     uid;    char uid_[PAD_(int)];
400         int     gid;    char gid_[PAD_(int)];
401 };
402 struct  fchmod_args {
403         int     fd;     char fd_[PAD_(int)];
404         int     mode;   char mode_[PAD_(int)];
405 };
406 struct  setreuid_args {
407         int     ruid;   char ruid_[PAD_(int)];
408         int     euid;   char euid_[PAD_(int)];
409 };
410 struct  setregid_args {
411         int     rgid;   char rgid_[PAD_(int)];
412         int     egid;   char egid_[PAD_(int)];
413 };
414 struct  rename_args {
415         char *  from;   char from_[PAD_(char *)];
416         char *  to;     char to_[PAD_(char *)];
417 };
418 struct  flock_args {
419         int     fd;     char fd_[PAD_(int)];
420         int     how;    char how_[PAD_(int)];
421 };
422 struct  mkfifo_args {
423         char *  path;   char path_[PAD_(char *)];
424         int     mode;   char mode_[PAD_(int)];
425 };
426 struct  sendto_args {
427         int     s;      char s_[PAD_(int)];
428         caddr_t buf;    char buf_[PAD_(caddr_t)];
429         size_t  len;    char len_[PAD_(size_t)];
430         int     flags;  char flags_[PAD_(int)];
431         caddr_t to;     char to_[PAD_(caddr_t)];
432         int     tolen;  char tolen_[PAD_(int)];
433 };
434 struct  shutdown_args {
435         int     s;      char s_[PAD_(int)];
436         int     how;    char how_[PAD_(int)];
437 };
438 struct  socketpair_args {
439         int     domain; char domain_[PAD_(int)];
440         int     type;   char type_[PAD_(int)];
441         int     protocol;       char protocol_[PAD_(int)];
442         int *   rsv;    char rsv_[PAD_(int *)];
443 };
444 struct  mkdir_args {
445         char *  path;   char path_[PAD_(char *)];
446         int     mode;   char mode_[PAD_(int)];
447 };
448 struct  rmdir_args {
449         char *  path;   char path_[PAD_(char *)];
450 };
451 struct  utimes_args {
452         char *  path;   char path_[PAD_(char *)];
453         struct timeval *        tptr;   char tptr_[PAD_(struct timeval *)];
454 };
455 struct  adjtime_args {
456         struct timeval *        delta;  char delta_[PAD_(struct timeval *)];
457         struct timeval *        olddelta;       char olddelta_[PAD_(struct timeval *)];
458 };
459 struct  ogethostid_args {
460         register_t dummy;
461 };
462 struct  setsid_args {
463         register_t dummy;
464 };
465 struct  quotactl_args {
466         char *  path;   char path_[PAD_(char *)];
467         int     cmd;    char cmd_[PAD_(int)];
468         int     uid;    char uid_[PAD_(int)];
469         caddr_t arg;    char arg_[PAD_(caddr_t)];
470 };
471 struct  oquota_args {
472         register_t dummy;
473 };
474 struct  nfssvc_args {
475         int     flag;   char flag_[PAD_(int)];
476         caddr_t argp;   char argp_[PAD_(caddr_t)];
477 };
478 struct  statfs_args {
479         char *  path;   char path_[PAD_(char *)];
480         struct statfs * buf;    char buf_[PAD_(struct statfs *)];
481 };
482 struct  fstatfs_args {
483         int     fd;     char fd_[PAD_(int)];
484         struct statfs * buf;    char buf_[PAD_(struct statfs *)];
485 };
486 struct  getfh_args {
487         char *  fname;  char fname_[PAD_(char *)];
488         struct fhandle *        fhp;    char fhp_[PAD_(struct fhandle *)];
489 };
490 struct  getdomainname_args {
491         char *  domainname;     char domainname_[PAD_(char *)];
492         int     len;    char len_[PAD_(int)];
493 };
494 struct  setdomainname_args {
495         char *  domainname;     char domainname_[PAD_(char *)];
496         int     len;    char len_[PAD_(int)];
497 };
498 struct  uname_args {
499         struct utsname *        name;   char name_[PAD_(struct utsname *)];
500 };
501 struct  sysarch_args {
502         int     op;     char op_[PAD_(int)];
503         char *  parms;  char parms_[PAD_(char *)];
504 };
505 struct  rtprio_args {
506         int     function;       char function_[PAD_(int)];
507         pid_t   pid;    char pid_[PAD_(pid_t)];
508         struct rtprio * rtp;    char rtp_[PAD_(struct rtprio *)];
509 };
510 struct  semsys_args {
511         int     which;  char which_[PAD_(int)];
512         int     a2;     char a2_[PAD_(int)];
513         int     a3;     char a3_[PAD_(int)];
514         int     a4;     char a4_[PAD_(int)];
515         int     a5;     char a5_[PAD_(int)];
516 };
517 struct  msgsys_args {
518         int     which;  char which_[PAD_(int)];
519         int     a2;     char a2_[PAD_(int)];
520         int     a3;     char a3_[PAD_(int)];
521         int     a4;     char a4_[PAD_(int)];
522         int     a5;     char a5_[PAD_(int)];
523         int     a6;     char a6_[PAD_(int)];
524 };
525 struct  shmsys_args {
526         int     which;  char which_[PAD_(int)];
527         int     a2;     char a2_[PAD_(int)];
528         int     a3;     char a3_[PAD_(int)];
529         int     a4;     char a4_[PAD_(int)];
530 };
531 struct  pread_args {
532         int     fd;     char fd_[PAD_(int)];
533         void *  buf;    char buf_[PAD_(void *)];
534         size_t  nbyte;  char nbyte_[PAD_(size_t)];
535         int     pad;    char pad_[PAD_(int)];
536         off_t   offset; char offset_[PAD_(off_t)];
537 };
538 struct  pwrite_args {
539         int     fd;     char fd_[PAD_(int)];
540         const void *    buf;    char buf_[PAD_(const void *)];
541         size_t  nbyte;  char nbyte_[PAD_(size_t)];
542         int     pad;    char pad_[PAD_(int)];
543         off_t   offset; char offset_[PAD_(off_t)];
544 };
545 struct  ntp_adjtime_args {
546         struct timex *  tp;     char tp_[PAD_(struct timex *)];
547 };
548 struct  setgid_args {
549         gid_t   gid;    char gid_[PAD_(gid_t)];
550 };
551 struct  setegid_args {
552         gid_t   egid;   char egid_[PAD_(gid_t)];
553 };
554 struct  seteuid_args {
555         uid_t   euid;   char euid_[PAD_(uid_t)];
556 };
557 struct  stat_args {
558         char *  path;   char path_[PAD_(char *)];
559         struct stat *   ub;     char ub_[PAD_(struct stat *)];
560 };
561 struct  fstat_args {
562         int     fd;     char fd_[PAD_(int)];
563         struct stat *   sb;     char sb_[PAD_(struct stat *)];
564 };
565 struct  lstat_args {
566         char *  path;   char path_[PAD_(char *)];
567         struct stat *   ub;     char ub_[PAD_(struct stat *)];
568 };
569 struct  pathconf_args {
570         char *  path;   char path_[PAD_(char *)];
571         int     name;   char name_[PAD_(int)];
572 };
573 struct  fpathconf_args {
574         int     fd;     char fd_[PAD_(int)];
575         int     name;   char name_[PAD_(int)];
576 };
577 struct  __getrlimit_args {
578         u_int   which;  char which_[PAD_(u_int)];
579         struct rlimit * rlp;    char rlp_[PAD_(struct rlimit *)];
580 };
581 struct  __setrlimit_args {
582         u_int   which;  char which_[PAD_(u_int)];
583         struct rlimit * rlp;    char rlp_[PAD_(struct rlimit *)];
584 };
585 struct  getdirentries_args {
586         int     fd;     char fd_[PAD_(int)];
587         char *  buf;    char buf_[PAD_(char *)];
588         u_int   count;  char count_[PAD_(u_int)];
589         long *  basep;  char basep_[PAD_(long *)];
590 };
591 struct  mmap_args {
592         caddr_t addr;   char addr_[PAD_(caddr_t)];
593         size_t  len;    char len_[PAD_(size_t)];
594         int     prot;   char prot_[PAD_(int)];
595         int     flags;  char flags_[PAD_(int)];
596         int     fd;     char fd_[PAD_(int)];
597         int     pad;    char pad_[PAD_(int)];
598         off_t   pos;    char pos_[PAD_(off_t)];
599 };
600 struct  lseek_args {
601         int     fd;     char fd_[PAD_(int)];
602         int     pad;    char pad_[PAD_(int)];
603         off_t   offset; char offset_[PAD_(off_t)];
604         int     whence; char whence_[PAD_(int)];
605 };
606 struct  truncate_args {
607         char *  path;   char path_[PAD_(char *)];
608         int     pad;    char pad_[PAD_(int)];
609         off_t   length; char length_[PAD_(off_t)];
610 };
611 struct  ftruncate_args {
612         int     fd;     char fd_[PAD_(int)];
613         int     pad;    char pad_[PAD_(int)];
614         off_t   length; char length_[PAD_(off_t)];
615 };
616 struct  sysctl_args {
617         int *   name;   char name_[PAD_(int *)];
618         u_int   namelen;        char namelen_[PAD_(u_int)];
619         void *  old;    char old_[PAD_(void *)];
620         size_t *        oldlenp;        char oldlenp_[PAD_(size_t *)];
621         void *  new;    char new_[PAD_(void *)];
622         size_t  newlen; char newlen_[PAD_(size_t)];
623 };
624 struct  mlock_args {
625         const void *    addr;   char addr_[PAD_(const void *)];
626         size_t  len;    char len_[PAD_(size_t)];
627 };
628 struct  munlock_args {
629         const void *    addr;   char addr_[PAD_(const void *)];
630         size_t  len;    char len_[PAD_(size_t)];
631 };
632 struct  undelete_args {
633         char *  path;   char path_[PAD_(char *)];
634 };
635 struct  futimes_args {
636         int     fd;     char fd_[PAD_(int)];
637         struct timeval *        tptr;   char tptr_[PAD_(struct timeval *)];
638 };
639 struct  getpgid_args {
640         pid_t   pid;    char pid_[PAD_(pid_t)];
641 };
642 struct  poll_args {
643         struct pollfd * fds;    char fds_[PAD_(struct pollfd *)];
644         u_int   nfds;   char nfds_[PAD_(u_int)];
645         int     timeout;        char timeout_[PAD_(int)];
646 };
647 struct  __semctl_args {
648         int     semid;  char semid_[PAD_(int)];
649         int     semnum; char semnum_[PAD_(int)];
650         int     cmd;    char cmd_[PAD_(int)];
651         union semun *   arg;    char arg_[PAD_(union semun *)];
652 };
653 struct  semget_args {
654         key_t   key;    char key_[PAD_(key_t)];
655         int     nsems;  char nsems_[PAD_(int)];
656         int     semflg; char semflg_[PAD_(int)];
657 };
658 struct  semop_args {
659         int     semid;  char semid_[PAD_(int)];
660         struct sembuf * sops;   char sops_[PAD_(struct sembuf *)];
661         u_int   nsops;  char nsops_[PAD_(u_int)];
662 };
663 struct  msgctl_args {
664         int     msqid;  char msqid_[PAD_(int)];
665         int     cmd;    char cmd_[PAD_(int)];
666         struct msqid_ds *       buf;    char buf_[PAD_(struct msqid_ds *)];
667 };
668 struct  msgget_args {
669         key_t   key;    char key_[PAD_(key_t)];
670         int     msgflg; char msgflg_[PAD_(int)];
671 };
672 struct  msgsnd_args {
673         int     msqid;  char msqid_[PAD_(int)];
674         void *  msgp;   char msgp_[PAD_(void *)];
675         size_t  msgsz;  char msgsz_[PAD_(size_t)];
676         int     msgflg; char msgflg_[PAD_(int)];
677 };
678 struct  msgrcv_args {
679         int     msqid;  char msqid_[PAD_(int)];
680         void *  msgp;   char msgp_[PAD_(void *)];
681         size_t  msgsz;  char msgsz_[PAD_(size_t)];
682         long    msgtyp; char msgtyp_[PAD_(long)];
683         int     msgflg; char msgflg_[PAD_(int)];
684 };
685 struct  shmat_args {
686         int     shmid;  char shmid_[PAD_(int)];
687         void *  shmaddr;        char shmaddr_[PAD_(void *)];
688         int     shmflg; char shmflg_[PAD_(int)];
689 };
690 struct  shmctl_args {
691         int     shmid;  char shmid_[PAD_(int)];
692         int     cmd;    char cmd_[PAD_(int)];
693         struct shmid_ds *       buf;    char buf_[PAD_(struct shmid_ds *)];
694 };
695 struct  shmdt_args {
696         void *  shmaddr;        char shmaddr_[PAD_(void *)];
697 };
698 struct  shmget_args {
699         key_t   key;    char key_[PAD_(key_t)];
700         int     size;   char size_[PAD_(int)];
701         int     shmflg; char shmflg_[PAD_(int)];
702 };
703 struct  clock_gettime_args {
704         clockid_t       clock_id;       char clock_id_[PAD_(clockid_t)];
705         struct timespec *       tp;     char tp_[PAD_(struct timespec *)];
706 };
707 struct  clock_settime_args {
708         clockid_t       clock_id;       char clock_id_[PAD_(clockid_t)];
709         const struct timespec * tp;     char tp_[PAD_(const struct timespec *)];
710 };
711 struct  clock_getres_args {
712         clockid_t       clock_id;       char clock_id_[PAD_(clockid_t)];
713         struct timespec *       tp;     char tp_[PAD_(struct timespec *)];
714 };
715 struct  nanosleep_args {
716         const struct timespec * rqtp;   char rqtp_[PAD_(const struct timespec *)];
717         struct timespec *       rmtp;   char rmtp_[PAD_(struct timespec *)];
718 };
719 struct  minherit_args {
720         void *  addr;   char addr_[PAD_(void *)];
721         size_t  len;    char len_[PAD_(size_t)];
722         int     inherit;        char inherit_[PAD_(int)];
723 };
724 struct  rfork_args {
725         int     flags;  char flags_[PAD_(int)];
726 };
727 struct  openbsd_poll_args {
728         struct pollfd * fds;    char fds_[PAD_(struct pollfd *)];
729         u_int   nfds;   char nfds_[PAD_(u_int)];
730         int     timeout;        char timeout_[PAD_(int)];
731 };
732 struct  issetugid_args {
733         register_t dummy;
734 };
735 struct  lchown_args {
736         char *  path;   char path_[PAD_(char *)];
737         int     uid;    char uid_[PAD_(int)];
738         int     gid;    char gid_[PAD_(int)];
739 };
740 struct  getdents_args {
741         int     fd;     char fd_[PAD_(int)];
742         char *  buf;    char buf_[PAD_(char *)];
743         size_t  count;  char count_[PAD_(size_t)];
744 };
745 struct  lchmod_args {
746         char *  path;   char path_[PAD_(char *)];
747         mode_t  mode;   char mode_[PAD_(mode_t)];
748 };
749 struct  lutimes_args {
750         char *  path;   char path_[PAD_(char *)];
751         struct timeval *        tptr;   char tptr_[PAD_(struct timeval *)];
752 };
753 struct  nstat_args {
754         char *  path;   char path_[PAD_(char *)];
755         struct nstat *  ub;     char ub_[PAD_(struct nstat *)];
756 };
757 struct  nfstat_args {
758         int     fd;     char fd_[PAD_(int)];
759         struct nstat *  sb;     char sb_[PAD_(struct nstat *)];
760 };
761 struct  nlstat_args {
762         char *  path;   char path_[PAD_(char *)];
763         struct nstat *  ub;     char ub_[PAD_(struct nstat *)];
764 };
765 struct  fhstatfs_args {
766         const struct fhandle *  u_fhp;  char u_fhp_[PAD_(const struct fhandle *)];
767         struct statfs * buf;    char buf_[PAD_(struct statfs *)];
768 };
769 struct  fhopen_args {
770         const struct fhandle *  u_fhp;  char u_fhp_[PAD_(const struct fhandle *)];
771         int     flags;  char flags_[PAD_(int)];
772 };
773 struct  fhstat_args {
774         const struct fhandle *  u_fhp;  char u_fhp_[PAD_(const struct fhandle *)];
775         struct stat *   sb;     char sb_[PAD_(struct stat *)];
776 };
777 struct  modnext_args {
778         int     modid;  char modid_[PAD_(int)];
779 };
780 struct  modstat_args {
781         int     modid;  char modid_[PAD_(int)];
782         struct module_stat *    stat;   char stat_[PAD_(struct module_stat *)];
783 };
784 struct  modfnext_args {
785         int     modid;  char modid_[PAD_(int)];
786 };
787 struct  modfind_args {
788         const char *    name;   char name_[PAD_(const char *)];
789 };
790 struct  kldload_args {
791         const char *    file;   char file_[PAD_(const char *)];
792 };
793 struct  kldunload_args {
794         int     fileid; char fileid_[PAD_(int)];
795 };
796 struct  kldfind_args {
797         const char *    file;   char file_[PAD_(const char *)];
798 };
799 struct  kldnext_args {
800         int     fileid; char fileid_[PAD_(int)];
801 };
802 struct  kldstat_args {
803         int     fileid; char fileid_[PAD_(int)];
804         struct kld_file_stat *  stat;   char stat_[PAD_(struct kld_file_stat *)];
805 };
806 struct  kldfirstmod_args {
807         int     fileid; char fileid_[PAD_(int)];
808 };
809 struct  getsid_args {
810         pid_t   pid;    char pid_[PAD_(pid_t)];
811 };
812 struct  setresuid_args {
813         uid_t   ruid;   char ruid_[PAD_(uid_t)];
814         uid_t   euid;   char euid_[PAD_(uid_t)];
815         uid_t   suid;   char suid_[PAD_(uid_t)];
816 };
817 struct  setresgid_args {
818         gid_t   rgid;   char rgid_[PAD_(gid_t)];
819         gid_t   egid;   char egid_[PAD_(gid_t)];
820         gid_t   sgid;   char sgid_[PAD_(gid_t)];
821 };
822 struct  aio_return_args {
823         struct aiocb *  aiocbp; char aiocbp_[PAD_(struct aiocb *)];
824 };
825 struct  aio_suspend_args {
826         struct aiocb *const *   aiocbp; char aiocbp_[PAD_(struct aiocb *const *)];
827         int     nent;   char nent_[PAD_(int)];
828         const struct timespec * timeout;        char timeout_[PAD_(const struct timespec *)];
829 };
830 struct  aio_cancel_args {
831         int     fd;     char fd_[PAD_(int)];
832         struct aiocb *  aiocbp; char aiocbp_[PAD_(struct aiocb *)];
833 };
834 struct  aio_error_args {
835         struct aiocb *  aiocbp; char aiocbp_[PAD_(struct aiocb *)];
836 };
837 struct  aio_read_args {
838         struct aiocb *  aiocbp; char aiocbp_[PAD_(struct aiocb *)];
839 };
840 struct  aio_write_args {
841         struct aiocb *  aiocbp; char aiocbp_[PAD_(struct aiocb *)];
842 };
843 struct  lio_listio_args {
844         int     mode;   char mode_[PAD_(int)];
845         struct aiocb *const *   acb_list;       char acb_list_[PAD_(struct aiocb *const *)];
846         int     nent;   char nent_[PAD_(int)];
847         struct sigevent *       sig;    char sig_[PAD_(struct sigevent *)];
848 };
849 struct  yield_args {
850         register_t dummy;
851 };
852 struct  thr_sleep_args {
853         const struct timespec * timeout;        char timeout_[PAD_(const struct timespec *)];
854 };
855 struct  thr_wakeup_args {
856         pid_t   pid;    char pid_[PAD_(pid_t)];
857 };
858 struct  mlockall_args {
859         int     how;    char how_[PAD_(int)];
860 };
861 struct  munlockall_args {
862         register_t dummy;
863 };
864 struct  __getcwd_args {
865         u_char *        buf;    char buf_[PAD_(u_char *)];
866         u_int   buflen; char buflen_[PAD_(u_int)];
867 };
868 struct  sched_setparam_args {
869         pid_t   pid;    char pid_[PAD_(pid_t)];
870         const struct sched_param *      param;  char param_[PAD_(const struct sched_param *)];
871 };
872 struct  sched_getparam_args {
873         pid_t   pid;    char pid_[PAD_(pid_t)];
874         struct sched_param *    param;  char param_[PAD_(struct sched_param *)];
875 };
876 struct  sched_setscheduler_args {
877         pid_t   pid;    char pid_[PAD_(pid_t)];
878         int     policy; char policy_[PAD_(int)];
879         const struct sched_param *      param;  char param_[PAD_(const struct sched_param *)];
880 };
881 struct  sched_getscheduler_args {
882         pid_t   pid;    char pid_[PAD_(pid_t)];
883 };
884 struct  sched_yield_args {
885         register_t dummy;
886 };
887 struct  sched_get_priority_max_args {
888         int     policy; char policy_[PAD_(int)];
889 };
890 struct  sched_get_priority_min_args {
891         int     policy; char policy_[PAD_(int)];
892 };
893 struct  sched_rr_get_interval_args {
894         pid_t   pid;    char pid_[PAD_(pid_t)];
895         struct timespec *       interval;       char interval_[PAD_(struct timespec *)];
896 };
897 struct  utrace_args {
898         const void *    addr;   char addr_[PAD_(const void *)];
899         size_t  len;    char len_[PAD_(size_t)];
900 };
901 struct  kldsym_args {
902         int     fileid; char fileid_[PAD_(int)];
903         int     cmd;    char cmd_[PAD_(int)];
904         void *  data;   char data_[PAD_(void *)];
905 };
906 struct  jail_args {
907         struct jail *   jail;   char jail_[PAD_(struct jail *)];
908 };
909 struct  sigprocmask_args {
910         int     how;    char how_[PAD_(int)];
911         const sigset_t *        set;    char set_[PAD_(const sigset_t *)];
912         sigset_t *      oset;   char oset_[PAD_(sigset_t *)];
913 };
914 struct  sigsuspend_args {
915         const sigset_t *        sigmask;        char sigmask_[PAD_(const sigset_t *)];
916 };
917 struct  sigaction_args {
918         int     sig;    char sig_[PAD_(int)];
919         const struct sigaction *        act;    char act_[PAD_(const struct sigaction *)];
920         struct sigaction *      oact;   char oact_[PAD_(struct sigaction *)];
921 };
922 struct  sigpending_args {
923         sigset_t *      set;    char set_[PAD_(sigset_t *)];
924 };
925 struct  sigreturn_args {
926         ucontext_t *    sigcntxp;       char sigcntxp_[PAD_(ucontext_t *)];
927 };
928 struct  __acl_get_file_args {
929         const char *    path;   char path_[PAD_(const char *)];
930         acl_type_t      type;   char type_[PAD_(acl_type_t)];
931         struct acl *    aclp;   char aclp_[PAD_(struct acl *)];
932 };
933 struct  __acl_set_file_args {
934         const char *    path;   char path_[PAD_(const char *)];
935         acl_type_t      type;   char type_[PAD_(acl_type_t)];
936         struct acl *    aclp;   char aclp_[PAD_(struct acl *)];
937 };
938 struct  __acl_get_fd_args {
939         int     filedes;        char filedes_[PAD_(int)];
940         acl_type_t      type;   char type_[PAD_(acl_type_t)];
941         struct acl *    aclp;   char aclp_[PAD_(struct acl *)];
942 };
943 struct  __acl_set_fd_args {
944         int     filedes;        char filedes_[PAD_(int)];
945         acl_type_t      type;   char type_[PAD_(acl_type_t)];
946         struct acl *    aclp;   char aclp_[PAD_(struct acl *)];
947 };
948 struct  __acl_delete_file_args {
949         const char *    path;   char path_[PAD_(const char *)];
950         acl_type_t      type;   char type_[PAD_(acl_type_t)];
951 };
952 struct  __acl_delete_fd_args {
953         int     filedes;        char filedes_[PAD_(int)];
954         acl_type_t      type;   char type_[PAD_(acl_type_t)];
955 };
956 struct  __acl_aclcheck_file_args {
957         const char *    path;   char path_[PAD_(const char *)];
958         acl_type_t      type;   char type_[PAD_(acl_type_t)];
959         struct acl *    aclp;   char aclp_[PAD_(struct acl *)];
960 };
961 struct  __acl_aclcheck_fd_args {
962         int     filedes;        char filedes_[PAD_(int)];
963         acl_type_t      type;   char type_[PAD_(acl_type_t)];
964         struct acl *    aclp;   char aclp_[PAD_(struct acl *)];
965 };
966 struct  extattrctl_args {
967         const char *    path;   char path_[PAD_(const char *)];
968         int     cmd;    char cmd_[PAD_(int)];
969         const char *    attrname;       char attrname_[PAD_(const char *)];
970         char *  arg;    char arg_[PAD_(char *)];
971 };
972 struct  extattr_set_file_args {
973         const char *    path;   char path_[PAD_(const char *)];
974         const char *    attrname;       char attrname_[PAD_(const char *)];
975         struct iovec *  iovp;   char iovp_[PAD_(struct iovec *)];
976         unsigned        iovcnt; char iovcnt_[PAD_(unsigned)];
977 };
978 struct  extattr_get_file_args {
979         const char *    path;   char path_[PAD_(const char *)];
980         const char *    attrname;       char attrname_[PAD_(const char *)];
981         struct iovec *  iovp;   char iovp_[PAD_(struct iovec *)];
982         unsigned        iovcnt; char iovcnt_[PAD_(unsigned)];
983 };
984 struct  extattr_delete_file_args {
985         const char *    path;   char path_[PAD_(const char *)];
986         const char *    attrname;       char attrname_[PAD_(const char *)];
987 };
988 struct  aio_waitcomplete_args {
989         struct aiocb ** aiocbp; char aiocbp_[PAD_(struct aiocb **)];
990         struct timespec *       timeout;        char timeout_[PAD_(struct timespec *)];
991 };
992 struct  getresuid_args {
993         uid_t * ruid;   char ruid_[PAD_(uid_t *)];
994         uid_t * euid;   char euid_[PAD_(uid_t *)];
995         uid_t * suid;   char suid_[PAD_(uid_t *)];
996 };
997 struct  getresgid_args {
998         gid_t * rgid;   char rgid_[PAD_(gid_t *)];
999         gid_t * egid;   char egid_[PAD_(gid_t *)];
1000         gid_t * sgid;   char sgid_[PAD_(gid_t *)];
1001 };
1002 struct  kqueue_args {
1003         register_t dummy;
1004 };
1005 struct  kevent_args {
1006         int     fd;     char fd_[PAD_(int)];
1007         const struct kevent *   changelist;     char changelist_[PAD_(const struct kevent *)];
1008         int     nchanges;       char nchanges_[PAD_(int)];
1009         struct kevent * eventlist;      char eventlist_[PAD_(struct kevent *)];
1010         int     nevents;        char nevents_[PAD_(int)];
1011         const struct timespec * timeout;        char timeout_[PAD_(const struct timespec *)];
1012 };
1013 struct  sendfile_args {
1014         int     fd;     char fd_[PAD_(int)];
1015         int     s;      char s_[PAD_(int)];
1016         off_t   offset; char offset_[PAD_(off_t)];
1017         size_t  nbytes; char nbytes_[PAD_(size_t)];
1018         struct sf_hdtr *        hdtr;   char hdtr_[PAD_(struct sf_hdtr *)];
1019         off_t * sbytes; char sbytes_[PAD_(off_t *)];
1020         int     flags;  char flags_[PAD_(int)];
1021 };
1022 int     nosys __P((struct nosys_args *));
1023 void    sys_exit __P((struct sys_exit_args *));
1024 int     fork __P((struct fork_args *));
1025 int     read __P((struct read_args *));
1026 int     write __P((struct write_args *));
1027 int     open __P((struct open_args *));
1028 int     close __P((struct close_args *));
1029 int     wait4 __P((struct wait_args *));
1030 int     link __P((struct link_args *));
1031 int     unlink __P((struct unlink_args *));
1032 int     chdir __P((struct chdir_args *));
1033 int     fchdir __P((struct fchdir_args *));
1034 int     mknod __P((struct mknod_args *));
1035 int     chmod __P((struct chmod_args *));
1036 int     chown __P((struct chown_args *));
1037 int     obreak __P((struct obreak_args *));
1038 int     getfsstat __P((struct getfsstat_args *));
1039 int     getpid __P((struct getpid_args *));
1040 int     mount __P((struct mount_args *));
1041 int     unmount __P((struct unmount_args *));
1042 int     setuid __P((struct setuid_args *));
1043 int     getuid __P((struct getuid_args *));
1044 int     geteuid __P((struct geteuid_args *));
1045 int     ptrace __P((struct ptrace_args *));
1046 int     recvmsg __P((struct recvmsg_args *));
1047 int     sendmsg __P((struct sendmsg_args *));
1048 int     recvfrom __P((struct recvfrom_args *));
1049 int     accept __P((struct accept_args *));
1050 int     getpeername __P((struct getpeername_args *));
1051 int     getsockname __P((struct getsockname_args *));
1052 int     access __P((struct access_args *));
1053 int     chflags __P((struct chflags_args *));
1054 int     fchflags __P((struct fchflags_args *));
1055 int     sync __P((struct sync_args *));
1056 int     kill __P((struct kill_args *));
1057 int     getppid __P((struct getppid_args *));
1058 int     dup __P((struct dup_args *));
1059 int     pipe __P((struct pipe_args *));
1060 int     getegid __P((struct getegid_args *));
1061 int     profil __P((struct profil_args *));
1062 int     ktrace __P((struct ktrace_args *));
1063 int     getgid __P((struct getgid_args *));
1064 int     getlogin __P((struct getlogin_args *));
1065 int     setlogin __P((struct setlogin_args *));
1066 int     acct __P((struct acct_args *));
1067 int     sigaltstack __P((struct sigaltstack_args *));
1068 int     ioctl __P((struct ioctl_args *));
1069 int     reboot __P((struct reboot_args *));
1070 int     revoke __P((struct revoke_args *));
1071 int     symlink __P((struct symlink_args *));
1072 int     readlink __P((struct readlink_args *));
1073 int     execve __P((struct execve_args *));
1074 int     umask __P((struct umask_args *));
1075 int     chroot __P((struct chroot_args *));
1076 int     msync __P((struct msync_args *));
1077 int     vfork __P((struct vfork_args *));
1078 int     sbrk __P((struct sbrk_args *));
1079 int     sstk __P((struct sstk_args *));
1080 int     ovadvise __P((struct ovadvise_args *));
1081 int     munmap __P((struct munmap_args *));
1082 int     mprotect __P((struct mprotect_args *));
1083 int     madvise __P((struct madvise_args *));
1084 int     mincore __P((struct mincore_args *));
1085 int     getgroups __P((struct getgroups_args *));
1086 int     setgroups __P((struct setgroups_args *));
1087 int     getpgrp __P((struct getpgrp_args *));
1088 int     setpgid __P((struct setpgid_args *));
1089 int     setitimer __P((struct setitimer_args *));
1090 int     swapon __P((struct swapon_args *));
1091 int     getitimer __P((struct getitimer_args *));
1092 int     getdtablesize __P((struct getdtablesize_args *));
1093 int     dup2 __P((struct dup2_args *));
1094 int     fcntl __P((struct fcntl_args *));
1095 int     select __P((struct select_args *));
1096 int     fsync __P((struct fsync_args *));
1097 int     setpriority __P((struct setpriority_args *));
1098 int     socket __P((struct socket_args *));
1099 int     connect __P((struct connect_args *));
1100 int     getpriority __P((struct getpriority_args *));
1101 int     bind __P((struct bind_args *));
1102 int     setsockopt __P((struct setsockopt_args *));
1103 int     listen __P((struct listen_args *));
1104 int     gettimeofday __P((struct gettimeofday_args *));
1105 int     getrusage __P((struct getrusage_args *));
1106 int     getsockopt __P((struct getsockopt_args *));
1107 int     readv __P((struct readv_args *));
1108 int     writev __P((struct writev_args *));
1109 int     settimeofday __P((struct settimeofday_args *));
1110 int     fchown __P((struct fchown_args *));
1111 int     fchmod __P((struct fchmod_args *));
1112 int     setreuid __P((struct setreuid_args *));
1113 int     setregid __P((struct setregid_args *));
1114 int     rename __P((struct rename_args *));
1115 int     flock __P((struct flock_args *));
1116 int     mkfifo __P((struct mkfifo_args *));
1117 int     sendto __P((struct sendto_args *));
1118 int     shutdown __P((struct shutdown_args *));
1119 int     socketpair __P((struct socketpair_args *));
1120 int     mkdir __P((struct mkdir_args *));
1121 int     rmdir __P((struct rmdir_args *));
1122 int     utimes __P((struct utimes_args *));
1123 int     adjtime __P((struct adjtime_args *));
1124 int     setsid __P((struct setsid_args *));
1125 int     quotactl __P((struct quotactl_args *));
1126 int     nfssvc __P((struct nfssvc_args *));
1127 int     statfs __P((struct statfs_args *));
1128 int     fstatfs __P((struct fstatfs_args *));
1129 int     getfh __P((struct getfh_args *));
1130 int     getdomainname __P((struct getdomainname_args *));
1131 int     setdomainname __P((struct setdomainname_args *));
1132 int     uname __P((struct uname_args *));
1133 int     sysarch __P((struct sysarch_args *));
1134 int     rtprio __P((struct rtprio_args *));
1135 int     semsys __P((struct semsys_args *));
1136 int     msgsys __P((struct msgsys_args *));
1137 int     shmsys __P((struct shmsys_args *));
1138 int     pread __P((struct pread_args *));
1139 int     pwrite __P((struct pwrite_args *));
1140 int     ntp_adjtime __P((struct ntp_adjtime_args *));
1141 int     setgid __P((struct setgid_args *));
1142 int     setegid __P((struct setegid_args *));
1143 int     seteuid __P((struct seteuid_args *));
1144 int     stat __P((struct stat_args *));
1145 int     fstat __P((struct fstat_args *));
1146 int     lstat __P((struct lstat_args *));
1147 int     pathconf __P((struct pathconf_args *));
1148 int     fpathconf __P((struct fpathconf_args *));
1149 int     getrlimit __P((struct __getrlimit_args *));
1150 int     setrlimit __P((struct __setrlimit_args *));
1151 int     getdirentries __P((struct getdirentries_args *));
1152 int     mmap __P((struct mmap_args *));
1153 int     lseek __P((struct lseek_args *));
1154 int     truncate __P((struct truncate_args *));
1155 int     ftruncate __P((struct ftruncate_args *));
1156 int     __sysctl __P((struct sysctl_args *));
1157 int     mlock __P((struct mlock_args *));
1158 int     munlock __P((struct munlock_args *));
1159 int     undelete __P((struct undelete_args *));
1160 int     futimes __P((struct futimes_args *));
1161 int     getpgid __P((struct getpgid_args *));
1162 int     poll __P((struct poll_args *));
1163 int     lkmnosys __P((struct nosys_args *));
1164 int     __semctl __P((struct __semctl_args *));
1165 int     semget __P((struct semget_args *));
1166 int     semop __P((struct semop_args *));
1167 int     msgctl __P((struct msgctl_args *));
1168 int     msgget __P((struct msgget_args *));
1169 int     msgsnd __P((struct msgsnd_args *));
1170 int     msgrcv __P((struct msgrcv_args *));
1171 int     shmat __P((struct shmat_args *));
1172 int     shmctl __P((struct shmctl_args *));
1173 int     shmdt __P((struct shmdt_args *));
1174 int     shmget __P((struct shmget_args *));
1175 int     clock_gettime __P((struct clock_gettime_args *));
1176 int     clock_settime __P((struct clock_settime_args *));
1177 int     clock_getres __P((struct clock_getres_args *));
1178 int     nanosleep __P((struct nanosleep_args *));
1179 int     minherit __P((struct minherit_args *));
1180 int     rfork __P((struct rfork_args *));
1181 int     openbsd_poll __P((struct openbsd_poll_args *));
1182 int     issetugid __P((struct issetugid_args *));
1183 int     lchown __P((struct lchown_args *));
1184 int     getdents __P((struct getdents_args *));
1185 int     lchmod __P((struct lchmod_args *));
1186 int     lutimes __P((struct lutimes_args *));
1187 int     nstat __P((struct nstat_args *));
1188 int     nfstat __P((struct nfstat_args *));
1189 int     nlstat __P((struct nlstat_args *));
1190 int     fhstatfs __P((struct fhstatfs_args *));
1191 int     fhopen __P((struct fhopen_args *));
1192 int     fhstat __P((struct fhstat_args *));
1193 int     modnext __P((struct modnext_args *));
1194 int     modstat __P((struct modstat_args *));
1195 int     modfnext __P((struct modfnext_args *));
1196 int     modfind __P((struct modfind_args *));
1197 int     kldload __P((struct kldload_args *));
1198 int     kldunload __P((struct kldunload_args *));
1199 int     kldfind __P((struct kldfind_args *));
1200 int     kldnext __P((struct kldnext_args *));
1201 int     kldstat __P((struct kldstat_args *));
1202 int     kldfirstmod __P((struct kldfirstmod_args *));
1203 int     getsid __P((struct getsid_args *));
1204 int     setresuid __P((struct setresuid_args *));
1205 int     setresgid __P((struct setresgid_args *));
1206 int     aio_return __P((struct aio_return_args *));
1207 int     aio_suspend __P((struct aio_suspend_args *));
1208 int     aio_cancel __P((struct aio_cancel_args *));
1209 int     aio_error __P((struct aio_error_args *));
1210 int     aio_read __P((struct aio_read_args *));
1211 int     aio_write __P((struct aio_write_args *));
1212 int     lio_listio __P((struct lio_listio_args *));
1213 int     yield __P((struct yield_args *));
1214 int     thr_sleep __P((struct thr_sleep_args *));
1215 int     thr_wakeup __P((struct thr_wakeup_args *));
1216 int     mlockall __P((struct mlockall_args *));
1217 int     munlockall __P((struct munlockall_args *));
1218 int     __getcwd __P((struct __getcwd_args *));
1219 int     sched_setparam __P((struct sched_setparam_args *));
1220 int     sched_getparam __P((struct sched_getparam_args *));
1221 int     sched_setscheduler __P((struct sched_setscheduler_args *));
1222 int     sched_getscheduler __P((struct sched_getscheduler_args *));
1223 int     sched_yield __P((struct sched_yield_args *));
1224 int     sched_get_priority_max __P((struct sched_get_priority_max_args *));
1225 int     sched_get_priority_min __P((struct sched_get_priority_min_args *));
1226 int     sched_rr_get_interval __P((struct sched_rr_get_interval_args *));
1227 int     utrace __P((struct utrace_args *));
1228 int     kldsym __P((struct kldsym_args *));
1229 int     jail __P((struct jail_args *));
1230 int     sigprocmask __P((struct sigprocmask_args *));
1231 int     sigsuspend __P((struct sigsuspend_args *));
1232 int     sigaction __P((struct sigaction_args *));
1233 int     sigpending __P((struct sigpending_args *));
1234 int     sigreturn __P((struct sigreturn_args *));
1235 int     __acl_get_file __P((struct __acl_get_file_args *));
1236 int     __acl_set_file __P((struct __acl_set_file_args *));
1237 int     __acl_get_fd __P((struct __acl_get_fd_args *));
1238 int     __acl_set_fd __P((struct __acl_set_fd_args *));
1239 int     __acl_delete_file __P((struct __acl_delete_file_args *));
1240 int     __acl_delete_fd __P((struct __acl_delete_fd_args *));
1241 int     __acl_aclcheck_file __P((struct __acl_aclcheck_file_args *));
1242 int     __acl_aclcheck_fd __P((struct __acl_aclcheck_fd_args *));
1243 int     extattrctl __P((struct extattrctl_args *));
1244 int     extattr_set_file __P((struct extattr_set_file_args *));
1245 int     extattr_get_file __P((struct extattr_get_file_args *));
1246 int     extattr_delete_file __P((struct extattr_delete_file_args *));
1247 int     aio_waitcomplete __P((struct aio_waitcomplete_args *));
1248 int     getresuid __P((struct getresuid_args *));
1249 int     getresgid __P((struct getresgid_args *));
1250 int     kqueue __P((struct kqueue_args *));
1251 int     kevent __P((struct kevent_args *));
1252 int     sendfile __P((struct sendfile_args *));
1253
1254 #ifdef COMPAT_43
1255
1256 struct  ocreat_args {
1257         char *  path;   char path_[PAD_(char *)];
1258         int     mode;   char mode_[PAD_(int)];
1259 };
1260 struct  olseek_args {
1261         int     fd;     char fd_[PAD_(int)];
1262         long    offset; char offset_[PAD_(long)];
1263         int     whence; char whence_[PAD_(int)];
1264 };
1265 struct  ostat_args {
1266         char *  path;   char path_[PAD_(char *)];
1267         struct ostat *  ub;     char ub_[PAD_(struct ostat *)];
1268 };
1269 struct  olstat_args {
1270         char *  path;   char path_[PAD_(char *)];
1271         struct ostat *  ub;     char ub_[PAD_(struct ostat *)];
1272 };
1273 struct  osigaction_args {
1274         int     signum; char signum_[PAD_(int)];
1275         struct osigaction *     nsa;    char nsa_[PAD_(struct osigaction *)];
1276         struct osigaction *     osa;    char osa_[PAD_(struct osigaction *)];
1277 };
1278 struct  osigprocmask_args {
1279         int     how;    char how_[PAD_(int)];
1280         osigset_t       mask;   char mask_[PAD_(osigset_t)];
1281 };
1282 struct  ofstat_args {
1283         int     fd;     char fd_[PAD_(int)];
1284         struct ostat *  sb;     char sb_[PAD_(struct ostat *)];
1285 };
1286 struct  getkerninfo_args {
1287         int     op;     char op_[PAD_(int)];
1288         char *  where;  char where_[PAD_(char *)];
1289         size_t *        size;   char size_[PAD_(size_t *)];
1290         int     arg;    char arg_[PAD_(int)];
1291 };
1292 struct  ommap_args {
1293         void *  addr;   char addr_[PAD_(void *)];
1294         int     len;    char len_[PAD_(int)];
1295         int     prot;   char prot_[PAD_(int)];
1296         int     flags;  char flags_[PAD_(int)];
1297         int     fd;     char fd_[PAD_(int)];
1298         long    pos;    char pos_[PAD_(long)];
1299 };
1300 struct  gethostname_args {
1301         char *  hostname;       char hostname_[PAD_(char *)];
1302         u_int   len;    char len_[PAD_(u_int)];
1303 };
1304 struct  sethostname_args {
1305         char *  hostname;       char hostname_[PAD_(char *)];
1306         u_int   len;    char len_[PAD_(u_int)];
1307 };
1308 struct  osend_args {
1309         int     s;      char s_[PAD_(int)];
1310         caddr_t buf;    char buf_[PAD_(caddr_t)];
1311         int     len;    char len_[PAD_(int)];
1312         int     flags;  char flags_[PAD_(int)];
1313 };
1314 struct  orecv_args {
1315         int     s;      char s_[PAD_(int)];
1316         caddr_t buf;    char buf_[PAD_(caddr_t)];
1317         int     len;    char len_[PAD_(int)];
1318         int     flags;  char flags_[PAD_(int)];
1319 };
1320 struct  osigreturn_args {
1321         struct osigcontext *    sigcntxp;       char sigcntxp_[PAD_(struct osigcontext *)];
1322 };
1323 struct  osigvec_args {
1324         int     signum; char signum_[PAD_(int)];
1325         struct sigvec * nsv;    char nsv_[PAD_(struct sigvec *)];
1326         struct sigvec * osv;    char osv_[PAD_(struct sigvec *)];
1327 };
1328 struct  osigblock_args {
1329         int     mask;   char mask_[PAD_(int)];
1330 };
1331 struct  osigsetmask_args {
1332         int     mask;   char mask_[PAD_(int)];
1333 };
1334 struct  osigsuspend_args {
1335         osigset_t       mask;   char mask_[PAD_(osigset_t)];
1336 };
1337 struct  osigstack_args {
1338         struct sigstack *       nss;    char nss_[PAD_(struct sigstack *)];
1339         struct sigstack *       oss;    char oss_[PAD_(struct sigstack *)];
1340 };
1341 struct  orecvmsg_args {
1342         int     s;      char s_[PAD_(int)];
1343         struct omsghdr *        msg;    char msg_[PAD_(struct omsghdr *)];
1344         int     flags;  char flags_[PAD_(int)];
1345 };
1346 struct  osendmsg_args {
1347         int     s;      char s_[PAD_(int)];
1348         caddr_t msg;    char msg_[PAD_(caddr_t)];
1349         int     flags;  char flags_[PAD_(int)];
1350 };
1351 struct  otruncate_args {
1352         char *  path;   char path_[PAD_(char *)];
1353         long    length; char length_[PAD_(long)];
1354 };
1355 struct  oftruncate_args {
1356         int     fd;     char fd_[PAD_(int)];
1357         long    length; char length_[PAD_(long)];
1358 };
1359 struct  ogetpeername_args {
1360         int     fdes;   char fdes_[PAD_(int)];
1361         caddr_t asa;    char asa_[PAD_(caddr_t)];
1362         int *   alen;   char alen_[PAD_(int *)];
1363 };
1364 struct  osethostid_args {
1365         long    hostid; char hostid_[PAD_(long)];
1366 };
1367 struct  ogetrlimit_args {
1368         u_int   which;  char which_[PAD_(u_int)];
1369         struct orlimit *        rlp;    char rlp_[PAD_(struct orlimit *)];
1370 };
1371 struct  osetrlimit_args {
1372         u_int   which;  char which_[PAD_(u_int)];
1373         struct orlimit *        rlp;    char rlp_[PAD_(struct orlimit *)];
1374 };
1375 struct  okillpg_args {
1376         int     pgid;   char pgid_[PAD_(int)];
1377         int     signum; char signum_[PAD_(int)];
1378 };
1379 struct  ogetdirentries_args {
1380         int     fd;     char fd_[PAD_(int)];
1381         char *  buf;    char buf_[PAD_(char *)];
1382         u_int   count;  char count_[PAD_(u_int)];
1383         long *  basep;  char basep_[PAD_(long *)];
1384 };
1385 struct  osendfile_args {
1386         int     fd;     char fd_[PAD_(int)];
1387         int     s;      char s_[PAD_(int)];
1388         off_t   offset; char offset_[PAD_(off_t)];
1389         size_t  nbytes; char nbytes_[PAD_(size_t)];
1390         struct sf_hdtr *        hdtr;   char hdtr_[PAD_(struct sf_hdtr *)];
1391         off_t * sbytes; char sbytes_[PAD_(off_t *)];
1392         int     flags;  char flags_[PAD_(int)];
1393 };
1394 int     ocreat __P((struct ocreat_args *));
1395 int     olseek __P((struct olseek_args *));
1396 int     ostat __P((struct ostat_args *));
1397 int     olstat __P((struct olstat_args *));
1398 int     osigaction __P((struct osigaction_args *));
1399 int     osigprocmask __P((struct osigprocmask_args *));
1400 int     osigpending __P((struct osigpending_args *));
1401 int     ofstat __P((struct ofstat_args *));
1402 int     ogetkerninfo __P((struct getkerninfo_args *));
1403 int     ogetpagesize __P((struct getpagesize_args *));
1404 int     ommap __P((struct ommap_args *));
1405 int     owait __P((struct owait_args *));
1406 int     ogethostname __P((struct gethostname_args *));
1407 int     osethostname __P((struct sethostname_args *));
1408 int     oaccept __P((struct accept_args *));
1409 int     osend __P((struct osend_args *));
1410 int     orecv __P((struct orecv_args *));
1411 int     osigreturn __P((struct osigreturn_args *));
1412 int     osigvec __P((struct osigvec_args *));
1413 int     osigblock __P((struct osigblock_args *));
1414 int     osigsetmask __P((struct osigsetmask_args *));
1415 int     osigsuspend __P((struct osigsuspend_args *));
1416 int     osigstack __P((struct osigstack_args *));
1417 int     orecvmsg __P((struct orecvmsg_args *));
1418 int     osendmsg __P((struct osendmsg_args *));
1419 int     orecvfrom __P((struct recvfrom_args *));
1420 int     otruncate __P((struct otruncate_args *));
1421 int     oftruncate __P((struct oftruncate_args *));
1422 int     ogetpeername __P((struct ogetpeername_args *));
1423 int     ogethostid __P((struct ogethostid_args *));
1424 int     osethostid __P((struct osethostid_args *));
1425 int     ogetrlimit __P((struct ogetrlimit_args *));
1426 int     osetrlimit __P((struct osetrlimit_args *));
1427 int     okillpg __P((struct okillpg_args *));
1428 int     oquota __P((struct oquota_args *));
1429 int     ogetsockname __P((struct getsockname_args *));
1430 int     ogetdirentries __P((struct ogetdirentries_args *));
1431 int     osendfile __P((struct osendfile_args *));
1432
1433 #endif /* COMPAT_43 */
1434
1435 #undef PAD_
1436
1437 #endif /* !_SYS_SYSPROTO_H_ */