sysproto.h revision 11295
1/*
2 * System call prototypes.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * created from	Id: syscalls.master,v 1.17 1995/10/07 06:24:08 swallace Exp
6 */
7
8#ifndef _SYS_SYSPROTO_H_
9#define	_SYS_SYSPROTO_H_
10
11#include <sys/types.h>
12#include <sys/param.h>
13#include <sys/mount.h>
14
15struct args { int dummy; };
16
17struct	rexit_args {
18	int rval;
19};
20struct	read_args {
21	int fd;
22	char * buf;
23	u_int nbyte;
24};
25struct	write_args {
26	int fd;
27	char * buf;
28	u_int nbyte;
29};
30struct	open_args {
31	char * path;
32	int flags;
33	int mode;
34};
35struct	close_args {
36	int fd;
37};
38struct	wait_args {
39	int pid;
40	int * status;
41	int options;
42	struct rusage * rusage;
43};
44struct	link_args {
45	char * path;
46	char * link;
47};
48struct	unlink_args {
49	char * path;
50};
51struct	chdir_args {
52	char * path;
53};
54struct	fchdir_args {
55	int fd;
56};
57struct	mknod_args {
58	char * path;
59	int mode;
60	int dev;
61};
62struct	chmod_args {
63	char * path;
64	int mode;
65};
66struct	chown_args {
67	char * path;
68	int uid;
69	int gid;
70};
71struct	obreak_args {
72	char * nsize;
73};
74struct	getfsstat_args {
75	struct statfs * buf;
76	long bufsize;
77	int flags;
78};
79struct	mount_args {
80	char * type;
81	char * path;
82	int flags;
83	caddr_t data;
84};
85struct	unmount_args {
86	char * path;
87	int flags;
88};
89struct	setuid_args {
90	uid_t uid;
91};
92struct	ptrace_args {
93	int req;
94	pid_t pid;
95	caddr_t addr;
96	int data;
97};
98struct	recvmsg_args {
99	int s;
100	struct msghdr * msg;
101	int flags;
102};
103struct	sendmsg_args {
104	int s;
105	caddr_t msg;
106	int flags;
107};
108struct	recvfrom_args {
109	int s;
110	caddr_t buf;
111	size_t len;
112	int flags;
113	caddr_t from;
114	int * fromlenaddr;
115};
116struct	accept_args {
117	int s;
118	caddr_t name;
119	int * anamelen;
120};
121struct	getpeername_args {
122	int fdes;
123	caddr_t asa;
124	int * alen;
125};
126struct	getsockname_args {
127	int fdes;
128	caddr_t asa;
129	int * alen;
130};
131struct	access_args {
132	char * path;
133	int flags;
134};
135struct	chflags_args {
136	char * path;
137	int flags;
138};
139struct	fchflags_args {
140	int fd;
141	int flags;
142};
143struct	kill_args {
144	int pid;
145	int signum;
146};
147struct	dup_args {
148	u_int fd;
149};
150struct	profil_args {
151	caddr_t samples;
152	u_int size;
153	u_int offset;
154	u_int scale;
155};
156#ifdef KTRACE
157struct	ktrace_args {
158	char * fname;
159	int ops;
160	int facs;
161	int pid;
162};
163#else
164#endif
165struct	sigaction_args {
166	int signum;
167	struct sigaction * nsa;
168	struct sigaction * osa;
169};
170struct	sigprocmask_args {
171	int how;
172	sigset_t mask;
173};
174struct	getlogin_args {
175	char * namebuf;
176	u_int namelen;
177};
178struct	setlogin_args {
179	char * namebuf;
180};
181struct	acct_args {
182	char * path;
183};
184struct	sigaltstack_args {
185	struct sigaltstack * nss;
186	struct sigaltstack * oss;
187};
188struct	ioctl_args {
189	int fd;
190	u_long com;
191	caddr_t data;
192};
193struct	reboot_args {
194	int opt;
195};
196struct	revoke_args {
197	char * path;
198};
199struct	symlink_args {
200	char * path;
201	char * link;
202};
203struct	readlink_args {
204	char * path;
205	char * buf;
206	int count;
207};
208struct	execve_args {
209	char * fname;
210	char ** argv;
211	char ** envv;
212};
213struct	umask_args {
214	int newmask;
215};
216struct	chroot_args {
217	char * path;
218};
219struct	msync_args {
220	caddr_t addr;
221	size_t len;
222	int flags;
223};
224struct	sbrk_args {
225	int incr;
226};
227struct	sstk_args {
228	int incr;
229};
230struct	ovadvise_args {
231	int anom;
232};
233struct	munmap_args {
234	caddr_t addr;
235	size_t len;
236};
237struct	mprotect_args {
238	caddr_t addr;
239	size_t len;
240	int prot;
241};
242struct	madvise_args {
243	caddr_t addr;
244	size_t len;
245	int behav;
246};
247struct	mincore_args {
248	caddr_t addr;
249	size_t len;
250	char * vec;
251};
252struct	getgroups_args {
253	u_int gidsetsize;
254	gid_t * gidset;
255};
256struct	setgroups_args {
257	u_int gidsetsize;
258	gid_t * gidset;
259};
260struct	setpgid_args {
261	int pid;
262	int pgid;
263};
264struct	setitimer_args {
265	u_int which;
266	struct itimerval * itv;
267	struct itimerval * oitv;
268};
269struct	swapon_args {
270	char * name;
271};
272struct	getitimer_args {
273	u_int which;
274	struct itimerval * itv;
275};
276struct	dup2_args {
277	u_int from;
278	u_int to;
279};
280struct	fcntl_args {
281	int fd;
282	int cmd;
283	void * arg;
284};
285struct	select_args {
286	u_int nd;
287	fd_set * in;
288	fd_set * ou;
289	fd_set * ex;
290	struct timeval * tv;
291};
292struct	fsync_args {
293	int fd;
294};
295struct	setpriority_args {
296	int which;
297	int who;
298	int prio;
299};
300struct	socket_args {
301	int domain;
302	int type;
303	int protocol;
304};
305struct	connect_args {
306	int s;
307	caddr_t name;
308	int namelen;
309};
310struct	getpriority_args {
311	int which;
312	int who;
313};
314struct	sigreturn_args {
315	struct sigcontext * sigcntxp;
316};
317struct	bind_args {
318	int s;
319	caddr_t name;
320	int namelen;
321};
322struct	setsockopt_args {
323	int s;
324	int level;
325	int name;
326	caddr_t val;
327	int valsize;
328};
329struct	listen_args {
330	int s;
331	int backlog;
332};
333struct	sigsuspend_args {
334	int mask;
335};
336struct	gettimeofday_args {
337	struct timeval * tp;
338	struct timezone * tzp;
339};
340struct	getrusage_args {
341	int who;
342	struct rusage * rusage;
343};
344struct	getsockopt_args {
345	int s;
346	int level;
347	int name;
348	caddr_t val;
349	int * avalsize;
350};
351struct	readv_args {
352	int fd;
353	struct iovec * iovp;
354	u_int iovcnt;
355};
356struct	writev_args {
357	int fd;
358	struct iovec * iovp;
359	u_int iovcnt;
360};
361struct	settimeofday_args {
362	struct timeval * tv;
363	struct timezone * tzp;
364};
365struct	fchown_args {
366	int fd;
367	int uid;
368	int gid;
369};
370struct	fchmod_args {
371	int fd;
372	int mode;
373};
374struct	setreuid_args {
375	int ruid;
376	int euid;
377};
378struct	setregid_args {
379	int rgid;
380	int egid;
381};
382struct	rename_args {
383	char * from;
384	char * to;
385};
386struct	flock_args {
387	int fd;
388	int how;
389};
390struct	mkfifo_args {
391	char * path;
392	int mode;
393};
394struct	sendto_args {
395	int s;
396	caddr_t buf;
397	size_t len;
398	int flags;
399	caddr_t to;
400	int tolen;
401};
402struct	shutdown_args {
403	int s;
404	int how;
405};
406struct	socketpair_args {
407	int domain;
408	int type;
409	int protocol;
410	int * rsv;
411};
412struct	mkdir_args {
413	char * path;
414	int mode;
415};
416struct	rmdir_args {
417	char * path;
418};
419struct	utimes_args {
420	char * path;
421	struct timeval * tptr;
422};
423struct	adjtime_args {
424	struct timeval * delta;
425	struct timeval * olddelta;
426};
427struct	quotactl_args {
428	char * path;
429	int cmd;
430	int uid;
431	caddr_t arg;
432};
433#ifdef NFS
434struct	nfssvc_args {
435	int flag;
436	caddr_t argp;
437};
438#else
439#endif
440struct	statfs_args {
441	char * path;
442	struct statfs * buf;
443};
444struct	fstatfs_args {
445	int fd;
446	struct statfs * buf;
447};
448#ifdef NFS
449struct	getfh_args {
450	char * fname;
451	fhandle_t * fhp;
452};
453#else
454#endif
455struct	getdomainname_args {
456	char * domainname;
457	int len;
458};
459struct	setdomainname_args {
460	char * domainname;
461	int len;
462};
463struct	uname_args {
464	struct outsname * name;
465};
466struct	sysarch_args {
467	int op;
468	char * parms;
469};
470struct	rtprio_args {
471	int function;
472	pid_t pid;
473	struct rtprio * rtp;
474};
475#ifdef SYSVSEM
476struct	semsys_args {
477	int which;
478	int a2;
479	int a3;
480	int a4;
481	int a5;
482};
483#else
484#endif
485#ifdef SYSVMSG
486struct	msgsys_args {
487	int which;
488	int a2;
489	int a3;
490	int a4;
491	int a5;
492	int a6;
493};
494#else
495#endif
496#ifdef SYSVSHM
497struct	shmsys_args {
498	int which;
499	int a2;
500	int a3;
501	int a4;
502};
503#else
504#endif
505struct	ntp_adjtime_args {
506	struct timex * tp;
507};
508struct	setgid_args {
509	gid_t gid;
510};
511struct	setegid_args {
512	gid_t egid;
513};
514struct	seteuid_args {
515	uid_t euid;
516};
517#ifdef LFS
518struct	lfs_bmapv_args {
519	fsid_t * fsidp;
520	struct block_info * blkiov;
521	int blkcnt;
522};
523struct	lfs_markv_args {
524	fsid_t * fsidp;
525	struct block_info * blkiov;
526	int blkcnt;
527};
528struct	lfs_segclean_args {
529	fsid_t * fsidp;
530	u_long segment;
531};
532struct	lfs_segwait_args {
533	fsid_t * fsidp;
534	struct timeval * tv;
535};
536#else
537#endif
538struct	stat_args {
539	char * path;
540	struct stat * ub;
541};
542struct	fstat_args {
543	int fd;
544	struct stat * sb;
545};
546struct	lstat_args {
547	char * path;
548	struct stat * ub;
549};
550struct	pathconf_args {
551	char * path;
552	int name;
553};
554struct	fpathconf_args {
555	int fd;
556	int name;
557};
558struct	__getrlimit_args {
559	u_int which;
560	struct ogetrlimit * rlp;
561};
562struct	__setrlimit_args {
563	u_int which;
564	struct ogetrlimit * rlp;
565};
566struct	getdirentries_args {
567	int fd;
568	char * buf;
569	u_int count;
570	long * basep;
571};
572struct	mmap_args {
573	caddr_t addr;
574	size_t len;
575	int prot;
576	int flags;
577	int fd;
578	long pad;
579	off_t pos;
580};
581struct	lseek_args {
582	int fd;
583	int pad;
584	off_t offset;
585	int whence;
586};
587struct	truncate_args {
588	char * path;
589	int pad;
590	off_t length;
591};
592struct	ftruncate_args {
593	int fd;
594	int pad;
595	off_t length;
596};
597struct	sysctl_args {
598	int * name;
599	u_int namelen;
600	void * old;
601	size_t * oldlenp;
602	void * new;
603	size_t newlen;
604};
605struct	mlock_args {
606	caddr_t addr;
607	size_t len;
608};
609struct	munlock_args {
610	caddr_t addr;
611	size_t len;
612};
613int	nosys __P((struct proc *, struct args *, int []));
614__dead void	exit __P((struct proc *, struct rexit_args *, int []));
615int	fork __P((struct proc *, struct args *, int []));
616int	read __P((struct proc *, struct read_args *, int []));
617int	write __P((struct proc *, struct write_args *, int []));
618int	open __P((struct proc *, struct open_args *, int []));
619int	close __P((struct proc *, struct close_args *, int []));
620int	wait4 __P((struct proc *, struct wait_args *, int []));
621int	link __P((struct proc *, struct link_args *, int []));
622int	unlink __P((struct proc *, struct unlink_args *, int []));
623int	chdir __P((struct proc *, struct chdir_args *, int []));
624int	fchdir __P((struct proc *, struct fchdir_args *, int []));
625int	mknod __P((struct proc *, struct mknod_args *, int []));
626int	chmod __P((struct proc *, struct chmod_args *, int []));
627int	chown __P((struct proc *, struct chown_args *, int []));
628int	obreak __P((struct proc *, struct obreak_args *, int []));
629int	getfsstat __P((struct proc *, struct getfsstat_args *, int []));
630int	getpid __P((struct proc *, struct args *, int []));
631int	mount __P((struct proc *, struct mount_args *, int []));
632int	unmount __P((struct proc *, struct unmount_args *, int []));
633int	setuid __P((struct proc *, struct setuid_args *, int []));
634int	getuid __P((struct proc *, struct args *, int []));
635int	geteuid __P((struct proc *, struct args *, int []));
636int	ptrace __P((struct proc *, struct ptrace_args *, int []));
637int	recvmsg __P((struct proc *, struct recvmsg_args *, int []));
638int	sendmsg __P((struct proc *, struct sendmsg_args *, int []));
639int	recvfrom __P((struct proc *, struct recvfrom_args *, int []));
640int	accept __P((struct proc *, struct accept_args *, int []));
641int	getpeername __P((struct proc *, struct getpeername_args *, int []));
642int	getsockname __P((struct proc *, struct getsockname_args *, int []));
643int	access __P((struct proc *, struct access_args *, int []));
644int	chflags __P((struct proc *, struct chflags_args *, int []));
645int	fchflags __P((struct proc *, struct fchflags_args *, int []));
646int	sync __P((struct proc *, struct args *, int []));
647int	kill __P((struct proc *, struct kill_args *, int []));
648int	getppid __P((struct proc *, struct args *, int []));
649int	dup __P((struct proc *, struct dup_args *, int []));
650int	pipe __P((struct proc *, struct args *, int []));
651int	getegid __P((struct proc *, struct args *, int []));
652int	profil __P((struct proc *, struct profil_args *, int []));
653#ifdef KTRACE
654int	ktrace __P((struct proc *, struct ktrace_args *, int []));
655#else
656#endif
657int	sigaction __P((struct proc *, struct sigaction_args *, int []));
658int	getgid __P((struct proc *, struct args *, int []));
659int	sigprocmask __P((struct proc *, struct sigprocmask_args *, int []));
660int	getlogin __P((struct proc *, struct getlogin_args *, int []));
661int	setlogin __P((struct proc *, struct setlogin_args *, int []));
662int	acct __P((struct proc *, struct acct_args *, int []));
663int	sigpending __P((struct proc *, struct args *, int []));
664int	sigaltstack __P((struct proc *, struct sigaltstack_args *, int []));
665int	ioctl __P((struct proc *, struct ioctl_args *, int []));
666int	reboot __P((struct proc *, struct reboot_args *, int []));
667int	revoke __P((struct proc *, struct revoke_args *, int []));
668int	symlink __P((struct proc *, struct symlink_args *, int []));
669int	readlink __P((struct proc *, struct readlink_args *, int []));
670int	execve __P((struct proc *, struct execve_args *, int []));
671mode_t	umask __P((struct proc *, struct umask_args *, int []));
672int	chroot __P((struct proc *, struct chroot_args *, int []));
673int	msync __P((struct proc *, struct msync_args *, int []));
674int	vfork __P((struct proc *, struct args *, int []));
675int	sbrk __P((struct proc *, struct sbrk_args *, int []));
676int	sstk __P((struct proc *, struct sstk_args *, int []));
677int	ovadvise __P((struct proc *, struct ovadvise_args *, int []));
678int	munmap __P((struct proc *, struct munmap_args *, int []));
679int	mprotect __P((struct proc *, struct mprotect_args *, int []));
680int	madvise __P((struct proc *, struct madvise_args *, int []));
681int	mincore __P((struct proc *, struct mincore_args *, int []));
682int	getgroups __P((struct proc *, struct getgroups_args *, int []));
683int	setgroups __P((struct proc *, struct setgroups_args *, int []));
684int	getpgrp __P((struct proc *, struct args *, int []));
685int	setpgid __P((struct proc *, struct setpgid_args *, int []));
686int	setitimer __P((struct proc *, struct setitimer_args *, int []));
687int	swapon __P((struct proc *, struct swapon_args *, int []));
688int	getitimer __P((struct proc *, struct getitimer_args *, int []));
689int	getdtablesize __P((struct proc *, struct args *, int []));
690int	dup2 __P((struct proc *, struct dup2_args *, int []));
691int	fcntl __P((struct proc *, struct fcntl_args *, int []));
692int	select __P((struct proc *, struct select_args *, int []));
693int	fsync __P((struct proc *, struct fsync_args *, int []));
694int	setpriority __P((struct proc *, struct setpriority_args *, int []));
695int	socket __P((struct proc *, struct socket_args *, int []));
696int	connect __P((struct proc *, struct connect_args *, int []));
697int	getpriority __P((struct proc *, struct getpriority_args *, int []));
698int	sigreturn __P((struct proc *, struct sigreturn_args *, int []));
699int	bind __P((struct proc *, struct bind_args *, int []));
700int	setsockopt __P((struct proc *, struct setsockopt_args *, int []));
701int	listen __P((struct proc *, struct listen_args *, int []));
702int	sigsuspend __P((struct proc *, struct sigsuspend_args *, int []));
703int	gettimeofday __P((struct proc *, struct gettimeofday_args *, int []));
704int	getrusage __P((struct proc *, struct getrusage_args *, int []));
705int	getsockopt __P((struct proc *, struct getsockopt_args *, int []));
706int	readv __P((struct proc *, struct readv_args *, int []));
707int	writev __P((struct proc *, struct writev_args *, int []));
708int	settimeofday __P((struct proc *, struct settimeofday_args *, int []));
709int	fchown __P((struct proc *, struct fchown_args *, int []));
710int	fchmod __P((struct proc *, struct fchmod_args *, int []));
711int	setreuid __P((struct proc *, struct setreuid_args *, int []));
712int	setregid __P((struct proc *, struct setregid_args *, int []));
713int	rename __P((struct proc *, struct rename_args *, int []));
714int	flock __P((struct proc *, struct flock_args *, int []));
715int	mkfifo __P((struct proc *, struct mkfifo_args *, int []));
716int	sendto __P((struct proc *, struct sendto_args *, int []));
717int	shutdown __P((struct proc *, struct shutdown_args *, int []));
718int	socketpair __P((struct proc *, struct socketpair_args *, int []));
719int	mkdir __P((struct proc *, struct mkdir_args *, int []));
720int	rmdir __P((struct proc *, struct rmdir_args *, int []));
721int	utimes __P((struct proc *, struct utimes_args *, int []));
722int	adjtime __P((struct proc *, struct adjtime_args *, int []));
723int	setsid __P((struct proc *, struct args *, int []));
724int	quotactl __P((struct proc *, struct quotactl_args *, int []));
725#ifdef NFS
726int	nfssvc __P((struct proc *, struct nfssvc_args *, int []));
727#else
728#endif
729int	statfs __P((struct proc *, struct statfs_args *, int []));
730int	fstatfs __P((struct proc *, struct fstatfs_args *, int []));
731#ifdef NFS
732int	getfh __P((struct proc *, struct getfh_args *, int []));
733#else
734#endif
735int	getdomainname __P((struct proc *, struct getdomainname_args *, int []));
736int	setdomainname __P((struct proc *, struct setdomainname_args *, int []));
737int	uname __P((struct proc *, struct uname_args *, int []));
738int	sysarch __P((struct proc *, struct sysarch_args *, int []));
739int	rtprio __P((struct proc *, struct rtprio_args *, int []));
740#ifdef SYSVSEM
741int	semsys __P((struct proc *, struct semsys_args *, int []));
742#else
743#endif
744#ifdef SYSVMSG
745int	msgsys __P((struct proc *, struct msgsys_args *, int []));
746#else
747#endif
748#ifdef SYSVSHM
749int	shmsys __P((struct proc *, struct shmsys_args *, int []));
750#else
751#endif
752int	ntp_adjtime __P((struct proc *, struct ntp_adjtime_args *, int []));
753int	setgid __P((struct proc *, struct setgid_args *, int []));
754int	setegid __P((struct proc *, struct setegid_args *, int []));
755int	seteuid __P((struct proc *, struct seteuid_args *, int []));
756#ifdef LFS
757int	lfs_bmapv __P((struct proc *, struct lfs_bmapv_args *, int []));
758int	lfs_markv __P((struct proc *, struct lfs_markv_args *, int []));
759int	lfs_segclean __P((struct proc *, struct lfs_segclean_args *, int []));
760int	lfs_segwait __P((struct proc *, struct lfs_segwait_args *, int []));
761#else
762#endif
763int	stat __P((struct proc *, struct stat_args *, int []));
764int	fstat __P((struct proc *, struct fstat_args *, int []));
765int	lstat __P((struct proc *, struct lstat_args *, int []));
766int	pathconf __P((struct proc *, struct pathconf_args *, int []));
767int	fpathconf __P((struct proc *, struct fpathconf_args *, int []));
768int	getrlimit __P((struct proc *, struct __getrlimit_args *, int []));
769int	setrlimit __P((struct proc *, struct __setrlimit_args *, int []));
770int	getdirentries __P((struct proc *, struct getdirentries_args *, int []));
771int	mmap __P((struct proc *, struct mmap_args *, int []));
772int	lseek __P((struct proc *, struct lseek_args *, int []));
773int	truncate __P((struct proc *, struct truncate_args *, int []));
774int	ftruncate __P((struct proc *, struct ftruncate_args *, int []));
775int	__sysctl __P((struct proc *, struct sysctl_args *, int []));
776int	mlock __P((struct proc *, struct mlock_args *, int []));
777int	munlock __P((struct proc *, struct munlock_args *, int []));
778int	lkmnosys __P((struct proc *, struct args *, int []));
779
780#ifdef COMPAT_43
781
782struct	ocreat_args {
783	char * path;
784	int mode;
785};
786struct	olseek_args {
787	int fd;
788	long offset;
789	int whence;
790};
791struct	ostat_args {
792	char * path;
793	struct ostat * ub;
794};
795struct	olstat_args {
796	char * path;
797	struct ostat * ub;
798};
799#ifdef KTRACE
800#else
801#endif
802struct	ofstat_args {
803	int fd;
804	struct ostat * sb;
805};
806struct	ogetkerninfo_args {
807	int op;
808	char * where;
809	int * size;
810	int arg;
811};
812struct	ommap_args {
813	caddr_t addr;
814	size_t len;
815	int prot;
816	int flags;
817	int fd;
818	long pos;
819};
820struct	ogethostname_args {
821	char * hostname;
822	u_int len;
823};
824struct	osethostname_args {
825	char * hostname;
826	u_int len;
827};
828struct	oaccept_args {
829	int s;
830	caddr_t name;
831	int * anamelen;
832};
833struct	osend_args {
834	int s;
835	caddr_t buf;
836	int len;
837	int flags;
838};
839struct	orecv_args {
840	int s;
841	caddr_t buf;
842	int len;
843	int flags;
844};
845struct	osigvec_args {
846	int signum;
847	struct sigvec * nsv;
848	struct sigvec * osv;
849};
850struct	osigblock_args {
851	int mask;
852};
853struct	osigsetmask_args {
854	int mask;
855};
856struct	osigstack_args {
857	struct sigstack * nss;
858	struct sigstack * oss;
859};
860struct	orecvmsg_args {
861	int s;
862	struct omsghdr * msg;
863	int flags;
864};
865struct	osendmsg_args {
866	int s;
867	caddr_t msg;
868	int flags;
869};
870struct	orecvfrom_args {
871	int s;
872	caddr_t buf;
873	size_t len;
874	int flags;
875	caddr_t from;
876	int * fromlenaddr;
877};
878struct	otruncate_args {
879	char * path;
880	long length;
881};
882struct	oftruncate_args {
883	int fd;
884	long length;
885};
886struct	ogetpeername_args {
887	int fdes;
888	caddr_t asa;
889	int * alen;
890};
891struct	osethostid_args {
892	long hostid;
893};
894struct	ogetrlimit_args {
895	u_int which;
896	struct ogetrlimit * rlp;
897};
898struct	osetrlimit_args {
899	u_int which;
900	struct ogetrlimit * rlp;
901};
902struct	okillpg_args {
903	int pgid;
904	int signum;
905};
906struct	ogetsockname_args {
907	int fdec;
908	caddr_t asa;
909	int * alen;
910};
911#ifdef NFS
912#else
913#endif
914struct	ogetdirentries_args {
915	int fd;
916	char * buf;
917	u_int count;
918	long * basep;
919};
920#ifdef NFS
921#else
922#endif
923#ifdef SYSVSEM
924#else
925#endif
926#ifdef SYSVMSG
927#else
928#endif
929#ifdef SYSVSHM
930#else
931#endif
932#ifdef LFS
933#else
934#endif
935int	ocreat __P((struct proc *, struct ocreat_args *, int []));
936int	olseek __P((struct proc *, struct olseek_args *, int []));
937int	ostat __P((struct proc *, struct ostat_args *, int []));
938int	olstat __P((struct proc *, struct olstat_args *, int []));
939int	ofstat __P((struct proc *, struct ofstat_args *, int []));
940int	ogetkerninfo __P((struct proc *, struct ogetkerninfo_args *, int []));
941int	ogetpagesize __P((struct proc *, struct args *, int []));
942int	ommap __P((struct proc *, struct ommap_args *, int []));
943int	owait __P((struct proc *, struct args *, int []));
944int	ogethostname __P((struct proc *, struct ogethostname_args *, int []));
945int	osethostname __P((struct proc *, struct osethostname_args *, int []));
946int	oaccept __P((struct proc *, struct oaccept_args *, int []));
947int	osend __P((struct proc *, struct osend_args *, int []));
948int	orecv __P((struct proc *, struct orecv_args *, int []));
949int	osigvec __P((struct proc *, struct osigvec_args *, int []));
950int	osigblock __P((struct proc *, struct osigblock_args *, int []));
951int	osigsetmask __P((struct proc *, struct osigsetmask_args *, int []));
952int	osigstack __P((struct proc *, struct osigstack_args *, int []));
953int	orecvmsg __P((struct proc *, struct orecvmsg_args *, int []));
954int	osendmsg __P((struct proc *, struct osendmsg_args *, int []));
955int	orecvfrom __P((struct proc *, struct orecvfrom_args *, int []));
956int	otruncate __P((struct proc *, struct otruncate_args *, int []));
957int	oftruncate __P((struct proc *, struct oftruncate_args *, int []));
958int	ogetpeername __P((struct proc *, struct ogetpeername_args *, int []));
959int	ogethostid __P((struct proc *, struct args *, int []));
960int	osethostid __P((struct proc *, struct osethostid_args *, int []));
961int	ogetrlimit __P((struct proc *, struct ogetrlimit_args *, int []));
962int	osetrlimit __P((struct proc *, struct osetrlimit_args *, int []));
963int	okillpg __P((struct proc *, struct okillpg_args *, int []));
964int	oquota __P((struct proc *, struct args *, int []));
965int	ogetsockname __P((struct proc *, struct ogetsockname_args *, int []));
966int	ogetdirentries __P((struct proc *, struct ogetdirentries_args *, int []));
967
968#endif /* COMPAT_43 */
969
970#endif /* !_SYS_SYSPROTO_H_ */
971