sysproto.h revision 35938
1/*
2 * System call prototypes.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * created from	Id: syscalls.master,v 1.49 1998/03/28 11:50:01 dufault Exp
6 */
7
8#ifndef _SYS_SYSPROTO_H_
9#define	_SYS_SYSPROTO_H_
10
11#include <sys/signal.h>
12
13struct proc;
14
15struct	nosys_args {
16	int dummy;
17};
18struct	rexit_args {
19	int rval;
20};
21struct	fork_args {
22	int dummy;
23};
24struct	read_args {
25	int fd;
26	char * buf;
27	u_int nbyte;
28};
29struct	write_args {
30	int fd;
31	char * buf;
32	u_int nbyte;
33};
34struct	open_args {
35	char * path;
36	int flags;
37	int mode;
38};
39struct	close_args {
40	int fd;
41};
42struct	wait_args {
43	int pid;
44	int * status;
45	int options;
46	struct rusage * rusage;
47};
48struct	link_args {
49	char * path;
50	char * link;
51};
52struct	unlink_args {
53	char * path;
54};
55struct	chdir_args {
56	char * path;
57};
58struct	fchdir_args {
59	int fd;
60};
61struct	mknod_args {
62	char * path;
63	int mode;
64	int dev;
65};
66struct	chmod_args {
67	char * path;
68	int mode;
69};
70struct	chown_args {
71	char * path;
72	int uid;
73	int gid;
74};
75struct	obreak_args {
76	char * nsize;
77};
78struct	getfsstat_args {
79	struct statfs * buf;
80	long bufsize;
81	int flags;
82};
83struct	getpid_args {
84	int dummy;
85};
86struct	mount_args {
87	char * type;
88	char * path;
89	int flags;
90	caddr_t data;
91};
92struct	unmount_args {
93	char * path;
94	int flags;
95};
96struct	setuid_args {
97	uid_t uid;
98};
99struct	getuid_args {
100	int dummy;
101};
102struct	geteuid_args {
103	int dummy;
104};
105struct	ptrace_args {
106	int req;
107	pid_t pid;
108	caddr_t addr;
109	int data;
110};
111struct	recvmsg_args {
112	int s;
113	struct msghdr * msg;
114	int flags;
115};
116struct	sendmsg_args {
117	int s;
118	caddr_t msg;
119	int flags;
120};
121struct	recvfrom_args {
122	int s;
123	caddr_t buf;
124	size_t len;
125	int flags;
126	caddr_t from;
127	int * fromlenaddr;
128};
129struct	accept_args {
130	int s;
131	caddr_t name;
132	int * anamelen;
133};
134struct	getpeername_args {
135	int fdes;
136	caddr_t asa;
137	int * alen;
138};
139struct	getsockname_args {
140	int fdes;
141	caddr_t asa;
142	int * alen;
143};
144struct	access_args {
145	char * path;
146	int flags;
147};
148struct	chflags_args {
149	char * path;
150	int flags;
151};
152struct	fchflags_args {
153	int fd;
154	int flags;
155};
156struct	sync_args {
157	int dummy;
158};
159struct	kill_args {
160	int pid;
161	int signum;
162};
163struct	getppid_args {
164	int dummy;
165};
166struct	dup_args {
167	u_int fd;
168};
169struct	pipe_args {
170	int dummy;
171};
172struct	getegid_args {
173	int dummy;
174};
175struct	profil_args {
176	caddr_t samples;
177	u_int size;
178	u_int offset;
179	u_int scale;
180};
181struct	ktrace_args {
182	char * fname;
183	int ops;
184	int facs;
185	int pid;
186};
187struct	sigaction_args {
188	int signum;
189	struct sigaction * nsa;
190	struct sigaction * osa;
191};
192struct	getgid_args {
193	int dummy;
194};
195struct	sigprocmask_args {
196	int how;
197	sigset_t mask;
198};
199struct	getlogin_args {
200	char * namebuf;
201	u_int namelen;
202};
203struct	setlogin_args {
204	char * namebuf;
205};
206struct	acct_args {
207	char * path;
208};
209struct	sigpending_args {
210	int dummy;
211};
212struct	sigaltstack_args {
213	struct sigaltstack * nss;
214	struct sigaltstack * oss;
215};
216struct	ioctl_args {
217	int fd;
218	u_long com;
219	caddr_t data;
220};
221struct	reboot_args {
222	int opt;
223};
224struct	revoke_args {
225	char * path;
226};
227struct	symlink_args {
228	char * path;
229	char * link;
230};
231struct	readlink_args {
232	char * path;
233	char * buf;
234	int count;
235};
236struct	execve_args {
237	char * fname;
238	char ** argv;
239	char ** envv;
240};
241struct	umask_args {
242	int newmask;
243};
244struct	chroot_args {
245	char * path;
246};
247struct	getpagesize_args {
248	int dummy;
249};
250struct	msync_args {
251	void * addr;
252	size_t len;
253	int flags;
254};
255struct	vfork_args {
256	int dummy;
257};
258struct	sbrk_args {
259	int incr;
260};
261struct	sstk_args {
262	int incr;
263};
264struct	ovadvise_args {
265	int anom;
266};
267struct	munmap_args {
268	void * addr;
269	size_t len;
270};
271struct	mprotect_args {
272	const void * addr;
273	size_t len;
274	int prot;
275};
276struct	madvise_args {
277	void * addr;
278	size_t len;
279	int behav;
280};
281struct	mincore_args {
282	const void * addr;
283	size_t len;
284	char * vec;
285};
286struct	getgroups_args {
287	u_int gidsetsize;
288	gid_t * gidset;
289};
290struct	setgroups_args {
291	u_int gidsetsize;
292	gid_t * gidset;
293};
294struct	getpgrp_args {
295	int dummy;
296};
297struct	setpgid_args {
298	int pid;
299	int pgid;
300};
301struct	setitimer_args {
302	u_int which;
303	struct itimerval * itv;
304	struct itimerval * oitv;
305};
306struct	owait_args {
307	int dummy;
308};
309struct	swapon_args {
310	char * name;
311};
312struct	getitimer_args {
313	u_int which;
314	struct itimerval * itv;
315};
316struct	getdtablesize_args {
317	int dummy;
318};
319struct	dup2_args {
320	u_int from;
321	u_int to;
322};
323struct	fcntl_args {
324	int fd;
325	int cmd;
326	int arg;
327};
328struct	select_args {
329	int nd;
330	fd_set * in;
331	fd_set * ou;
332	fd_set * ex;
333	struct timeval * tv;
334};
335struct	fsync_args {
336	int fd;
337};
338struct	setpriority_args {
339	int which;
340	int who;
341	int prio;
342};
343struct	socket_args {
344	int domain;
345	int type;
346	int protocol;
347};
348struct	connect_args {
349	int s;
350	caddr_t name;
351	int namelen;
352};
353struct	getpriority_args {
354	int which;
355	int who;
356};
357struct	sigreturn_args {
358	struct sigcontext * sigcntxp;
359};
360struct	bind_args {
361	int s;
362	caddr_t name;
363	int namelen;
364};
365struct	setsockopt_args {
366	int s;
367	int level;
368	int name;
369	caddr_t val;
370	int valsize;
371};
372struct	listen_args {
373	int s;
374	int backlog;
375};
376struct	sigsuspend_args {
377	sigset_t mask;
378};
379struct	gettimeofday_args {
380	struct timeval * tp;
381	struct timezone * tzp;
382};
383struct	getrusage_args {
384	int who;
385	struct rusage * rusage;
386};
387struct	getsockopt_args {
388	int s;
389	int level;
390	int name;
391	caddr_t val;
392	int * avalsize;
393};
394struct	readv_args {
395	int fd;
396	struct iovec * iovp;
397	u_int iovcnt;
398};
399struct	writev_args {
400	int fd;
401	struct iovec * iovp;
402	u_int iovcnt;
403};
404struct	settimeofday_args {
405	struct timeval * tv;
406	struct timezone * tzp;
407};
408struct	fchown_args {
409	int fd;
410	int uid;
411	int gid;
412};
413struct	fchmod_args {
414	int fd;
415	int mode;
416};
417struct	setreuid_args {
418	int ruid;
419	int euid;
420};
421struct	setregid_args {
422	int rgid;
423	int egid;
424};
425struct	rename_args {
426	char * from;
427	char * to;
428};
429struct	flock_args {
430	int fd;
431	int how;
432};
433struct	mkfifo_args {
434	char * path;
435	int mode;
436};
437struct	sendto_args {
438	int s;
439	caddr_t buf;
440	size_t len;
441	int flags;
442	caddr_t to;
443	int tolen;
444};
445struct	shutdown_args {
446	int s;
447	int how;
448};
449struct	socketpair_args {
450	int domain;
451	int type;
452	int protocol;
453	int * rsv;
454};
455struct	mkdir_args {
456	char * path;
457	int mode;
458};
459struct	rmdir_args {
460	char * path;
461};
462struct	utimes_args {
463	char * path;
464	struct timeval * tptr;
465};
466struct	adjtime_args {
467	struct timeval * delta;
468	struct timeval * olddelta;
469};
470struct	ogethostid_args {
471	int dummy;
472};
473struct	setsid_args {
474	int dummy;
475};
476struct	quotactl_args {
477	char * path;
478	int cmd;
479	int uid;
480	caddr_t arg;
481};
482struct	oquota_args {
483	int dummy;
484};
485struct	nfssvc_args {
486	int flag;
487	caddr_t argp;
488};
489struct	statfs_args {
490	char * path;
491	struct statfs * buf;
492};
493struct	fstatfs_args {
494	int fd;
495	struct statfs * buf;
496};
497struct	getfh_args {
498	char * fname;
499	struct fhandle * fhp;
500};
501struct	getdomainname_args {
502	char * domainname;
503	int len;
504};
505struct	setdomainname_args {
506	char * domainname;
507	int len;
508};
509struct	uname_args {
510	struct utsname * name;
511};
512struct	sysarch_args {
513	int op;
514	char * parms;
515};
516struct	rtprio_args {
517	int function;
518	pid_t pid;
519	struct rtprio * rtp;
520};
521struct	semsys_args {
522	int which;
523	int a2;
524	int a3;
525	int a4;
526	int a5;
527};
528struct	msgsys_args {
529	int which;
530	int a2;
531	int a3;
532	int a4;
533	int a5;
534	int a6;
535};
536struct	shmsys_args {
537	int which;
538	int a2;
539	int a3;
540	int a4;
541};
542struct	ntp_adjtime_args {
543	struct timex * tp;
544};
545struct	setgid_args {
546	gid_t gid;
547};
548struct	setegid_args {
549	gid_t egid;
550};
551struct	seteuid_args {
552	uid_t euid;
553};
554struct	stat_args {
555	char * path;
556	struct stat * ub;
557};
558struct	fstat_args {
559	int fd;
560	struct stat * sb;
561};
562struct	lstat_args {
563	char * path;
564	struct stat * ub;
565};
566struct	pathconf_args {
567	char * path;
568	int name;
569};
570struct	fpathconf_args {
571	int fd;
572	int name;
573};
574struct	__getrlimit_args {
575	u_int which;
576	struct orlimit * rlp;
577};
578struct	__setrlimit_args {
579	u_int which;
580	struct orlimit * rlp;
581};
582struct	getdirentries_args {
583	int fd;
584	char * buf;
585	u_int count;
586	long * basep;
587};
588struct	mmap_args {
589	caddr_t addr;
590	size_t len;
591	int prot;
592	int flags;
593	int fd;
594	long pad;
595	off_t pos;
596};
597struct	lseek_args {
598	int fd;
599	int pad;
600	off_t offset;
601	int whence;
602};
603struct	truncate_args {
604	char * path;
605	int pad;
606	off_t length;
607};
608struct	ftruncate_args {
609	int fd;
610	int pad;
611	off_t length;
612};
613struct	sysctl_args {
614	int * name;
615	u_int namelen;
616	void * old;
617	size_t * oldlenp;
618	void * new;
619	size_t newlen;
620};
621struct	mlock_args {
622	const void * addr;
623	size_t len;
624};
625struct	munlock_args {
626	const void * addr;
627	size_t len;
628};
629struct	undelete_args {
630	char * path;
631};
632struct	futimes_args {
633	int fd;
634	struct timeval * tptr;
635};
636struct	getpgid_args {
637	pid_t pid;
638};
639struct	poll_args {
640	struct pollfd * fds;
641	u_int nfds;
642	int timeout;
643};
644struct	__semctl_args {
645	int semid;
646	int semnum;
647	int cmd;
648	union semun * arg;
649};
650struct	semget_args {
651	key_t key;
652	int nsems;
653	int semflg;
654};
655struct	semop_args {
656	int semid;
657	struct sembuf * sops;
658	u_int nsops;
659};
660struct	semconfig_args {
661	int flag;
662};
663struct	msgctl_args {
664	int msqid;
665	int cmd;
666	struct msqid_ds * buf;
667};
668struct	msgget_args {
669	key_t key;
670	int msgflg;
671};
672struct	msgsnd_args {
673	int msqid;
674	void * msgp;
675	size_t msgsz;
676	int msgflg;
677};
678struct	msgrcv_args {
679	int msqid;
680	void * msgp;
681	size_t msgsz;
682	long msgtyp;
683	int msgflg;
684};
685struct	shmat_args {
686	int shmid;
687	void * shmaddr;
688	int shmflg;
689};
690struct	shmctl_args {
691	int shmid;
692	int cmd;
693	struct shmid_ds * buf;
694};
695struct	shmdt_args {
696	void * shmaddr;
697};
698struct	shmget_args {
699	key_t key;
700	int size;
701	int shmflg;
702};
703struct	clock_gettime_args {
704	clockid_t clock_id;
705	struct timespec * tp;
706};
707struct	clock_settime_args {
708	clockid_t clock_id;
709	const struct timespec * tp;
710};
711struct	clock_getres_args {
712	clockid_t clock_id;
713	struct timespec * tp;
714};
715struct	nanosleep_args {
716	const struct timespec * rqtp;
717	struct timespec * rmtp;
718};
719struct	minherit_args {
720	void * addr;
721	size_t len;
722	int inherit;
723};
724struct	rfork_args {
725	int flags;
726};
727struct	openbsd_poll_args {
728	struct pollfd * fds;
729	u_int nfds;
730	int timeout;
731};
732struct	issetugid_args {
733	int dummy;
734};
735struct	lchown_args {
736	char * path;
737	int uid;
738	int gid;
739};
740struct	getdents_args {
741	int fd;
742	char * buf;
743	size_t count;
744};
745struct	lchmod_args {
746	char * path;
747	mode_t mode;
748};
749struct	lutimes_args {
750	char * path;
751	struct timeval * tptr;
752};
753struct	nstat_args {
754	char * path;
755	struct nstat * ub;
756};
757struct	nfstat_args {
758	int fd;
759	struct nstat * sb;
760};
761struct	nlstat_args {
762	char * path;
763	struct nstat * ub;
764};
765struct	modnext_args {
766	int modid;
767};
768struct	modstat_args {
769	int modid;
770	struct module_stat * stat;
771};
772struct	modfnext_args {
773	int modid;
774};
775struct	modfind_args {
776	char * name;
777};
778struct	kldload_args {
779	const char * file;
780};
781struct	kldunload_args {
782	int fileid;
783};
784struct	kldfind_args {
785	const char * file;
786};
787struct	kldnext_args {
788	int fileid;
789};
790struct	kldstat_args {
791	int fileid;
792	struct kld_file_stat * stat;
793};
794struct	kldfirstmod_args {
795	int fileid;
796};
797struct	getsid_args {
798	pid_t pid;
799};
800struct	signanosleep_args {
801	const struct timespec * rqtp;
802	struct timespec * rmtp;
803	sigset_t * mask;
804};
805struct	aio_return_args {
806	struct aiocb * aiocbp;
807};
808struct	aio_suspend_args {
809	struct aiocb *const * aiocbp;
810	int nent;
811	const struct timespec * timeout;
812};
813struct	aio_cancel_args {
814	int fd;
815	struct aiocb * aiocbp;
816};
817struct	aio_error_args {
818	struct aiocb * aiocbp;
819};
820struct	aio_read_args {
821	struct aiocb * aiocbp;
822};
823struct	aio_write_args {
824	struct aiocb * aiocbp;
825};
826struct	lio_listio_args {
827	int mode;
828	struct aiocb *const * acb_list;
829	int nent;
830	struct sigevent * sig;
831};
832struct	yield_args {
833	int dummy;
834};
835struct	thr_sleep_args {
836	const struct timespec * timeout;
837};
838struct	thr_wakeup_args {
839	pid_t pid;
840};
841struct	mlockall_args {
842	int how;
843};
844struct	munlockall_args {
845	int dummy;
846};
847struct	__getcwd_args {
848	u_char * buf;
849	u_int buflen;
850};
851struct	sched_setparam_args {
852	pid_t pid;
853	const struct sched_param * param;
854};
855struct	sched_getparam_args {
856	pid_t pid;
857	struct sched_param * param;
858};
859struct	sched_setscheduler_args {
860	pid_t pid;
861	int policy;
862	const struct sched_param * param;
863};
864struct	sched_getscheduler_args {
865	pid_t pid;
866};
867struct	sched_yield_args {
868	int dummy;
869};
870struct	sched_get_priority_max_args {
871	int policy;
872};
873struct	sched_get_priority_min_args {
874	int policy;
875};
876struct	sched_rr_get_interval_args {
877	pid_t pid;
878	struct timespec * interval;
879};
880struct	utrace_args {
881	caddr_t addr;
882	size_t len;
883};
884int	nosys __P((struct proc *, struct nosys_args *));
885void	exit __P((struct proc *, struct rexit_args *)) __dead2;
886int	fork __P((struct proc *, struct fork_args *));
887int	read __P((struct proc *, struct read_args *));
888int	write __P((struct proc *, struct write_args *));
889int	open __P((struct proc *, struct open_args *));
890int	close __P((struct proc *, struct close_args *));
891int	wait4 __P((struct proc *, struct wait_args *));
892int	link __P((struct proc *, struct link_args *));
893int	unlink __P((struct proc *, struct unlink_args *));
894int	chdir __P((struct proc *, struct chdir_args *));
895int	fchdir __P((struct proc *, struct fchdir_args *));
896int	mknod __P((struct proc *, struct mknod_args *));
897int	chmod __P((struct proc *, struct chmod_args *));
898int	chown __P((struct proc *, struct chown_args *));
899int	obreak __P((struct proc *, struct obreak_args *));
900int	getfsstat __P((struct proc *, struct getfsstat_args *));
901int	getpid __P((struct proc *, struct getpid_args *));
902int	mount __P((struct proc *, struct mount_args *));
903int	unmount __P((struct proc *, struct unmount_args *));
904int	setuid __P((struct proc *, struct setuid_args *));
905int	getuid __P((struct proc *, struct getuid_args *));
906int	geteuid __P((struct proc *, struct geteuid_args *));
907int	ptrace __P((struct proc *, struct ptrace_args *));
908int	recvmsg __P((struct proc *, struct recvmsg_args *));
909int	sendmsg __P((struct proc *, struct sendmsg_args *));
910int	recvfrom __P((struct proc *, struct recvfrom_args *));
911int	accept __P((struct proc *, struct accept_args *));
912int	getpeername __P((struct proc *, struct getpeername_args *));
913int	getsockname __P((struct proc *, struct getsockname_args *));
914int	access __P((struct proc *, struct access_args *));
915int	chflags __P((struct proc *, struct chflags_args *));
916int	fchflags __P((struct proc *, struct fchflags_args *));
917int	sync __P((struct proc *, struct sync_args *));
918int	kill __P((struct proc *, struct kill_args *));
919int	getppid __P((struct proc *, struct getppid_args *));
920int	dup __P((struct proc *, struct dup_args *));
921int	pipe __P((struct proc *, struct pipe_args *));
922int	getegid __P((struct proc *, struct getegid_args *));
923int	profil __P((struct proc *, struct profil_args *));
924int	ktrace __P((struct proc *, struct ktrace_args *));
925int	sigaction __P((struct proc *, struct sigaction_args *));
926int	getgid __P((struct proc *, struct getgid_args *));
927int	sigprocmask __P((struct proc *, struct sigprocmask_args *));
928int	getlogin __P((struct proc *, struct getlogin_args *));
929int	setlogin __P((struct proc *, struct setlogin_args *));
930int	acct __P((struct proc *, struct acct_args *));
931int	sigpending __P((struct proc *, struct sigpending_args *));
932int	sigaltstack __P((struct proc *, struct sigaltstack_args *));
933int	ioctl __P((struct proc *, struct ioctl_args *));
934int	reboot __P((struct proc *, struct reboot_args *));
935int	revoke __P((struct proc *, struct revoke_args *));
936int	symlink __P((struct proc *, struct symlink_args *));
937int	readlink __P((struct proc *, struct readlink_args *));
938int	execve __P((struct proc *, struct execve_args *));
939int	umask __P((struct proc *, struct umask_args *));
940int	chroot __P((struct proc *, struct chroot_args *));
941int	msync __P((struct proc *, struct msync_args *));
942int	vfork __P((struct proc *, struct vfork_args *));
943int	sbrk __P((struct proc *, struct sbrk_args *));
944int	sstk __P((struct proc *, struct sstk_args *));
945int	ovadvise __P((struct proc *, struct ovadvise_args *));
946int	munmap __P((struct proc *, struct munmap_args *));
947int	mprotect __P((struct proc *, struct mprotect_args *));
948int	madvise __P((struct proc *, struct madvise_args *));
949int	mincore __P((struct proc *, struct mincore_args *));
950int	getgroups __P((struct proc *, struct getgroups_args *));
951int	setgroups __P((struct proc *, struct setgroups_args *));
952int	getpgrp __P((struct proc *, struct getpgrp_args *));
953int	setpgid __P((struct proc *, struct setpgid_args *));
954int	setitimer __P((struct proc *, struct setitimer_args *));
955int	swapon __P((struct proc *, struct swapon_args *));
956int	getitimer __P((struct proc *, struct getitimer_args *));
957int	getdtablesize __P((struct proc *, struct getdtablesize_args *));
958int	dup2 __P((struct proc *, struct dup2_args *));
959int	fcntl __P((struct proc *, struct fcntl_args *));
960int	select __P((struct proc *, struct select_args *));
961int	fsync __P((struct proc *, struct fsync_args *));
962int	setpriority __P((struct proc *, struct setpriority_args *));
963int	socket __P((struct proc *, struct socket_args *));
964int	connect __P((struct proc *, struct connect_args *));
965int	getpriority __P((struct proc *, struct getpriority_args *));
966int	sigreturn __P((struct proc *, struct sigreturn_args *));
967int	bind __P((struct proc *, struct bind_args *));
968int	setsockopt __P((struct proc *, struct setsockopt_args *));
969int	listen __P((struct proc *, struct listen_args *));
970int	sigsuspend __P((struct proc *, struct sigsuspend_args *));
971int	gettimeofday __P((struct proc *, struct gettimeofday_args *));
972int	getrusage __P((struct proc *, struct getrusage_args *));
973int	getsockopt __P((struct proc *, struct getsockopt_args *));
974int	readv __P((struct proc *, struct readv_args *));
975int	writev __P((struct proc *, struct writev_args *));
976int	settimeofday __P((struct proc *, struct settimeofday_args *));
977int	fchown __P((struct proc *, struct fchown_args *));
978int	fchmod __P((struct proc *, struct fchmod_args *));
979int	setreuid __P((struct proc *, struct setreuid_args *));
980int	setregid __P((struct proc *, struct setregid_args *));
981int	rename __P((struct proc *, struct rename_args *));
982int	flock __P((struct proc *, struct flock_args *));
983int	mkfifo __P((struct proc *, struct mkfifo_args *));
984int	sendto __P((struct proc *, struct sendto_args *));
985int	shutdown __P((struct proc *, struct shutdown_args *));
986int	socketpair __P((struct proc *, struct socketpair_args *));
987int	mkdir __P((struct proc *, struct mkdir_args *));
988int	rmdir __P((struct proc *, struct rmdir_args *));
989int	utimes __P((struct proc *, struct utimes_args *));
990int	adjtime __P((struct proc *, struct adjtime_args *));
991int	setsid __P((struct proc *, struct setsid_args *));
992int	quotactl __P((struct proc *, struct quotactl_args *));
993int	nfssvc __P((struct proc *, struct nfssvc_args *));
994int	statfs __P((struct proc *, struct statfs_args *));
995int	fstatfs __P((struct proc *, struct fstatfs_args *));
996int	getfh __P((struct proc *, struct getfh_args *));
997int	getdomainname __P((struct proc *, struct getdomainname_args *));
998int	setdomainname __P((struct proc *, struct setdomainname_args *));
999int	uname __P((struct proc *, struct uname_args *));
1000int	sysarch __P((struct proc *, struct sysarch_args *));
1001int	rtprio __P((struct proc *, struct rtprio_args *));
1002int	semsys __P((struct proc *, struct semsys_args *));
1003int	msgsys __P((struct proc *, struct msgsys_args *));
1004int	shmsys __P((struct proc *, struct shmsys_args *));
1005int	ntp_adjtime __P((struct proc *, struct ntp_adjtime_args *));
1006int	setgid __P((struct proc *, struct setgid_args *));
1007int	setegid __P((struct proc *, struct setegid_args *));
1008int	seteuid __P((struct proc *, struct seteuid_args *));
1009int	stat __P((struct proc *, struct stat_args *));
1010int	fstat __P((struct proc *, struct fstat_args *));
1011int	lstat __P((struct proc *, struct lstat_args *));
1012int	pathconf __P((struct proc *, struct pathconf_args *));
1013int	fpathconf __P((struct proc *, struct fpathconf_args *));
1014int	getrlimit __P((struct proc *, struct __getrlimit_args *));
1015int	setrlimit __P((struct proc *, struct __setrlimit_args *));
1016int	getdirentries __P((struct proc *, struct getdirentries_args *));
1017int	mmap __P((struct proc *, struct mmap_args *));
1018int	lseek __P((struct proc *, struct lseek_args *));
1019int	truncate __P((struct proc *, struct truncate_args *));
1020int	ftruncate __P((struct proc *, struct ftruncate_args *));
1021int	__sysctl __P((struct proc *, struct sysctl_args *));
1022int	mlock __P((struct proc *, struct mlock_args *));
1023int	munlock __P((struct proc *, struct munlock_args *));
1024int	undelete __P((struct proc *, struct undelete_args *));
1025int	futimes __P((struct proc *, struct futimes_args *));
1026int	getpgid __P((struct proc *, struct getpgid_args *));
1027int	poll __P((struct proc *, struct poll_args *));
1028int	lkmnosys __P((struct proc *, struct nosys_args *));
1029int	__semctl __P((struct proc *, struct __semctl_args *));
1030int	semget __P((struct proc *, struct semget_args *));
1031int	semop __P((struct proc *, struct semop_args *));
1032int	semconfig __P((struct proc *, struct semconfig_args *));
1033int	msgctl __P((struct proc *, struct msgctl_args *));
1034int	msgget __P((struct proc *, struct msgget_args *));
1035int	msgsnd __P((struct proc *, struct msgsnd_args *));
1036int	msgrcv __P((struct proc *, struct msgrcv_args *));
1037int	shmat __P((struct proc *, struct shmat_args *));
1038int	shmctl __P((struct proc *, struct shmctl_args *));
1039int	shmdt __P((struct proc *, struct shmdt_args *));
1040int	shmget __P((struct proc *, struct shmget_args *));
1041int	clock_gettime __P((struct proc *, struct clock_gettime_args *));
1042int	clock_settime __P((struct proc *, struct clock_settime_args *));
1043int	clock_getres __P((struct proc *, struct clock_getres_args *));
1044int	nanosleep __P((struct proc *, struct nanosleep_args *));
1045int	minherit __P((struct proc *, struct minherit_args *));
1046int	rfork __P((struct proc *, struct rfork_args *));
1047int	openbsd_poll __P((struct proc *, struct openbsd_poll_args *));
1048int	issetugid __P((struct proc *, struct issetugid_args *));
1049int	lchown __P((struct proc *, struct lchown_args *));
1050int	getdents __P((struct proc *, struct getdents_args *));
1051int	lchmod __P((struct proc *, struct lchmod_args *));
1052int	lutimes __P((struct proc *, struct lutimes_args *));
1053int	nstat __P((struct proc *, struct nstat_args *));
1054int	nfstat __P((struct proc *, struct nfstat_args *));
1055int	nlstat __P((struct proc *, struct nlstat_args *));
1056int	modnext __P((struct proc *, struct modnext_args *));
1057int	modstat __P((struct proc *, struct modstat_args *));
1058int	modfnext __P((struct proc *, struct modfnext_args *));
1059int	modfind __P((struct proc *, struct modfind_args *));
1060int	kldload __P((struct proc *, struct kldload_args *));
1061int	kldunload __P((struct proc *, struct kldunload_args *));
1062int	kldfind __P((struct proc *, struct kldfind_args *));
1063int	kldnext __P((struct proc *, struct kldnext_args *));
1064int	kldstat __P((struct proc *, struct kldstat_args *));
1065int	kldfirstmod __P((struct proc *, struct kldfirstmod_args *));
1066int	getsid __P((struct proc *, struct getsid_args *));
1067int	signanosleep __P((struct proc *, struct signanosleep_args *));
1068int	aio_return __P((struct proc *, struct aio_return_args *));
1069int	aio_suspend __P((struct proc *, struct aio_suspend_args *));
1070int	aio_cancel __P((struct proc *, struct aio_cancel_args *));
1071int	aio_error __P((struct proc *, struct aio_error_args *));
1072int	aio_read __P((struct proc *, struct aio_read_args *));
1073int	aio_write __P((struct proc *, struct aio_write_args *));
1074int	lio_listio __P((struct proc *, struct lio_listio_args *));
1075int	yield __P((struct proc *, struct yield_args *));
1076int	thr_sleep __P((struct proc *, struct thr_sleep_args *));
1077int	thr_wakeup __P((struct proc *, struct thr_wakeup_args *));
1078int	mlockall __P((struct proc *, struct mlockall_args *));
1079int	munlockall __P((struct proc *, struct munlockall_args *));
1080int	__getcwd __P((struct proc *, struct __getcwd_args *));
1081int	sched_setparam __P((struct proc *, struct sched_setparam_args *));
1082int	sched_getparam __P((struct proc *, struct sched_getparam_args *));
1083int	sched_setscheduler __P((struct proc *, struct sched_setscheduler_args *));
1084int	sched_getscheduler __P((struct proc *, struct sched_getscheduler_args *));
1085int	sched_yield __P((struct proc *, struct sched_yield_args *));
1086int	sched_get_priority_max __P((struct proc *, struct sched_get_priority_max_args *));
1087int	sched_get_priority_min __P((struct proc *, struct sched_get_priority_min_args *));
1088int	sched_rr_get_interval __P((struct proc *, struct sched_rr_get_interval_args *));
1089int	utrace __P((struct proc *, struct utrace_args *));
1090
1091#ifdef COMPAT_43
1092
1093struct	ocreat_args {
1094	char * path;
1095	int mode;
1096};
1097struct	olseek_args {
1098	int fd;
1099	long offset;
1100	int whence;
1101};
1102struct	ostat_args {
1103	char * path;
1104	struct ostat * ub;
1105};
1106struct	olstat_args {
1107	char * path;
1108	struct ostat * ub;
1109};
1110struct	ofstat_args {
1111	int fd;
1112	struct ostat * sb;
1113};
1114struct	getkerninfo_args {
1115	int op;
1116	char * where;
1117	int * size;
1118	int arg;
1119};
1120struct	ommap_args {
1121	void * addr;
1122	int len;
1123	int prot;
1124	int flags;
1125	int fd;
1126	long pos;
1127};
1128struct	gethostname_args {
1129	char * hostname;
1130	u_int len;
1131};
1132struct	sethostname_args {
1133	char * hostname;
1134	u_int len;
1135};
1136struct	osend_args {
1137	int s;
1138	caddr_t buf;
1139	int len;
1140	int flags;
1141};
1142struct	orecv_args {
1143	int s;
1144	caddr_t buf;
1145	int len;
1146	int flags;
1147};
1148struct	osigvec_args {
1149	int signum;
1150	struct sigvec * nsv;
1151	struct sigvec * osv;
1152};
1153struct	osigblock_args {
1154	int mask;
1155};
1156struct	osigsetmask_args {
1157	int mask;
1158};
1159struct	osigstack_args {
1160	struct sigstack * nss;
1161	struct sigstack * oss;
1162};
1163struct	orecvmsg_args {
1164	int s;
1165	struct omsghdr * msg;
1166	int flags;
1167};
1168struct	osendmsg_args {
1169	int s;
1170	caddr_t msg;
1171	int flags;
1172};
1173struct	otruncate_args {
1174	char * path;
1175	long length;
1176};
1177struct	oftruncate_args {
1178	int fd;
1179	long length;
1180};
1181struct	ogetpeername_args {
1182	int fdes;
1183	caddr_t asa;
1184	int * alen;
1185};
1186struct	osethostid_args {
1187	long hostid;
1188};
1189struct	ogetrlimit_args {
1190	u_int which;
1191	struct ogetrlimit * rlp;
1192};
1193struct	osetrlimit_args {
1194	u_int which;
1195	struct ogetrlimit * rlp;
1196};
1197struct	okillpg_args {
1198	int pgid;
1199	int signum;
1200};
1201struct	ogetdirentries_args {
1202	int fd;
1203	char * buf;
1204	u_int count;
1205	long * basep;
1206};
1207int	ocreat __P((struct proc *, struct ocreat_args *));
1208int	olseek __P((struct proc *, struct olseek_args *));
1209int	ostat __P((struct proc *, struct ostat_args *));
1210int	olstat __P((struct proc *, struct olstat_args *));
1211int	ofstat __P((struct proc *, struct ofstat_args *));
1212int	ogetkerninfo __P((struct proc *, struct getkerninfo_args *));
1213int	ogetpagesize __P((struct proc *, struct getpagesize_args *));
1214int	ommap __P((struct proc *, struct ommap_args *));
1215int	owait __P((struct proc *, struct owait_args *));
1216int	ogethostname __P((struct proc *, struct gethostname_args *));
1217int	osethostname __P((struct proc *, struct sethostname_args *));
1218int	oaccept __P((struct proc *, struct accept_args *));
1219int	osend __P((struct proc *, struct osend_args *));
1220int	orecv __P((struct proc *, struct orecv_args *));
1221int	osigvec __P((struct proc *, struct osigvec_args *));
1222int	osigblock __P((struct proc *, struct osigblock_args *));
1223int	osigsetmask __P((struct proc *, struct osigsetmask_args *));
1224int	osigstack __P((struct proc *, struct osigstack_args *));
1225int	orecvmsg __P((struct proc *, struct orecvmsg_args *));
1226int	osendmsg __P((struct proc *, struct osendmsg_args *));
1227int	orecvfrom __P((struct proc *, struct recvfrom_args *));
1228int	otruncate __P((struct proc *, struct otruncate_args *));
1229int	oftruncate __P((struct proc *, struct oftruncate_args *));
1230int	ogetpeername __P((struct proc *, struct ogetpeername_args *));
1231int	ogethostid __P((struct proc *, struct ogethostid_args *));
1232int	osethostid __P((struct proc *, struct osethostid_args *));
1233int	ogetrlimit __P((struct proc *, struct ogetrlimit_args *));
1234int	osetrlimit __P((struct proc *, struct osetrlimit_args *));
1235int	okillpg __P((struct proc *, struct okillpg_args *));
1236int	oquota __P((struct proc *, struct oquota_args *));
1237int	ogetsockname __P((struct proc *, struct getsockname_args *));
1238int	ogetdirentries __P((struct proc *, struct ogetdirentries_args *));
1239
1240#endif /* COMPAT_43 */
1241
1242#endif /* !_SYS_SYSPROTO_H_ */
1243