2 * System call prototypes.
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
9 #ifndef _SYS_SYSPROTO_H_
10 #define _SYS_SYSPROTO_H_
12 #include <sys/signal.h>
16 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
17 0 : sizeof(register_t) - sizeof(t))
22 struct sys_exit_args {
23 int rval; char rval_[PAD_(int)];
29 int fd; char fd_[PAD_(int)];
30 void * buf; char buf_[PAD_(void *)];
31 size_t nbyte; char nbyte_[PAD_(size_t)];
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)];
39 char * path; char path_[PAD_(char *)];
40 int flags; char flags_[PAD_(int)];
41 int mode; char mode_[PAD_(int)];
44 int fd; char fd_[PAD_(int)];
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 *)];
53 char * path; char path_[PAD_(char *)];
54 char * link; char link_[PAD_(char *)];
57 char * path; char path_[PAD_(char *)];
60 char * path; char path_[PAD_(char *)];
63 int fd; char fd_[PAD_(int)];
66 char * path; char path_[PAD_(char *)];
67 int mode; char mode_[PAD_(int)];
68 int dev; char dev_[PAD_(int)];
71 char * path; char path_[PAD_(char *)];
72 int mode; char mode_[PAD_(int)];
75 char * path; char path_[PAD_(char *)];
76 int uid; char uid_[PAD_(int)];
77 int gid; char gid_[PAD_(int)];
80 char * nsize; char nsize_[PAD_(char *)];
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)];
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)];
97 char * path; char path_[PAD_(char *)];
98 int flags; char flags_[PAD_(int)];
101 uid_t uid; char uid_[PAD_(uid_t)];
106 struct geteuid_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)];
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)];
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)];
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 *)];
134 int s; char s_[PAD_(int)];
135 caddr_t name; char name_[PAD_(caddr_t)];
136 int * anamelen; char anamelen_[PAD_(int *)];
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 *)];
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 *)];
149 char * path; char path_[PAD_(char *)];
150 int flags; char flags_[PAD_(int)];
152 struct chflags_args {
153 char * path; char path_[PAD_(char *)];
154 int flags; char flags_[PAD_(int)];
156 struct fchflags_args {
157 int fd; char fd_[PAD_(int)];
158 int flags; char flags_[PAD_(int)];
164 int pid; char pid_[PAD_(int)];
165 int signum; char signum_[PAD_(int)];
167 struct getppid_args {
171 u_int fd; char fd_[PAD_(u_int)];
176 struct getegid_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)];
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)];
194 struct getlogin_args {
195 char * namebuf; char namebuf_[PAD_(char *)];
196 u_int namelen; char namelen_[PAD_(u_int)];
198 struct setlogin_args {
199 char * namebuf; char namebuf_[PAD_(char *)];
202 char * path; char path_[PAD_(char *)];
204 struct osigpending_args {
207 struct sigaltstack_args {
208 stack_t * ss; char ss_[PAD_(stack_t *)];
209 stack_t * oss; char oss_[PAD_(stack_t *)];
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)];
217 int opt; char opt_[PAD_(int)];
220 char * path; char path_[PAD_(char *)];
222 struct symlink_args {
223 char * path; char path_[PAD_(char *)];
224 char * link; char link_[PAD_(char *)];
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)];
232 char * fname; char fname_[PAD_(char *)];
233 char ** argv; char argv_[PAD_(char **)];
234 char ** envv; char envv_[PAD_(char **)];
237 int newmask; char newmask_[PAD_(int)];
240 char * path; char path_[PAD_(char *)];
242 struct getpagesize_args {
246 void * addr; char addr_[PAD_(void *)];
247 size_t len; char len_[PAD_(size_t)];
248 int flags; char flags_[PAD_(int)];
254 int incr; char incr_[PAD_(int)];
257 int incr; char incr_[PAD_(int)];
259 struct ovadvise_args {
260 int anom; char anom_[PAD_(int)];
263 void * addr; char addr_[PAD_(void *)];
264 size_t len; char len_[PAD_(size_t)];
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)];
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)];
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 *)];
281 struct getgroups_args {
282 u_int gidsetsize; char gidsetsize_[PAD_(u_int)];
283 gid_t * gidset; char gidset_[PAD_(gid_t *)];
285 struct setgroups_args {
286 u_int gidsetsize; char gidsetsize_[PAD_(u_int)];
287 gid_t * gidset; char gidset_[PAD_(gid_t *)];
289 struct getpgrp_args {
292 struct setpgid_args {
293 int pid; char pid_[PAD_(int)];
294 int pgid; char pgid_[PAD_(int)];
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 *)];
305 char * name; char name_[PAD_(char *)];
307 struct getitimer_args {
308 u_int which; char which_[PAD_(u_int)];
309 struct itimerval * itv; char itv_[PAD_(struct itimerval *)];
311 struct getdtablesize_args {
315 u_int from; char from_[PAD_(u_int)];
316 u_int to; char to_[PAD_(u_int)];
319 int fd; char fd_[PAD_(int)];
320 int cmd; char cmd_[PAD_(int)];
321 long arg; char arg_[PAD_(long)];
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 *)];
331 int fd; char fd_[PAD_(int)];
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)];
339 int domain; char domain_[PAD_(int)];
340 int type; char type_[PAD_(int)];
341 int protocol; char protocol_[PAD_(int)];
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)];
348 struct getpriority_args {
349 int which; char which_[PAD_(int)];
350 int who; char who_[PAD_(int)];
353 int s; char s_[PAD_(int)];
354 caddr_t name; char name_[PAD_(caddr_t)];
355 int namelen; char namelen_[PAD_(int)];
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)];
365 int s; char s_[PAD_(int)];
366 int backlog; char backlog_[PAD_(int)];
368 struct gettimeofday_args {
369 struct timeval * tp; char tp_[PAD_(struct timeval *)];
370 struct timezone * tzp; char tzp_[PAD_(struct timezone *)];
372 struct getrusage_args {
373 int who; char who_[PAD_(int)];
374 struct rusage * rusage; char rusage_[PAD_(struct rusage *)];
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 *)];
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)];
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)];
393 struct settimeofday_args {
394 struct timeval * tv; char tv_[PAD_(struct timeval *)];
395 struct timezone * tzp; char tzp_[PAD_(struct timezone *)];
398 int fd; char fd_[PAD_(int)];
399 int uid; char uid_[PAD_(int)];
400 int gid; char gid_[PAD_(int)];
403 int fd; char fd_[PAD_(int)];
404 int mode; char mode_[PAD_(int)];
406 struct setreuid_args {
407 int ruid; char ruid_[PAD_(int)];
408 int euid; char euid_[PAD_(int)];
410 struct setregid_args {
411 int rgid; char rgid_[PAD_(int)];
412 int egid; char egid_[PAD_(int)];
415 char * from; char from_[PAD_(char *)];
416 char * to; char to_[PAD_(char *)];
419 int fd; char fd_[PAD_(int)];
420 int how; char how_[PAD_(int)];
423 char * path; char path_[PAD_(char *)];
424 int mode; char mode_[PAD_(int)];
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)];
434 struct shutdown_args {
435 int s; char s_[PAD_(int)];
436 int how; char how_[PAD_(int)];
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 *)];
445 char * path; char path_[PAD_(char *)];
446 int mode; char mode_[PAD_(int)];
449 char * path; char path_[PAD_(char *)];
452 char * path; char path_[PAD_(char *)];
453 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
455 struct adjtime_args {
456 struct timeval * delta; char delta_[PAD_(struct timeval *)];
457 struct timeval * olddelta; char olddelta_[PAD_(struct timeval *)];
459 struct ogethostid_args {
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)];
475 int flag; char flag_[PAD_(int)];
476 caddr_t argp; char argp_[PAD_(caddr_t)];
479 char * path; char path_[PAD_(char *)];
480 struct statfs * buf; char buf_[PAD_(struct statfs *)];
482 struct fstatfs_args {
483 int fd; char fd_[PAD_(int)];
484 struct statfs * buf; char buf_[PAD_(struct statfs *)];
487 char * fname; char fname_[PAD_(char *)];
488 struct fhandle * fhp; char fhp_[PAD_(struct fhandle *)];
490 struct getdomainname_args {
491 char * domainname; char domainname_[PAD_(char *)];
492 int len; char len_[PAD_(int)];
494 struct setdomainname_args {
495 char * domainname; char domainname_[PAD_(char *)];
496 int len; char len_[PAD_(int)];
499 struct utsname * name; char name_[PAD_(struct utsname *)];
501 struct sysarch_args {
502 int op; char op_[PAD_(int)];
503 char * parms; char parms_[PAD_(char *)];
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 *)];
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)];
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)];
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)];
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)];
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)];
545 struct ntp_adjtime_args {
546 struct timex * tp; char tp_[PAD_(struct timex *)];
549 gid_t gid; char gid_[PAD_(gid_t)];
551 struct setegid_args {
552 gid_t egid; char egid_[PAD_(gid_t)];
554 struct seteuid_args {
555 uid_t euid; char euid_[PAD_(uid_t)];
558 char * path; char path_[PAD_(char *)];
559 struct stat * ub; char ub_[PAD_(struct stat *)];
562 int fd; char fd_[PAD_(int)];
563 struct stat * sb; char sb_[PAD_(struct stat *)];
566 char * path; char path_[PAD_(char *)];
567 struct stat * ub; char ub_[PAD_(struct stat *)];
569 struct pathconf_args {
570 char * path; char path_[PAD_(char *)];
571 int name; char name_[PAD_(int)];
573 struct fpathconf_args {
574 int fd; char fd_[PAD_(int)];
575 int name; char name_[PAD_(int)];
577 struct __getrlimit_args {
578 u_int which; char which_[PAD_(u_int)];
579 struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)];
581 struct __setrlimit_args {
582 u_int which; char which_[PAD_(u_int)];
583 struct rlimit * rlp; char rlp_[PAD_(struct rlimit *)];
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 *)];
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)];
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)];
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)];
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)];
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)];
625 const void * addr; char addr_[PAD_(const void *)];
626 size_t len; char len_[PAD_(size_t)];
628 struct munlock_args {
629 const void * addr; char addr_[PAD_(const void *)];
630 size_t len; char len_[PAD_(size_t)];
632 struct undelete_args {
633 char * path; char path_[PAD_(char *)];
635 struct futimes_args {
636 int fd; char fd_[PAD_(int)];
637 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
639 struct getpgid_args {
640 pid_t pid; char pid_[PAD_(pid_t)];
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)];
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 *)];
654 key_t key; char key_[PAD_(key_t)];
655 int nsems; char nsems_[PAD_(int)];
656 int semflg; char semflg_[PAD_(int)];
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)];
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 *)];
669 key_t key; char key_[PAD_(key_t)];
670 int msgflg; char msgflg_[PAD_(int)];
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)];
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)];
686 int shmid; char shmid_[PAD_(int)];
687 void * shmaddr; char shmaddr_[PAD_(void *)];
688 int shmflg; char shmflg_[PAD_(int)];
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 *)];
696 void * shmaddr; char shmaddr_[PAD_(void *)];
699 key_t key; char key_[PAD_(key_t)];
700 int size; char size_[PAD_(int)];
701 int shmflg; char shmflg_[PAD_(int)];
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 *)];
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 *)];
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 *)];
715 struct nanosleep_args {
716 const struct timespec * rqtp; char rqtp_[PAD_(const struct timespec *)];
717 struct timespec * rmtp; char rmtp_[PAD_(struct timespec *)];
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)];
725 int flags; char flags_[PAD_(int)];
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)];
732 struct issetugid_args {
736 char * path; char path_[PAD_(char *)];
737 int uid; char uid_[PAD_(int)];
738 int gid; char gid_[PAD_(int)];
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)];
746 char * path; char path_[PAD_(char *)];
747 mode_t mode; char mode_[PAD_(mode_t)];
749 struct lutimes_args {
750 char * path; char path_[PAD_(char *)];
751 struct timeval * tptr; char tptr_[PAD_(struct timeval *)];
754 char * path; char path_[PAD_(char *)];
755 struct nstat * ub; char ub_[PAD_(struct nstat *)];
758 int fd; char fd_[PAD_(int)];
759 struct nstat * sb; char sb_[PAD_(struct nstat *)];
762 char * path; char path_[PAD_(char *)];
763 struct nstat * ub; char ub_[PAD_(struct nstat *)];
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 *)];
770 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
771 int flags; char flags_[PAD_(int)];
774 const struct fhandle * u_fhp; char u_fhp_[PAD_(const struct fhandle *)];
775 struct stat * sb; char sb_[PAD_(struct stat *)];
777 struct modnext_args {
778 int modid; char modid_[PAD_(int)];
780 struct modstat_args {
781 int modid; char modid_[PAD_(int)];
782 struct module_stat * stat; char stat_[PAD_(struct module_stat *)];
784 struct modfnext_args {
785 int modid; char modid_[PAD_(int)];
787 struct modfind_args {
788 const char * name; char name_[PAD_(const char *)];
790 struct kldload_args {
791 const char * file; char file_[PAD_(const char *)];
793 struct kldunload_args {
794 int fileid; char fileid_[PAD_(int)];
796 struct kldfind_args {
797 const char * file; char file_[PAD_(const char *)];
799 struct kldnext_args {
800 int fileid; char fileid_[PAD_(int)];
802 struct kldstat_args {
803 int fileid; char fileid_[PAD_(int)];
804 struct kld_file_stat * stat; char stat_[PAD_(struct kld_file_stat *)];
806 struct kldfirstmod_args {
807 int fileid; char fileid_[PAD_(int)];
810 pid_t pid; char pid_[PAD_(pid_t)];
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)];
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)];
822 struct aio_return_args {
823 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
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 *)];
830 struct aio_cancel_args {
831 int fd; char fd_[PAD_(int)];
832 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
834 struct aio_error_args {
835 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
837 struct aio_read_args {
838 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
840 struct aio_write_args {
841 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
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 *)];
852 struct thr_sleep_args {
853 const struct timespec * timeout; char timeout_[PAD_(const struct timespec *)];
855 struct thr_wakeup_args {
856 pid_t pid; char pid_[PAD_(pid_t)];
858 struct mlockall_args {
859 int how; char how_[PAD_(int)];
861 struct munlockall_args {
864 struct __getcwd_args {
865 u_char * buf; char buf_[PAD_(u_char *)];
866 u_int buflen; char buflen_[PAD_(u_int)];
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 *)];
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 *)];
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 *)];
881 struct sched_getscheduler_args {
882 pid_t pid; char pid_[PAD_(pid_t)];
884 struct sched_yield_args {
887 struct sched_get_priority_max_args {
888 int policy; char policy_[PAD_(int)];
890 struct sched_get_priority_min_args {
891 int policy; char policy_[PAD_(int)];
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 *)];
898 const void * addr; char addr_[PAD_(const void *)];
899 size_t len; char len_[PAD_(size_t)];
902 int fileid; char fileid_[PAD_(int)];
903 int cmd; char cmd_[PAD_(int)];
904 void * data; char data_[PAD_(void *)];
907 struct jail * jail; char jail_[PAD_(struct jail *)];
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 *)];
914 struct sigsuspend_args {
915 const sigset_t * sigmask; char sigmask_[PAD_(const sigset_t *)];
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 *)];
922 struct sigpending_args {
923 sigset_t * set; char set_[PAD_(sigset_t *)];
925 struct sigreturn_args {
926 ucontext_t * sigcntxp; char sigcntxp_[PAD_(ucontext_t *)];
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 *)];
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 *)];
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 *)];
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 *)];
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)];
952 struct __acl_delete_fd_args {
953 int filedes; char filedes_[PAD_(int)];
954 acl_type_t type; char type_[PAD_(acl_type_t)];
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 *)];
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 *)];
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 *)];
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)];
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)];
984 struct extattr_delete_file_args {
985 const char * path; char path_[PAD_(const char *)];
986 const char * attrname; char attrname_[PAD_(const char *)];
988 struct aio_waitcomplete_args {
989 struct aiocb ** aiocbp; char aiocbp_[PAD_(struct aiocb **)];
990 struct timespec * timeout; char timeout_[PAD_(struct timespec *)];
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 *)];
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 *)];
1002 struct kqueue_args {
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 *)];
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)];
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 *));
1256 struct ocreat_args {
1257 char * path; char path_[PAD_(char *)];
1258 int mode; char mode_[PAD_(int)];
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)];
1266 char * path; char path_[PAD_(char *)];
1267 struct ostat * ub; char ub_[PAD_(struct ostat *)];
1269 struct olstat_args {
1270 char * path; char path_[PAD_(char *)];
1271 struct ostat * ub; char ub_[PAD_(struct ostat *)];
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 *)];
1278 struct osigprocmask_args {
1279 int how; char how_[PAD_(int)];
1280 osigset_t mask; char mask_[PAD_(osigset_t)];
1282 struct ofstat_args {
1283 int fd; char fd_[PAD_(int)];
1284 struct ostat * sb; char sb_[PAD_(struct ostat *)];
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)];
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)];
1300 struct gethostname_args {
1301 char * hostname; char hostname_[PAD_(char *)];
1302 u_int len; char len_[PAD_(u_int)];
1304 struct sethostname_args {
1305 char * hostname; char hostname_[PAD_(char *)];
1306 u_int len; char len_[PAD_(u_int)];
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)];
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)];
1320 struct osigreturn_args {
1321 struct osigcontext * sigcntxp; char sigcntxp_[PAD_(struct osigcontext *)];
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 *)];
1328 struct osigblock_args {
1329 int mask; char mask_[PAD_(int)];
1331 struct osigsetmask_args {
1332 int mask; char mask_[PAD_(int)];
1334 struct osigsuspend_args {
1335 osigset_t mask; char mask_[PAD_(osigset_t)];
1337 struct osigstack_args {
1338 struct sigstack * nss; char nss_[PAD_(struct sigstack *)];
1339 struct sigstack * oss; char oss_[PAD_(struct sigstack *)];
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)];
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)];
1351 struct otruncate_args {
1352 char * path; char path_[PAD_(char *)];
1353 long length; char length_[PAD_(long)];
1355 struct oftruncate_args {
1356 int fd; char fd_[PAD_(int)];
1357 long length; char length_[PAD_(long)];
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 *)];
1364 struct osethostid_args {
1365 long hostid; char hostid_[PAD_(long)];
1367 struct ogetrlimit_args {
1368 u_int which; char which_[PAD_(u_int)];
1369 struct orlimit * rlp; char rlp_[PAD_(struct orlimit *)];
1371 struct osetrlimit_args {
1372 u_int which; char which_[PAD_(u_int)];
1373 struct orlimit * rlp; char rlp_[PAD_(struct orlimit *)];
1375 struct okillpg_args {
1376 int pgid; char pgid_[PAD_(int)];
1377 int signum; char signum_[PAD_(int)];
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 *)];
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)];
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 *));
1433 #endif /* COMPAT_43 */
1437 #endif /* !_SYS_SYSPROTO_H_ */