sysproto.h revision 36034
1/*
2 * System call prototypes.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * created from	Id: syscalls.master,v 1.51 1998/05/14 11:28:11 peter 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	aio_return_args {
801	struct aiocb * aiocbp;
802};
803struct	aio_suspend_args {
804	struct aiocb *const * aiocbp;
805	int nent;
806	const struct timespec * timeout;
807};
808struct	aio_cancel_args {
809	int fd;
810	struct aiocb * aiocbp;
811};
812struct	aio_error_args {
813	struct aiocb * aiocbp;
814};
815struct	aio_read_args {
816	struct aiocb * aiocbp;
817};
818struct	aio_write_args {
819	struct aiocb * aiocbp;
820};
821struct	lio_listio_args {
822	int mode;
823	struct aiocb *const * acb_list;
824	int nent;
825	struct sigevent * sig;
826};
827struct	yield_args {
828	int dummy;
829};
830struct	thr_sleep_args {
831	const struct timespec * timeout;
832};
833struct	thr_wakeup_args {
834	pid_t pid;
835};
836struct	mlockall_args {
837	int how;
838};
839struct	munlockall_args {
840	int dummy;
841};
842struct	__getcwd_args {
843	u_char * buf;
844	u_int buflen;
845};
846struct	sched_setparam_args {
847	pid_t pid;
848	const struct sched_param * param;
849};
850struct	sched_getparam_args {
851	pid_t pid;
852	struct sched_param * param;
853};
854struct	sched_setscheduler_args {
855	pid_t pid;
856	int policy;
857	const struct sched_param * param;
858};
859struct	sched_getscheduler_args {
860	pid_t pid;
861};
862struct	sched_yield_args {
863	int dummy;
864};
865struct	sched_get_priority_max_args {
866	int policy;
867};
868struct	sched_get_priority_min_args {
869	int policy;
870};
871struct	sched_rr_get_interval_args {
872	pid_t pid;
873	struct timespec * interval;
874};
875struct	utrace_args {
876	caddr_t addr;
877	size_t len;
878};
879int	nosys __P((struct proc *, struct nosys_args *));
880void	exit __P((struct proc *, struct rexit_args *)) __dead2;
881int	fork __P((struct proc *, struct fork_args *));
882int	read __P((struct proc *, struct read_args *));
883int	write __P((struct proc *, struct write_args *));
884int	open __P((struct proc *, struct open_args *));
885int	close __P((struct proc *, struct close_args *));
886int	wait4 __P((struct proc *, struct wait_args *));
887int	link __P((struct proc *, struct link_args *));
888int	unlink __P((struct proc *, struct unlink_args *));
889int	chdir __P((struct proc *, struct chdir_args *));
890int	fchdir __P((struct proc *, struct fchdir_args *));
891int	mknod __P((struct proc *, struct mknod_args *));
892int	chmod __P((struct proc *, struct chmod_args *));
893int	chown __P((struct proc *, struct chown_args *));
894int	obreak __P((struct proc *, struct obreak_args *));
895int	getfsstat __P((struct proc *, struct getfsstat_args *));
896int	getpid __P((struct proc *, struct getpid_args *));
897int	mount __P((struct proc *, struct mount_args *));
898int	unmount __P((struct proc *, struct unmount_args *));
899int	setuid __P((struct proc *, struct setuid_args *));
900int	getuid __P((struct proc *, struct getuid_args *));
901int	geteuid __P((struct proc *, struct geteuid_args *));
902int	ptrace __P((struct proc *, struct ptrace_args *));
903int	recvmsg __P((struct proc *, struct recvmsg_args *));
904int	sendmsg __P((struct proc *, struct sendmsg_args *));
905int	recvfrom __P((struct proc *, struct recvfrom_args *));
906int	accept __P((struct proc *, struct accept_args *));
907int	getpeername __P((struct proc *, struct getpeername_args *));
908int	getsockname __P((struct proc *, struct getsockname_args *));
909int	access __P((struct proc *, struct access_args *));
910int	chflags __P((struct proc *, struct chflags_args *));
911int	fchflags __P((struct proc *, struct fchflags_args *));
912int	sync __P((struct proc *, struct sync_args *));
913int	kill __P((struct proc *, struct kill_args *));
914int	getppid __P((struct proc *, struct getppid_args *));
915int	dup __P((struct proc *, struct dup_args *));
916int	pipe __P((struct proc *, struct pipe_args *));
917int	getegid __P((struct proc *, struct getegid_args *));
918int	profil __P((struct proc *, struct profil_args *));
919int	ktrace __P((struct proc *, struct ktrace_args *));
920int	sigaction __P((struct proc *, struct sigaction_args *));
921int	getgid __P((struct proc *, struct getgid_args *));
922int	sigprocmask __P((struct proc *, struct sigprocmask_args *));
923int	getlogin __P((struct proc *, struct getlogin_args *));
924int	setlogin __P((struct proc *, struct setlogin_args *));
925int	acct __P((struct proc *, struct acct_args *));
926int	sigpending __P((struct proc *, struct sigpending_args *));
927int	sigaltstack __P((struct proc *, struct sigaltstack_args *));
928int	ioctl __P((struct proc *, struct ioctl_args *));
929int	reboot __P((struct proc *, struct reboot_args *));
930int	revoke __P((struct proc *, struct revoke_args *));
931int	symlink __P((struct proc *, struct symlink_args *));
932int	readlink __P((struct proc *, struct readlink_args *));
933int	execve __P((struct proc *, struct execve_args *));
934int	umask __P((struct proc *, struct umask_args *));
935int	chroot __P((struct proc *, struct chroot_args *));
936int	msync __P((struct proc *, struct msync_args *));
937int	vfork __P((struct proc *, struct vfork_args *));
938int	sbrk __P((struct proc *, struct sbrk_args *));
939int	sstk __P((struct proc *, struct sstk_args *));
940int	ovadvise __P((struct proc *, struct ovadvise_args *));
941int	munmap __P((struct proc *, struct munmap_args *));
942int	mprotect __P((struct proc *, struct mprotect_args *));
943int	madvise __P((struct proc *, struct madvise_args *));
944int	mincore __P((struct proc *, struct mincore_args *));
945int	getgroups __P((struct proc *, struct getgroups_args *));
946int	setgroups __P((struct proc *, struct setgroups_args *));
947int	getpgrp __P((struct proc *, struct getpgrp_args *));
948int	setpgid __P((struct proc *, struct setpgid_args *));
949int	setitimer __P((struct proc *, struct setitimer_args *));
950int	swapon __P((struct proc *, struct swapon_args *));
951int	getitimer __P((struct proc *, struct getitimer_args *));
952int	getdtablesize __P((struct proc *, struct getdtablesize_args *));
953int	dup2 __P((struct proc *, struct dup2_args *));
954int	fcntl __P((struct proc *, struct fcntl_args *));
955int	select __P((struct proc *, struct select_args *));
956int	fsync __P((struct proc *, struct fsync_args *));
957int	setpriority __P((struct proc *, struct setpriority_args *));
958int	socket __P((struct proc *, struct socket_args *));
959int	connect __P((struct proc *, struct connect_args *));
960int	getpriority __P((struct proc *, struct getpriority_args *));
961int	sigreturn __P((struct proc *, struct sigreturn_args *));
962int	bind __P((struct proc *, struct bind_args *));
963int	setsockopt __P((struct proc *, struct setsockopt_args *));
964int	listen __P((struct proc *, struct listen_args *));
965int	sigsuspend __P((struct proc *, struct sigsuspend_args *));
966int	gettimeofday __P((struct proc *, struct gettimeofday_args *));
967int	getrusage __P((struct proc *, struct getrusage_args *));
968int	getsockopt __P((struct proc *, struct getsockopt_args *));
969int	readv __P((struct proc *, struct readv_args *));
970int	writev __P((struct proc *, struct writev_args *));
971int	settimeofday __P((struct proc *, struct settimeofday_args *));
972int	fchown __P((struct proc *, struct fchown_args *));
973int	fchmod __P((struct proc *, struct fchmod_args *));
974int	setreuid __P((struct proc *, struct setreuid_args *));
975int	setregid __P((struct proc *, struct setregid_args *));
976int	rename __P((struct proc *, struct rename_args *));
977int	flock __P((struct proc *, struct flock_args *));
978int	mkfifo __P((struct proc *, struct mkfifo_args *));
979int	sendto __P((struct proc *, struct sendto_args *));
980int	shutdown __P((struct proc *, struct shutdown_args *));
981int	socketpair __P((struct proc *, struct socketpair_args *));
982int	mkdir __P((struct proc *, struct mkdir_args *));
983int	rmdir __P((struct proc *, struct rmdir_args *));
984int	utimes __P((struct proc *, struct utimes_args *));
985int	adjtime __P((struct proc *, struct adjtime_args *));
986int	setsid __P((struct proc *, struct setsid_args *));
987int	quotactl __P((struct proc *, struct quotactl_args *));
988int	nfssvc __P((struct proc *, struct nfssvc_args *));
989int	statfs __P((struct proc *, struct statfs_args *));
990int	fstatfs __P((struct proc *, struct fstatfs_args *));
991int	getfh __P((struct proc *, struct getfh_args *));
992int	getdomainname __P((struct proc *, struct getdomainname_args *));
993int	setdomainname __P((struct proc *, struct setdomainname_args *));
994int	uname __P((struct proc *, struct uname_args *));
995int	sysarch __P((struct proc *, struct sysarch_args *));
996int	rtprio __P((struct proc *, struct rtprio_args *));
997int	semsys __P((struct proc *, struct semsys_args *));
998int	msgsys __P((struct proc *, struct msgsys_args *));
999int	shmsys __P((struct proc *, struct shmsys_args *));
1000int	ntp_adjtime __P((struct proc *, struct ntp_adjtime_args *));
1001int	setgid __P((struct proc *, struct setgid_args *));
1002int	setegid __P((struct proc *, struct setegid_args *));
1003int	seteuid __P((struct proc *, struct seteuid_args *));
1004int	stat __P((struct proc *, struct stat_args *));
1005int	fstat __P((struct proc *, struct fstat_args *));
1006int	lstat __P((struct proc *, struct lstat_args *));
1007int	pathconf __P((struct proc *, struct pathconf_args *));
1008int	fpathconf __P((struct proc *, struct fpathconf_args *));
1009int	getrlimit __P((struct proc *, struct __getrlimit_args *));
1010int	setrlimit __P((struct proc *, struct __setrlimit_args *));
1011int	getdirentries __P((struct proc *, struct getdirentries_args *));
1012int	mmap __P((struct proc *, struct mmap_args *));
1013int	lseek __P((struct proc *, struct lseek_args *));
1014int	truncate __P((struct proc *, struct truncate_args *));
1015int	ftruncate __P((struct proc *, struct ftruncate_args *));
1016int	__sysctl __P((struct proc *, struct sysctl_args *));
1017int	mlock __P((struct proc *, struct mlock_args *));
1018int	munlock __P((struct proc *, struct munlock_args *));
1019int	undelete __P((struct proc *, struct undelete_args *));
1020int	futimes __P((struct proc *, struct futimes_args *));
1021int	getpgid __P((struct proc *, struct getpgid_args *));
1022int	poll __P((struct proc *, struct poll_args *));
1023int	lkmnosys __P((struct proc *, struct nosys_args *));
1024int	__semctl __P((struct proc *, struct __semctl_args *));
1025int	semget __P((struct proc *, struct semget_args *));
1026int	semop __P((struct proc *, struct semop_args *));
1027int	semconfig __P((struct proc *, struct semconfig_args *));
1028int	msgctl __P((struct proc *, struct msgctl_args *));
1029int	msgget __P((struct proc *, struct msgget_args *));
1030int	msgsnd __P((struct proc *, struct msgsnd_args *));
1031int	msgrcv __P((struct proc *, struct msgrcv_args *));
1032int	shmat __P((struct proc *, struct shmat_args *));
1033int	shmctl __P((struct proc *, struct shmctl_args *));
1034int	shmdt __P((struct proc *, struct shmdt_args *));
1035int	shmget __P((struct proc *, struct shmget_args *));
1036int	clock_gettime __P((struct proc *, struct clock_gettime_args *));
1037int	clock_settime __P((struct proc *, struct clock_settime_args *));
1038int	clock_getres __P((struct proc *, struct clock_getres_args *));
1039int	nanosleep __P((struct proc *, struct nanosleep_args *));
1040int	minherit __P((struct proc *, struct minherit_args *));
1041int	rfork __P((struct proc *, struct rfork_args *));
1042int	openbsd_poll __P((struct proc *, struct openbsd_poll_args *));
1043int	issetugid __P((struct proc *, struct issetugid_args *));
1044int	lchown __P((struct proc *, struct lchown_args *));
1045int	getdents __P((struct proc *, struct getdents_args *));
1046int	lchmod __P((struct proc *, struct lchmod_args *));
1047int	lutimes __P((struct proc *, struct lutimes_args *));
1048int	nstat __P((struct proc *, struct nstat_args *));
1049int	nfstat __P((struct proc *, struct nfstat_args *));
1050int	nlstat __P((struct proc *, struct nlstat_args *));
1051int	modnext __P((struct proc *, struct modnext_args *));
1052int	modstat __P((struct proc *, struct modstat_args *));
1053int	modfnext __P((struct proc *, struct modfnext_args *));
1054int	modfind __P((struct proc *, struct modfind_args *));
1055int	kldload __P((struct proc *, struct kldload_args *));
1056int	kldunload __P((struct proc *, struct kldunload_args *));
1057int	kldfind __P((struct proc *, struct kldfind_args *));
1058int	kldnext __P((struct proc *, struct kldnext_args *));
1059int	kldstat __P((struct proc *, struct kldstat_args *));
1060int	kldfirstmod __P((struct proc *, struct kldfirstmod_args *));
1061int	getsid __P((struct proc *, struct getsid_args *));
1062int	aio_return __P((struct proc *, struct aio_return_args *));
1063int	aio_suspend __P((struct proc *, struct aio_suspend_args *));
1064int	aio_cancel __P((struct proc *, struct aio_cancel_args *));
1065int	aio_error __P((struct proc *, struct aio_error_args *));
1066int	aio_read __P((struct proc *, struct aio_read_args *));
1067int	aio_write __P((struct proc *, struct aio_write_args *));
1068int	lio_listio __P((struct proc *, struct lio_listio_args *));
1069int	yield __P((struct proc *, struct yield_args *));
1070int	thr_sleep __P((struct proc *, struct thr_sleep_args *));
1071int	thr_wakeup __P((struct proc *, struct thr_wakeup_args *));
1072int	mlockall __P((struct proc *, struct mlockall_args *));
1073int	munlockall __P((struct proc *, struct munlockall_args *));
1074int	__getcwd __P((struct proc *, struct __getcwd_args *));
1075int	sched_setparam __P((struct proc *, struct sched_setparam_args *));
1076int	sched_getparam __P((struct proc *, struct sched_getparam_args *));
1077int	sched_setscheduler __P((struct proc *, struct sched_setscheduler_args *));
1078int	sched_getscheduler __P((struct proc *, struct sched_getscheduler_args *));
1079int	sched_yield __P((struct proc *, struct sched_yield_args *));
1080int	sched_get_priority_max __P((struct proc *, struct sched_get_priority_max_args *));
1081int	sched_get_priority_min __P((struct proc *, struct sched_get_priority_min_args *));
1082int	sched_rr_get_interval __P((struct proc *, struct sched_rr_get_interval_args *));
1083int	utrace __P((struct proc *, struct utrace_args *));
1084
1085#ifdef COMPAT_43
1086
1087struct	ocreat_args {
1088	char * path;
1089	int mode;
1090};
1091struct	olseek_args {
1092	int fd;
1093	long offset;
1094	int whence;
1095};
1096struct	ostat_args {
1097	char * path;
1098	struct ostat * ub;
1099};
1100struct	olstat_args {
1101	char * path;
1102	struct ostat * ub;
1103};
1104struct	ofstat_args {
1105	int fd;
1106	struct ostat * sb;
1107};
1108struct	getkerninfo_args {
1109	int op;
1110	char * where;
1111	int * size;
1112	int arg;
1113};
1114struct	ommap_args {
1115	void * addr;
1116	int len;
1117	int prot;
1118	int flags;
1119	int fd;
1120	long pos;
1121};
1122struct	gethostname_args {
1123	char * hostname;
1124	u_int len;
1125};
1126struct	sethostname_args {
1127	char * hostname;
1128	u_int len;
1129};
1130struct	osend_args {
1131	int s;
1132	caddr_t buf;
1133	int len;
1134	int flags;
1135};
1136struct	orecv_args {
1137	int s;
1138	caddr_t buf;
1139	int len;
1140	int flags;
1141};
1142struct	osigvec_args {
1143	int signum;
1144	struct sigvec * nsv;
1145	struct sigvec * osv;
1146};
1147struct	osigblock_args {
1148	int mask;
1149};
1150struct	osigsetmask_args {
1151	int mask;
1152};
1153struct	osigstack_args {
1154	struct sigstack * nss;
1155	struct sigstack * oss;
1156};
1157struct	orecvmsg_args {
1158	int s;
1159	struct omsghdr * msg;
1160	int flags;
1161};
1162struct	osendmsg_args {
1163	int s;
1164	caddr_t msg;
1165	int flags;
1166};
1167struct	otruncate_args {
1168	char * path;
1169	long length;
1170};
1171struct	oftruncate_args {
1172	int fd;
1173	long length;
1174};
1175struct	ogetpeername_args {
1176	int fdes;
1177	caddr_t asa;
1178	int * alen;
1179};
1180struct	osethostid_args {
1181	long hostid;
1182};
1183struct	ogetrlimit_args {
1184	u_int which;
1185	struct ogetrlimit * rlp;
1186};
1187struct	osetrlimit_args {
1188	u_int which;
1189	struct ogetrlimit * rlp;
1190};
1191struct	okillpg_args {
1192	int pgid;
1193	int signum;
1194};
1195struct	ogetdirentries_args {
1196	int fd;
1197	char * buf;
1198	u_int count;
1199	long * basep;
1200};
1201int	ocreat __P((struct proc *, struct ocreat_args *));
1202int	olseek __P((struct proc *, struct olseek_args *));
1203int	ostat __P((struct proc *, struct ostat_args *));
1204int	olstat __P((struct proc *, struct olstat_args *));
1205int	ofstat __P((struct proc *, struct ofstat_args *));
1206int	ogetkerninfo __P((struct proc *, struct getkerninfo_args *));
1207int	ogetpagesize __P((struct proc *, struct getpagesize_args *));
1208int	ommap __P((struct proc *, struct ommap_args *));
1209int	owait __P((struct proc *, struct owait_args *));
1210int	ogethostname __P((struct proc *, struct gethostname_args *));
1211int	osethostname __P((struct proc *, struct sethostname_args *));
1212int	oaccept __P((struct proc *, struct accept_args *));
1213int	osend __P((struct proc *, struct osend_args *));
1214int	orecv __P((struct proc *, struct orecv_args *));
1215int	osigvec __P((struct proc *, struct osigvec_args *));
1216int	osigblock __P((struct proc *, struct osigblock_args *));
1217int	osigsetmask __P((struct proc *, struct osigsetmask_args *));
1218int	osigstack __P((struct proc *, struct osigstack_args *));
1219int	orecvmsg __P((struct proc *, struct orecvmsg_args *));
1220int	osendmsg __P((struct proc *, struct osendmsg_args *));
1221int	orecvfrom __P((struct proc *, struct recvfrom_args *));
1222int	otruncate __P((struct proc *, struct otruncate_args *));
1223int	oftruncate __P((struct proc *, struct oftruncate_args *));
1224int	ogetpeername __P((struct proc *, struct ogetpeername_args *));
1225int	ogethostid __P((struct proc *, struct ogethostid_args *));
1226int	osethostid __P((struct proc *, struct osethostid_args *));
1227int	ogetrlimit __P((struct proc *, struct ogetrlimit_args *));
1228int	osetrlimit __P((struct proc *, struct osetrlimit_args *));
1229int	okillpg __P((struct proc *, struct okillpg_args *));
1230int	oquota __P((struct proc *, struct oquota_args *));
1231int	ogetsockname __P((struct proc *, struct getsockname_args *));
1232int	ogetdirentries __P((struct proc *, struct ogetdirentries_args *));
1233
1234#endif /* COMPAT_43 */
1235
1236#endif /* !_SYS_SYSPROTO_H_ */
1237