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