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