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