comparison packages/net/tcpip/current/include/sys/syscallargs.h @ 97:ced4577552cd ecos-sw-2000-06-06

Merge from eCos master repository on 2000-06-06-08:44:00-BST
author jlarmour
date Tue, 06 Jun 2000 08:39:36 +0000
parents
children e0c0827131d1
comparison
equal deleted inserted replaced
96:b15c60e34c84 97:ced4577552cd
1 //==========================================================================
2 //
3 // include/sys/syscallargs.h
4 //
5 //
6 //
7 //==========================================================================
8 //####COPYRIGHTBEGIN####
9 //
10 // -------------------------------------------
11 // The contents of this file are subject to the Red Hat eCos Public License
12 // Version 1.1 (the "License"); you may not use this file except in
13 // compliance with the License. You may obtain a copy of the License at
14 // http://www.redhat.com/
15 //
16 // Software distributed under the License is distributed on an "AS IS"
17 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
18 // License for the specific language governing rights and limitations under
19 // the License.
20 //
21 // The Original Code is eCos - Embedded Configurable Operating System,
22 // released September 30, 1998.
23 //
24 // The Initial Developer of the Original Code is Red Hat.
25 // Portions created by Red Hat are
26 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
27 // All Rights Reserved.
28 // -------------------------------------------
29 //
30 //####COPYRIGHTEND####
31 //####BSDCOPYRIGHTBEGIN####
32 //
33 // -------------------------------------------
34 //
35 // Portions of this software may have been derived from OpenBSD or other sources,
36 // and are covered by the appropriate copyright disclaimers included herein.
37 //
38 // -------------------------------------------
39 //
40 //####BSDCOPYRIGHTEND####
41 //==========================================================================
42 //#####DESCRIPTIONBEGIN####
43 //
44 // Author(s): gthomas
45 // Contributors: gthomas
46 // Date: 2000-01-10
47 // Purpose:
48 // Description:
49 //
50 //
51 //####DESCRIPTIONEND####
52 //
53 //==========================================================================
54
55
56 /* $OpenBSD: syscallargs.h,v 1.41 1999/08/08 00:32:22 niklas Exp $ */
57
58 /*
59 * System call argument lists.
60 *
61 * DO NOT EDIT-- this file is automatically generated.
62 * created from; OpenBSD: syscalls.master,v 1.37 1999/06/07 07:17:42 deraadt Exp
63 */
64
65 #ifndef _SYS_SYSCALLARGS_H_
66 #define _SYS_SYSCALLARGS_H_
67
68 #define syscallarg(x) union { x datum; register_t pad; }
69
70 #ifdef __ECOS
71 #define SYSCALLARG(a,t) a.t.datum
72 #endif
73
74 #ifndef __ECOS
75 struct sys_exit_args {
76 syscallarg(int) rval;
77 };
78 #endif
79
80 struct sys_read_args {
81 syscallarg(int) fd;
82 syscallarg(void *) buf;
83 syscallarg(size_t) nbyte;
84 };
85 extern int sys_read(struct sys_read_args *, register_t *);
86
87 struct sys_write_args {
88 syscallarg(int) fd;
89 syscallarg(const void *) buf;
90 syscallarg(size_t) nbyte;
91 };
92 extern int sys_write(struct sys_write_args *, register_t *);
93
94 struct sys_open_args {
95 syscallarg(const char *) path;
96 syscallarg(int) flags;
97 syscallarg(int) mode;
98 };
99
100 struct sys_close_args {
101 syscallarg(int) fd;
102 };
103
104 #ifndef __ECOS
105 struct sys_wait4_args {
106 syscallarg(int) pid;
107 syscallarg(int *) status;
108 syscallarg(int) options;
109 syscallarg(struct rusage *) rusage;
110 };
111
112 struct compat_43_sys_creat_args {
113 syscallarg(const char *) path;
114 syscallarg(int) mode;
115 };
116
117 struct sys_link_args {
118 syscallarg(const char *) path;
119 syscallarg(const char *) link;
120 };
121
122 struct sys_unlink_args {
123 syscallarg(const char *) path;
124 };
125
126 struct sys_chdir_args {
127 syscallarg(const char *) path;
128 };
129
130 struct sys_fchdir_args {
131 syscallarg(int) fd;
132 };
133
134 struct sys_mknod_args {
135 syscallarg(const char *) path;
136 syscallarg(int) mode;
137 syscallarg(dev_t) dev;
138 };
139
140 struct sys_chmod_args {
141 syscallarg(const char *) path;
142 syscallarg(int) mode;
143 };
144
145 struct sys_chown_args {
146 syscallarg(const char *) path;
147 syscallarg(uid_t) uid;
148 syscallarg(gid_t) gid;
149 };
150
151 struct sys_obreak_args {
152 syscallarg(char *) nsize;
153 };
154
155 struct sys_ogetfsstat_args {
156 syscallarg(struct statfs *) buf;
157 syscallarg(long) bufsize;
158 syscallarg(int) flags;
159 };
160
161 struct compat_43_sys_lseek_args {
162 syscallarg(int) fd;
163 syscallarg(long) offset;
164 syscallarg(int) whence;
165 };
166
167 struct sys_mount_args {
168 syscallarg(const char *) type;
169 syscallarg(const char *) path;
170 syscallarg(int) flags;
171 syscallarg(void *) data;
172 };
173
174 struct sys_unmount_args {
175 syscallarg(const char *) path;
176 syscallarg(int) flags;
177 };
178
179 struct sys_setuid_args {
180 syscallarg(uid_t) uid;
181 };
182
183 struct sys_ptrace_args {
184 syscallarg(int) req;
185 syscallarg(pid_t) pid;
186 syscallarg(caddr_t) addr;
187 syscallarg(int) data;
188 };
189
190 struct sys_recvmsg_args {
191 syscallarg(int) s;
192 syscallarg(struct msghdr *) msg;
193 syscallarg(int) flags;
194 };
195
196 struct sys_sendmsg_args {
197 syscallarg(int) s;
198 syscallarg(const struct msghdr *) msg;
199 syscallarg(int) flags;
200 };
201 #endif
202
203 struct sys_recvfrom_args {
204 syscallarg(int) s;
205 syscallarg(void *) buf;
206 syscallarg(size_t) len;
207 syscallarg(int) flags;
208 syscallarg(struct sockaddr *) from;
209 syscallarg(socklen_t *) fromlenaddr;
210 };
211 extern int sys_recvfrom(struct sys_recvfrom_args *, register_t *);
212
213 struct sys_accept_args {
214 syscallarg(int) s;
215 syscallarg(struct sockaddr *) name;
216 syscallarg(socklen_t *) anamelen;
217 };
218 extern int sys_accept(struct sys_accept_args *, register_t *);
219
220 struct sys_getpeername_args {
221 syscallarg(int) fdes;
222 syscallarg(struct sockaddr *) asa;
223 syscallarg(int *) alen;
224 };
225 extern int sys_getpeername(struct sys_getpeername_args *, register_t *);
226
227 struct sys_getsockname_args {
228 syscallarg(int) fdes;
229 syscallarg(struct sockaddr *) asa;
230 syscallarg(socklen_t *) alen;
231 };
232 extern int sys_getsockname(struct sys_getsockname_args *, register_t *);
233
234 struct sys_access_args {
235 syscallarg(const char *) path;
236 syscallarg(int) flags;
237 };
238
239 #ifndef __ECOS
240 struct sys_chflags_args {
241 syscallarg(const char *) path;
242 syscallarg(u_int) flags;
243 };
244
245 struct sys_fchflags_args {
246 syscallarg(int) fd;
247 syscallarg(u_int) flags;
248 };
249
250 struct sys_kill_args {
251 syscallarg(int) pid;
252 syscallarg(int) signum;
253 };
254
255 struct compat_43_sys_stat_args {
256 syscallarg(const char *) path;
257 syscallarg(struct ostat *) ub;
258 };
259
260 struct compat_43_sys_lstat_args {
261 syscallarg(char *) path;
262 syscallarg(struct ostat *) ub;
263 };
264
265 struct sys_dup_args {
266 syscallarg(int) fd;
267 };
268
269 struct sys_profil_args {
270 syscallarg(caddr_t) samples;
271 syscallarg(size_t) size;
272 syscallarg(u_long) offset;
273 syscallarg(u_int) scale;
274 };
275
276 struct sys_ktrace_args {
277 syscallarg(const char *) fname;
278 syscallarg(int) ops;
279 syscallarg(int) facs;
280 syscallarg(pid_t) pid;
281 };
282
283 struct sys_sigaction_args {
284 syscallarg(int) signum;
285 syscallarg(const struct sigaction *) nsa;
286 syscallarg(struct sigaction *) osa;
287 };
288
289 struct sys_sigprocmask_args {
290 syscallarg(int) how;
291 syscallarg(sigset_t) mask;
292 };
293
294 struct sys_getlogin_args {
295 syscallarg(char *) namebuf;
296 syscallarg(u_int) namelen;
297 };
298
299 struct sys_setlogin_args {
300 syscallarg(const char *) namebuf;
301 };
302
303 struct sys_acct_args {
304 syscallarg(const char *) path;
305 };
306
307 struct sys_sigaltstack_args {
308 syscallarg(const struct sigaltstack *) nss;
309 syscallarg(struct sigaltstack *) oss;
310 };
311 #endif
312
313 struct sys_ioctl_args {
314 syscallarg(int) fd;
315 syscallarg(u_long) com;
316 syscallarg(void *) data;
317 };
318 extern int sys_ioctl(struct sys_ioctl_args *, register_t *);
319
320 #ifndef __ECOS
321 struct sys_reboot_args {
322 syscallarg(int) opt;
323 };
324
325 struct sys_revoke_args {
326 syscallarg(const char *) path;
327 };
328
329 struct sys_symlink_args {
330 syscallarg(const char *) path;
331 syscallarg(const char *) link;
332 };
333
334 struct sys_readlink_args {
335 syscallarg(const char *) path;
336 syscallarg(char *) buf;
337 syscallarg(size_t) count;
338 };
339
340 struct sys_execve_args {
341 syscallarg(const char *) path;
342 syscallarg(char *const *) argp;
343 syscallarg(char *const *) envp;
344 };
345
346 struct sys_umask_args {
347 syscallarg(int) newmask;
348 };
349
350 struct sys_chroot_args {
351 syscallarg(const char *) path;
352 };
353
354 struct compat_43_sys_fstat_args {
355 syscallarg(int) fd;
356 syscallarg(struct ostat *) sb;
357 };
358
359 struct compat_43_sys_getkerninfo_args {
360 syscallarg(int) op;
361 syscallarg(char *) where;
362 syscallarg(int *) size;
363 syscallarg(int) arg;
364 };
365
366 struct sys_omsync_args {
367 syscallarg(caddr_t) addr;
368 syscallarg(size_t) len;
369 };
370
371 struct sys_sbrk_args {
372 syscallarg(int) incr;
373 };
374
375 struct sys_sstk_args {
376 syscallarg(int) incr;
377 };
378
379 struct compat_43_sys_mmap_args {
380 syscallarg(caddr_t) addr;
381 syscallarg(size_t) len;
382 syscallarg(int) prot;
383 syscallarg(int) flags;
384 syscallarg(int) fd;
385 syscallarg(long) pos;
386 };
387
388 struct sys_ovadvise_args {
389 syscallarg(int) anom;
390 };
391
392 struct sys_munmap_args {
393 syscallarg(void *) addr;
394 syscallarg(size_t) len;
395 };
396
397 struct sys_mprotect_args {
398 syscallarg(void *) addr;
399 syscallarg(size_t) len;
400 syscallarg(int) prot;
401 };
402
403 struct sys_madvise_args {
404 syscallarg(void *) addr;
405 syscallarg(size_t) len;
406 syscallarg(int) behav;
407 };
408
409 struct sys_mincore_args {
410 syscallarg(void *) addr;
411 syscallarg(size_t) len;
412 syscallarg(char *) vec;
413 };
414
415 struct sys_getgroups_args {
416 syscallarg(int) gidsetsize;
417 syscallarg(gid_t *) gidset;
418 };
419
420 struct sys_setgroups_args {
421 syscallarg(int) gidsetsize;
422 syscallarg(const gid_t *) gidset;
423 };
424
425 struct sys_setpgid_args {
426 syscallarg(pid_t) pid;
427 syscallarg(int) pgid;
428 };
429
430 struct sys_setitimer_args {
431 syscallarg(int) which;
432 syscallarg(const struct itimerval *) itv;
433 syscallarg(struct itimerval *) oitv;
434 };
435
436 struct sys_swapon_args {
437 syscallarg(const char *) name;
438 };
439
440 struct sys_getitimer_args {
441 syscallarg(int) which;
442 syscallarg(struct itimerval *) itv;
443 };
444
445 struct compat_43_sys_gethostname_args {
446 syscallarg(char *) hostname;
447 syscallarg(u_int) len;
448 };
449
450 struct compat_43_sys_sethostname_args {
451 syscallarg(char *) hostname;
452 syscallarg(u_int) len;
453 };
454
455 struct sys_dup2_args {
456 syscallarg(int) from;
457 syscallarg(int) to;
458 };
459
460 struct sys_fcntl_args {
461 syscallarg(int) fd;
462 syscallarg(int) cmd;
463 syscallarg(void *) arg;
464 };
465 #endif
466
467 struct sys_select_args {
468 syscallarg(int) nd;
469 syscallarg(fd_set *) in;
470 syscallarg(fd_set *) ou;
471 syscallarg(fd_set *) ex;
472 syscallarg(struct timeval *) tv;
473 };
474 extern int sys_select(struct sys_select_args *, register_t *);
475
476 #ifndef __ECOS
477 struct sys_fsync_args {
478 syscallarg(int) fd;
479 };
480
481 struct sys_setpriority_args {
482 syscallarg(int) which;
483 syscallarg(int) who;
484 syscallarg(int) prio;
485 };
486 #endif
487
488 struct sys_socket_args {
489 syscallarg(int) domain;
490 syscallarg(int) type;
491 syscallarg(int) protocol;
492 };
493 extern int sys_socket(struct sys_socket_args *, register_t *);
494
495 struct sys_connect_args {
496 syscallarg(int) s;
497 syscallarg(const struct sockaddr *) name;
498 syscallarg(socklen_t) namelen;
499 };
500 extern int sys_connect(struct sys_connect_args *, register_t *);
501
502 #ifndef __ECOS
503 struct compat_43_sys_accept_args {
504 syscallarg(int) s;
505 syscallarg(caddr_t) name;
506 syscallarg(int *) anamelen;
507 };
508
509 struct sys_getpriority_args {
510 syscallarg(int) which;
511 syscallarg(int) who;
512 };
513
514 struct compat_43_sys_send_args {
515 syscallarg(int) s;
516 syscallarg(caddr_t) buf;
517 syscallarg(int) len;
518 syscallarg(int) flags;
519 };
520
521 struct compat_43_sys_recv_args {
522 syscallarg(int) s;
523 syscallarg(caddr_t) buf;
524 syscallarg(int) len;
525 syscallarg(int) flags;
526 };
527
528 struct sys_sigreturn_args {
529 syscallarg(struct sigcontext *) sigcntxp;
530 };
531 #endif
532
533 struct sys_bind_args {
534 syscallarg(int) s;
535 syscallarg(const struct sockaddr *) name;
536 syscallarg(socklen_t) namelen;
537 };
538 extern int sys_bind(struct sys_bind_args *, register_t *);
539
540 struct sys_setsockopt_args {
541 syscallarg(int) s;
542 syscallarg(int) level;
543 syscallarg(int) name;
544 syscallarg(const void *) val;
545 syscallarg(socklen_t) valsize;
546 };
547 extern int sys_setsockopt(struct sys_setsockopt_args *, register_t *);
548
549 struct sys_listen_args {
550 syscallarg(int) s;
551 syscallarg(int) backlog;
552 };
553 extern int sys_listen(struct sys_listen_args *, register_t *);
554
555 #ifndef __ECOS
556 struct compat_43_sys_sigvec_args {
557 syscallarg(int) signum;
558 syscallarg(struct sigvec *) nsv;
559 syscallarg(struct sigvec *) osv;
560 };
561
562 struct compat_43_sys_sigblock_args {
563 syscallarg(int) mask;
564 };
565
566 struct compat_43_sys_sigsetmask_args {
567 syscallarg(int) mask;
568 };
569
570 struct sys_sigsuspend_args {
571 syscallarg(int) mask;
572 };
573
574 struct compat_43_sys_sigstack_args {
575 syscallarg(struct sigstack *) nss;
576 syscallarg(struct sigstack *) oss;
577 };
578
579 struct compat_43_sys_recvmsg_args {
580 syscallarg(int) s;
581 syscallarg(struct omsghdr *) msg;
582 syscallarg(int) flags;
583 };
584
585 struct compat_43_sys_sendmsg_args {
586 syscallarg(int) s;
587 syscallarg(caddr_t) msg;
588 syscallarg(int) flags;
589 };
590
591 struct sys_vtrace_args {
592 syscallarg(int) request;
593 syscallarg(int) value;
594 };
595
596 struct sys_gettimeofday_args {
597 syscallarg(struct timeval *) tp;
598 syscallarg(struct timezone *) tzp;
599 };
600
601 struct sys_getrusage_args {
602 syscallarg(int) who;
603 syscallarg(struct rusage *) rusage;
604 };
605 #endif
606
607 struct sys_getsockopt_args {
608 syscallarg(int) s;
609 syscallarg(int) level;
610 syscallarg(int) name;
611 syscallarg(void *) val;
612 syscallarg(socklen_t *) avalsize;
613 };
614 extern int sys_getsockopt(struct sys_getsockopt_args *, register_t *);
615
616 struct sys_readv_args {
617 syscallarg(int) fd;
618 syscallarg(const struct iovec *) iovp;
619 syscallarg(int) iovcnt;
620 };
621
622 struct sys_writev_args {
623 syscallarg(int) fd;
624 syscallarg(const struct iovec *) iovp;
625 syscallarg(int) iovcnt;
626 };
627
628 #ifndef __ECOS
629 struct sys_settimeofday_args {
630 syscallarg(const struct timeval *) tv;
631 syscallarg(const struct timezone *) tzp;
632 };
633
634 struct sys_fchown_args {
635 syscallarg(int) fd;
636 syscallarg(uid_t) uid;
637 syscallarg(gid_t) gid;
638 };
639
640 struct sys_fchmod_args {
641 syscallarg(int) fd;
642 syscallarg(int) mode;
643 };
644
645 struct compat_43_sys_recvfrom_args {
646 syscallarg(int) s;
647 syscallarg(caddr_t) buf;
648 syscallarg(size_t) len;
649 syscallarg(int) flags;
650 syscallarg(caddr_t) from;
651 syscallarg(int *) fromlenaddr;
652 };
653
654 struct compat_43_sys_setreuid_args {
655 syscallarg(int) ruid;
656 syscallarg(int) euid;
657 };
658
659 struct compat_43_sys_setregid_args {
660 syscallarg(int) rgid;
661 syscallarg(int) egid;
662 };
663
664 struct sys_rename_args {
665 syscallarg(const char *) from;
666 syscallarg(const char *) to;
667 };
668
669 struct compat_43_sys_truncate_args {
670 syscallarg(const char *) path;
671 syscallarg(long) length;
672 };
673
674 struct compat_43_sys_ftruncate_args {
675 syscallarg(int) fd;
676 syscallarg(long) length;
677 };
678
679 struct sys_flock_args {
680 syscallarg(int) fd;
681 syscallarg(int) how;
682 };
683
684 struct sys_mkfifo_args {
685 syscallarg(const char *) path;
686 syscallarg(int) mode;
687 };
688 #endif
689
690 struct sys_sendto_args {
691 syscallarg(int) s;
692 syscallarg(const void *) buf;
693 syscallarg(size_t) len;
694 syscallarg(int) flags;
695 syscallarg(const struct sockaddr *) to;
696 syscallarg(socklen_t) tolen;
697 };
698 extern int sys_sendto(struct sys_sendto_args *, register_t *);
699
700 struct sys_shutdown_args {
701 syscallarg(int) s;
702 syscallarg(int) how;
703 };
704 extern int sys_shutdown(struct sys_shutdown_args *, register_t *);
705
706 struct sys_socketpair_args {
707 syscallarg(int) domain;
708 syscallarg(int) type;
709 syscallarg(int) protocol;
710 syscallarg(int *) rsv;
711 };
712
713 #ifndef __ECOS
714 struct sys_mkdir_args {
715 syscallarg(const char *) path;
716 syscallarg(int) mode;
717 };
718
719 struct sys_rmdir_args {
720 syscallarg(const char *) path;
721 };
722
723 struct sys_utimes_args {
724 syscallarg(const char *) path;
725 syscallarg(const struct timeval *) tptr;
726 };
727
728 struct sys_adjtime_args {
729 syscallarg(const struct timeval *) delta;
730 syscallarg(struct timeval *) olddelta;
731 };
732
733 struct compat_43_sys_getpeername_args {
734 syscallarg(int) fdes;
735 syscallarg(caddr_t) asa;
736 syscallarg(socklen_t *) alen;
737 };
738
739 struct compat_43_sys_sethostid_args {
740 syscallarg(int32_t) hostid;
741 };
742
743 struct compat_43_sys_getrlimit_args {
744 syscallarg(int) which;
745 syscallarg(struct ogetrlimit *) rlp;
746 };
747
748 struct compat_43_sys_setrlimit_args {
749 syscallarg(int) which;
750 syscallarg(struct ogetrlimit *) rlp;
751 };
752
753 struct compat_43_sys_killpg_args {
754 syscallarg(int) pgid;
755 syscallarg(int) signum;
756 };
757
758 struct sys_quotactl_args {
759 syscallarg(const char *) path;
760 syscallarg(int) cmd;
761 syscallarg(int) uid;
762 syscallarg(char *) arg;
763 };
764
765 struct compat_43_sys_getsockname_args {
766 syscallarg(int) fdec;
767 syscallarg(caddr_t) asa;
768 syscallarg(int *) alen;
769 };
770
771 struct sys_nfssvc_args {
772 syscallarg(int) flag;
773 syscallarg(void *) argp;
774 };
775
776 struct compat_43_sys_getdirentries_args {
777 syscallarg(int) fd;
778 syscallarg(char *) buf;
779 syscallarg(int) count;
780 syscallarg(long *) basep;
781 };
782
783 struct sys_ostatfs_args {
784 syscallarg(const char *) path;
785 syscallarg(struct ostatfs *) buf;
786 };
787
788 struct sys_ofstatfs_args {
789 syscallarg(int) fd;
790 syscallarg(struct ostatfs *) buf;
791 };
792
793 struct sys_getfh_args {
794 syscallarg(const char *) fname;
795 syscallarg(fhandle_t *) fhp;
796 };
797
798 struct compat_09_sys_getdomainname_args {
799 syscallarg(char *) domainname;
800 syscallarg(int) len;
801 };
802
803 struct compat_09_sys_setdomainname_args {
804 syscallarg(char *) domainname;
805 syscallarg(int) len;
806 };
807
808 struct compat_09_sys_uname_args {
809 syscallarg(struct outsname *) name;
810 };
811
812 struct sys_sysarch_args {
813 syscallarg(int) op;
814 syscallarg(char *) parms;
815 };
816
817 struct compat_10_sys_semsys_args {
818 syscallarg(int) which;
819 syscallarg(int) a2;
820 syscallarg(int) a3;
821 syscallarg(int) a4;
822 syscallarg(int) a5;
823 };
824
825 struct compat_10_sys_msgsys_args {
826 syscallarg(int) which;
827 syscallarg(int) a2;
828 syscallarg(int) a3;
829 syscallarg(int) a4;
830 syscallarg(int) a5;
831 syscallarg(int) a6;
832 };
833
834 struct compat_10_sys_shmsys_args {
835 syscallarg(int) which;
836 syscallarg(int) a2;
837 syscallarg(int) a3;
838 syscallarg(int) a4;
839 };
840
841 struct sys_ntp_gettime_args {
842 syscallarg(struct ntptimeval *) ntvp;
843 };
844
845 struct sys_ntp_adjtime_args {
846 syscallarg(struct timex *) tp;
847 };
848
849 struct sys_setgid_args {
850 syscallarg(gid_t) gid;
851 };
852
853 struct sys_setegid_args {
854 syscallarg(gid_t) egid;
855 };
856
857 struct sys_seteuid_args {
858 syscallarg(uid_t) euid;
859 };
860
861 struct lfs_bmapv_args {
862 syscallarg(fsid_t *) fsidp;
863 syscallarg(struct block_info *) blkiov;
864 syscallarg(int) blkcnt;
865 };
866
867 struct lfs_markv_args {
868 syscallarg(fsid_t *) fsidp;
869 syscallarg(struct block_info *) blkiov;
870 syscallarg(int) blkcnt;
871 };
872
873 struct lfs_segclean_args {
874 syscallarg(fsid_t *) fsidp;
875 syscallarg(u_long) segment;
876 };
877
878 struct lfs_segwait_args {
879 syscallarg(fsid_t *) fsidp;
880 syscallarg(struct timeval *) tv;
881 };
882
883 struct sys_stat_args {
884 syscallarg(const char *) path;
885 syscallarg(struct stat *) ub;
886 };
887
888 struct sys_fstat_args {
889 syscallarg(int) fd;
890 syscallarg(struct stat *) sb;
891 };
892
893 struct sys_lstat_args {
894 syscallarg(const char *) path;
895 syscallarg(struct stat *) ub;
896 };
897
898 struct sys_pathconf_args {
899 syscallarg(const char *) path;
900 syscallarg(int) name;
901 };
902
903 struct sys_fpathconf_args {
904 syscallarg(int) fd;
905 syscallarg(int) name;
906 };
907
908 struct sys_swapctl_args {
909 syscallarg(int) cmd;
910 syscallarg(const void *) arg;
911 syscallarg(int) misc;
912 };
913
914 struct sys_getrlimit_args {
915 syscallarg(int) which;
916 syscallarg(struct rlimit *) rlp;
917 };
918
919 struct sys_setrlimit_args {
920 syscallarg(int) which;
921 syscallarg(const struct rlimit *) rlp;
922 };
923
924 struct sys_getdirentries_args {
925 syscallarg(int) fd;
926 syscallarg(char *) buf;
927 syscallarg(int) count;
928 syscallarg(long *) basep;
929 };
930
931 struct sys_mmap_args {
932 syscallarg(void *) addr;
933 syscallarg(size_t) len;
934 syscallarg(int) prot;
935 syscallarg(int) flags;
936 syscallarg(int) fd;
937 syscallarg(long) pad;
938 syscallarg(off_t) pos;
939 };
940
941 struct sys_lseek_args {
942 syscallarg(int) fd;
943 syscallarg(int) pad;
944 syscallarg(off_t) offset;
945 syscallarg(int) whence;
946 };
947
948 struct sys_truncate_args {
949 syscallarg(const char *) path;
950 syscallarg(int) pad;
951 syscallarg(off_t) length;
952 };
953
954 struct sys_ftruncate_args {
955 syscallarg(int) fd;
956 syscallarg(int) pad;
957 syscallarg(off_t) length;
958 };
959
960 struct sys___sysctl_args {
961 syscallarg(int *) name;
962 syscallarg(u_int) namelen;
963 syscallarg(void *) old;
964 syscallarg(size_t *) oldlenp;
965 syscallarg(void *) new;
966 syscallarg(size_t) newlen;
967 };
968
969 struct sys_mlock_args {
970 syscallarg(const void *) addr;
971 syscallarg(size_t) len;
972 };
973
974 struct sys_munlock_args {
975 syscallarg(const void *) addr;
976 syscallarg(size_t) len;
977 };
978
979 struct sys_undelete_args {
980 syscallarg(const char *) path;
981 };
982
983 struct sys_futimes_args {
984 syscallarg(int) fd;
985 syscallarg(const struct timeval *) tptr;
986 };
987
988 struct sys_getpgid_args {
989 syscallarg(pid_t) pid;
990 };
991
992 struct sys_xfspioctl_args {
993 syscallarg(int) operation;
994 syscallarg(char *) a_pathP;
995 syscallarg(int) a_opcode;
996 syscallarg(struct ViceIoctl *) a_paramsP;
997 syscallarg(int) a_followSymlinks;
998 };
999
1000 struct sys___osemctl_args {
1001 syscallarg(int) semid;
1002 syscallarg(int) semnum;
1003 syscallarg(int) cmd;
1004 syscallarg(union semun *) arg;
1005 };
1006
1007 struct sys_semget_args {
1008 syscallarg(key_t) key;
1009 syscallarg(int) nsems;
1010 syscallarg(int) semflg;
1011 };
1012
1013 struct sys_semop_args {
1014 syscallarg(int) semid;
1015 syscallarg(struct sembuf *) sops;
1016 syscallarg(u_int) nsops;
1017 };
1018
1019 struct sys_semconfig_args {
1020 syscallarg(int) flag;
1021 };
1022
1023 struct sys_omsgctl_args {
1024 syscallarg(int) msqid;
1025 syscallarg(int) cmd;
1026 syscallarg(struct omsqid_ds *) buf;
1027 };
1028
1029 struct sys_msgget_args {
1030 syscallarg(key_t) key;
1031 syscallarg(int) msgflg;
1032 };
1033
1034 struct sys_msgsnd_args {
1035 syscallarg(int) msqid;
1036 syscallarg(const void *) msgp;
1037 syscallarg(size_t) msgsz;
1038 syscallarg(int) msgflg;
1039 };
1040
1041 struct sys_msgrcv_args {
1042 syscallarg(int) msqid;
1043 syscallarg(void *) msgp;
1044 syscallarg(size_t) msgsz;
1045 syscallarg(long) msgtyp;
1046 syscallarg(int) msgflg;
1047 };
1048
1049 struct sys_shmat_args {
1050 syscallarg(int) shmid;
1051 syscallarg(const void *) shmaddr;
1052 syscallarg(int) shmflg;
1053 };
1054
1055 struct sys_oshmctl_args {
1056 syscallarg(int) shmid;
1057 syscallarg(int) cmd;
1058 syscallarg(struct oshmid_ds *) buf;
1059 };
1060
1061 struct sys_shmdt_args {
1062 syscallarg(const void *) shmaddr;
1063 };
1064
1065 struct sys_shmget_args {
1066 syscallarg(key_t) key;
1067 syscallarg(int) size;
1068 syscallarg(int) shmflg;
1069 };
1070
1071 struct sys_clock_gettime_args {
1072 syscallarg(clockid_t) clock_id;
1073 syscallarg(struct timespec *) tp;
1074 };
1075
1076 struct sys_clock_settime_args {
1077 syscallarg(clockid_t) clock_id;
1078 syscallarg(const struct timespec *) tp;
1079 };
1080
1081 struct sys_clock_getres_args {
1082 syscallarg(clockid_t) clock_id;
1083 syscallarg(struct timespec *) tp;
1084 };
1085
1086 struct sys_nanosleep_args {
1087 syscallarg(const struct timespec *) rqtp;
1088 syscallarg(struct timespec *) rmtp;
1089 };
1090
1091 struct sys_minherit_args {
1092 syscallarg(void *) addr;
1093 syscallarg(size_t) len;
1094 syscallarg(int) inherit;
1095 };
1096
1097 struct sys_rfork_args {
1098 syscallarg(int) flags;
1099 };
1100
1101 struct sys_poll_args {
1102 syscallarg(struct pollfd *) fds;
1103 syscallarg(unsigned long) nfds;
1104 syscallarg(int) timeout;
1105 };
1106
1107 struct sys_lchown_args {
1108 syscallarg(const char *) path;
1109 syscallarg(uid_t) uid;
1110 syscallarg(gid_t) gid;
1111 };
1112
1113 struct sys_getsid_args {
1114 syscallarg(pid_t) pid;
1115 };
1116
1117 struct sys_msync_args {
1118 syscallarg(void *) addr;
1119 syscallarg(size_t) len;
1120 syscallarg(int) flags;
1121 };
1122
1123 struct sys___semctl_args {
1124 syscallarg(int) semid;
1125 syscallarg(int) semnum;
1126 syscallarg(int) cmd;
1127 syscallarg(union semun *) arg;
1128 };
1129
1130 struct sys_shmctl_args {
1131 syscallarg(int) shmid;
1132 syscallarg(int) cmd;
1133 syscallarg(struct shmid_ds *) buf;
1134 };
1135
1136 struct sys_msgctl_args {
1137 syscallarg(int) msqid;
1138 syscallarg(int) cmd;
1139 syscallarg(struct msqid_ds *) buf;
1140 };
1141
1142 struct sys_getfsstat_args {
1143 syscallarg(struct statfs *) buf;
1144 syscallarg(size_t) bufsize;
1145 syscallarg(int) flags;
1146 };
1147
1148 struct sys_statfs_args {
1149 syscallarg(const char *) path;
1150 syscallarg(struct statfs *) buf;
1151 };
1152
1153 struct sys_fstatfs_args {
1154 syscallarg(int) fd;
1155 syscallarg(struct statfs *) buf;
1156 };
1157
1158 struct sys_pipe_args {
1159 syscallarg(int *) fdp;
1160 };
1161
1162 /*
1163 * System call prototypes.
1164 */
1165
1166 int sys_exit __P((struct proc *, void *, register_t *));
1167 int sys_fork __P((struct proc *, void *, register_t *));
1168 int sys_read __P((struct proc *, void *, register_t *));
1169 int sys_write __P((struct proc *, void *, register_t *));
1170 int sys_open __P((struct proc *, void *, register_t *));
1171 int sys_close __P((struct proc *, void *, register_t *));
1172 int sys_wait4 __P((struct proc *, void *, register_t *));
1173 int compat_43_sys_creat __P((struct proc *, void *, register_t *));
1174 int sys_link __P((struct proc *, void *, register_t *));
1175 int sys_unlink __P((struct proc *, void *, register_t *));
1176 int sys_chdir __P((struct proc *, void *, register_t *));
1177 int sys_fchdir __P((struct proc *, void *, register_t *));
1178 int sys_mknod __P((struct proc *, void *, register_t *));
1179 int sys_chmod __P((struct proc *, void *, register_t *));
1180 int sys_chown __P((struct proc *, void *, register_t *));
1181 int sys_obreak __P((struct proc *, void *, register_t *));
1182 int sys_ogetfsstat __P((struct proc *, void *, register_t *));
1183 int compat_43_sys_lseek __P((struct proc *, void *, register_t *));
1184 int sys_getpid __P((struct proc *, void *, register_t *));
1185 int sys_mount __P((struct proc *, void *, register_t *));
1186 int sys_unmount __P((struct proc *, void *, register_t *));
1187 int sys_setuid __P((struct proc *, void *, register_t *));
1188 int sys_getuid __P((struct proc *, void *, register_t *));
1189 int sys_geteuid __P((struct proc *, void *, register_t *));
1190 int sys_ptrace __P((struct proc *, void *, register_t *));
1191 int sys_recvmsg __P((struct proc *, void *, register_t *));
1192 int sys_sendmsg __P((struct proc *, void *, register_t *));
1193 int sys_recvfrom __P((struct proc *, void *, register_t *));
1194 int sys_accept __P((struct proc *, void *, register_t *));
1195 int sys_getpeername __P((struct proc *, void *, register_t *));
1196 int sys_getsockname __P((struct proc *, void *, register_t *));
1197 int sys_access __P((struct proc *, void *, register_t *));
1198 int sys_chflags __P((struct proc *, void *, register_t *));
1199 int sys_fchflags __P((struct proc *, void *, register_t *));
1200 int sys_sync __P((struct proc *, void *, register_t *));
1201 int sys_kill __P((struct proc *, void *, register_t *));
1202 int compat_43_sys_stat __P((struct proc *, void *, register_t *));
1203 int sys_getppid __P((struct proc *, void *, register_t *));
1204 int compat_43_sys_lstat __P((struct proc *, void *, register_t *));
1205 int sys_dup __P((struct proc *, void *, register_t *));
1206 int sys_opipe __P((struct proc *, void *, register_t *));
1207 int sys_getegid __P((struct proc *, void *, register_t *));
1208 int sys_profil __P((struct proc *, void *, register_t *));
1209 #ifdef KTRACE
1210 int sys_ktrace __P((struct proc *, void *, register_t *));
1211 #else
1212 #endif
1213 int sys_sigaction __P((struct proc *, void *, register_t *));
1214 int sys_getgid __P((struct proc *, void *, register_t *));
1215 int sys_sigprocmask __P((struct proc *, void *, register_t *));
1216 int sys_getlogin __P((struct proc *, void *, register_t *));
1217 int sys_setlogin __P((struct proc *, void *, register_t *));
1218 int sys_acct __P((struct proc *, void *, register_t *));
1219 int sys_sigpending __P((struct proc *, void *, register_t *));
1220 int sys_sigaltstack __P((struct proc *, void *, register_t *));
1221 int sys_ioctl __P((struct proc *, void *, register_t *));
1222 int sys_reboot __P((struct proc *, void *, register_t *));
1223 int sys_revoke __P((struct proc *, void *, register_t *));
1224 int sys_symlink __P((struct proc *, void *, register_t *));
1225 int sys_readlink __P((struct proc *, void *, register_t *));
1226 int sys_execve __P((struct proc *, void *, register_t *));
1227 int sys_umask __P((struct proc *, void *, register_t *));
1228 int sys_chroot __P((struct proc *, void *, register_t *));
1229 int compat_43_sys_fstat __P((struct proc *, void *, register_t *));
1230 int compat_43_sys_getkerninfo __P((struct proc *, void *, register_t *));
1231 int compat_43_sys_getpagesize __P((struct proc *, void *, register_t *));
1232 int sys_omsync __P((struct proc *, void *, register_t *));
1233 int sys_vfork __P((struct proc *, void *, register_t *));
1234 int sys_sbrk __P((struct proc *, void *, register_t *));
1235 int sys_sstk __P((struct proc *, void *, register_t *));
1236 int compat_43_sys_mmap __P((struct proc *, void *, register_t *));
1237 int sys_ovadvise __P((struct proc *, void *, register_t *));
1238 int sys_munmap __P((struct proc *, void *, register_t *));
1239 int sys_mprotect __P((struct proc *, void *, register_t *));
1240 int sys_madvise __P((struct proc *, void *, register_t *));
1241 int sys_mincore __P((struct proc *, void *, register_t *));
1242 int sys_getgroups __P((struct proc *, void *, register_t *));
1243 int sys_setgroups __P((struct proc *, void *, register_t *));
1244 int sys_getpgrp __P((struct proc *, void *, register_t *));
1245 int sys_setpgid __P((struct proc *, void *, register_t *));
1246 int sys_setitimer __P((struct proc *, void *, register_t *));
1247 int compat_43_sys_wait __P((struct proc *, void *, register_t *));
1248 int sys_swapon __P((struct proc *, void *, register_t *));
1249 int sys_getitimer __P((struct proc *, void *, register_t *));
1250 int compat_43_sys_gethostname __P((struct proc *, void *, register_t *));
1251 int compat_43_sys_sethostname __P((struct proc *, void *, register_t *));
1252 int compat_43_sys_getdtablesize __P((struct proc *, void *, register_t *));
1253 int sys_dup2 __P((struct proc *, void *, register_t *));
1254 int sys_fcntl __P((struct proc *, void *, register_t *));
1255 int sys_select __P((struct proc *, void *, register_t *));
1256 int sys_fsync __P((struct proc *, void *, register_t *));
1257 int sys_setpriority __P((struct proc *, void *, register_t *));
1258 int sys_socket __P((struct proc *, void *, register_t *));
1259 int sys_connect __P((struct proc *, void *, register_t *));
1260 int compat_43_sys_accept __P((struct proc *, void *, register_t *));
1261 int sys_getpriority __P((struct proc *, void *, register_t *));
1262 int compat_43_sys_send __P((struct proc *, void *, register_t *));
1263 int compat_43_sys_recv __P((struct proc *, void *, register_t *));
1264 int sys_sigreturn __P((struct proc *, void *, register_t *));
1265 int sys_bind __P((struct proc *, void *, register_t *));
1266 int sys_setsockopt __P((struct proc *, void *, register_t *));
1267 int sys_listen __P((struct proc *, void *, register_t *));
1268 int compat_43_sys_sigvec __P((struct proc *, void *, register_t *));
1269 int compat_43_sys_sigblock __P((struct proc *, void *, register_t *));
1270 int compat_43_sys_sigsetmask __P((struct proc *, void *, register_t *));
1271 int sys_sigsuspend __P((struct proc *, void *, register_t *));
1272 int compat_43_sys_sigstack __P((struct proc *, void *, register_t *));
1273 int compat_43_sys_recvmsg __P((struct proc *, void *, register_t *));
1274 int compat_43_sys_sendmsg __P((struct proc *, void *, register_t *));
1275 #ifdef TRACE
1276 int sys_vtrace __P((struct proc *, void *, register_t *));
1277 #else
1278 #endif
1279 int sys_gettimeofday __P((struct proc *, void *, register_t *));
1280 int sys_getrusage __P((struct proc *, void *, register_t *));
1281 int sys_getsockopt __P((struct proc *, void *, register_t *));
1282 int sys_readv __P((struct proc *, void *, register_t *));
1283 int sys_writev __P((struct proc *, void *, register_t *));
1284 int sys_settimeofday __P((struct proc *, void *, register_t *));
1285 int sys_fchown __P((struct proc *, void *, register_t *));
1286 int sys_fchmod __P((struct proc *, void *, register_t *));
1287 int compat_43_sys_recvfrom __P((struct proc *, void *, register_t *));
1288 int compat_43_sys_setreuid __P((struct proc *, void *, register_t *));
1289 int compat_43_sys_setregid __P((struct proc *, void *, register_t *));
1290 int sys_rename __P((struct proc *, void *, register_t *));
1291 int compat_43_sys_truncate __P((struct proc *, void *, register_t *));
1292 int compat_43_sys_ftruncate __P((struct proc *, void *, register_t *));
1293 int sys_flock __P((struct proc *, void *, register_t *));
1294 int sys_mkfifo __P((struct proc *, void *, register_t *));
1295 int sys_sendto __P((struct proc *, void *, register_t *));
1296 int sys_shutdown __P((struct proc *, void *, register_t *));
1297 int sys_socketpair __P((struct proc *, void *, register_t *));
1298 int sys_mkdir __P((struct proc *, void *, register_t *));
1299 int sys_rmdir __P((struct proc *, void *, register_t *));
1300 int sys_utimes __P((struct proc *, void *, register_t *));
1301 int sys_adjtime __P((struct proc *, void *, register_t *));
1302 int compat_43_sys_getpeername __P((struct proc *, void *, register_t *));
1303 int compat_43_sys_gethostid __P((struct proc *, void *, register_t *));
1304 int compat_43_sys_sethostid __P((struct proc *, void *, register_t *));
1305 int compat_43_sys_getrlimit __P((struct proc *, void *, register_t *));
1306 int compat_43_sys_setrlimit __P((struct proc *, void *, register_t *));
1307 int compat_43_sys_killpg __P((struct proc *, void *, register_t *));
1308 int sys_setsid __P((struct proc *, void *, register_t *));
1309 int sys_quotactl __P((struct proc *, void *, register_t *));
1310 int compat_43_sys_quota __P((struct proc *, void *, register_t *));
1311 int compat_43_sys_getsockname __P((struct proc *, void *, register_t *));
1312 #if defined(NFSCLIENT) || defined(NFSSERVER)
1313 int sys_nfssvc __P((struct proc *, void *, register_t *));
1314 #else
1315 #endif
1316 int compat_43_sys_getdirentries __P((struct proc *, void *, register_t *));
1317 int sys_ostatfs __P((struct proc *, void *, register_t *));
1318 int sys_ofstatfs __P((struct proc *, void *, register_t *));
1319 #if defined(NFSCLIENT) || defined(NFSSERVER)
1320 int sys_getfh __P((struct proc *, void *, register_t *));
1321 #else
1322 #endif
1323 int compat_09_sys_getdomainname __P((struct proc *, void *, register_t *));
1324 int compat_09_sys_setdomainname __P((struct proc *, void *, register_t *));
1325 int compat_09_sys_uname __P((struct proc *, void *, register_t *));
1326 int sys_sysarch __P((struct proc *, void *, register_t *));
1327 #if defined(SYSVSEM) && !defined(alpha)
1328 int compat_10_sys_semsys __P((struct proc *, void *, register_t *));
1329 #else
1330 #endif
1331 #if defined(SYSVMSG) && !defined(alpha)
1332 int compat_10_sys_msgsys __P((struct proc *, void *, register_t *));
1333 #else
1334 #endif
1335 #if defined(SYSVSHM) && !defined(alpha)
1336 int compat_10_sys_shmsys __P((struct proc *, void *, register_t *));
1337 #else
1338 #endif
1339 #ifdef NTP
1340 int sys_ntp_gettime __P((struct proc *, void *, register_t *));
1341 int sys_ntp_adjtime __P((struct proc *, void *, register_t *));
1342 #else
1343 #endif
1344 int sys_setgid __P((struct proc *, void *, register_t *));
1345 int sys_setegid __P((struct proc *, void *, register_t *));
1346 int sys_seteuid __P((struct proc *, void *, register_t *));
1347 #ifdef LFS
1348 int lfs_bmapv __P((struct proc *, void *, register_t *));
1349 int lfs_markv __P((struct proc *, void *, register_t *));
1350 int lfs_segclean __P((struct proc *, void *, register_t *));
1351 int lfs_segwait __P((struct proc *, void *, register_t *));
1352 #else
1353 #endif
1354 int sys_stat __P((struct proc *, void *, register_t *));
1355 int sys_fstat __P((struct proc *, void *, register_t *));
1356 int sys_lstat __P((struct proc *, void *, register_t *));
1357 int sys_pathconf __P((struct proc *, void *, register_t *));
1358 int sys_fpathconf __P((struct proc *, void *, register_t *));
1359 int sys_swapctl __P((struct proc *, void *, register_t *));
1360 int sys_getrlimit __P((struct proc *, void *, register_t *));
1361 int sys_setrlimit __P((struct proc *, void *, register_t *));
1362 int sys_getdirentries __P((struct proc *, void *, register_t *));
1363 int sys_mmap __P((struct proc *, void *, register_t *));
1364 int sys_lseek __P((struct proc *, void *, register_t *));
1365 int sys_truncate __P((struct proc *, void *, register_t *));
1366 int sys_ftruncate __P((struct proc *, void *, register_t *));
1367 int sys___sysctl __P((struct proc *, void *, register_t *));
1368 int sys_mlock __P((struct proc *, void *, register_t *));
1369 int sys_munlock __P((struct proc *, void *, register_t *));
1370 int sys_undelete __P((struct proc *, void *, register_t *));
1371 int sys_futimes __P((struct proc *, void *, register_t *));
1372 int sys_getpgid __P((struct proc *, void *, register_t *));
1373 int sys_xfspioctl __P((struct proc *, void *, register_t *));
1374 #ifdef LKM
1375 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1376 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1377 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1378 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1379 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1380 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1381 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1382 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1383 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1384 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1385 #else /* !LKM */
1386 #endif /* !LKM */
1387 #ifdef SYSVSEM
1388 int sys___osemctl __P((struct proc *, void *, register_t *));
1389 int sys_semget __P((struct proc *, void *, register_t *));
1390 int sys_semop __P((struct proc *, void *, register_t *));
1391 int sys_semconfig __P((struct proc *, void *, register_t *));
1392 #else
1393 #endif
1394 #ifdef SYSVMSG
1395 int sys_omsgctl __P((struct proc *, void *, register_t *));
1396 int sys_msgget __P((struct proc *, void *, register_t *));
1397 int sys_msgsnd __P((struct proc *, void *, register_t *));
1398 int sys_msgrcv __P((struct proc *, void *, register_t *));
1399 #else
1400 #endif
1401 #ifdef SYSVSHM
1402 int sys_shmat __P((struct proc *, void *, register_t *));
1403 int sys_oshmctl __P((struct proc *, void *, register_t *));
1404 int sys_shmdt __P((struct proc *, void *, register_t *));
1405 int sys_shmget __P((struct proc *, void *, register_t *));
1406 #else
1407 #endif
1408 int sys_clock_gettime __P((struct proc *, void *, register_t *));
1409 int sys_clock_settime __P((struct proc *, void *, register_t *));
1410 int sys_clock_getres __P((struct proc *, void *, register_t *));
1411 int sys_nanosleep __P((struct proc *, void *, register_t *));
1412 int sys_minherit __P((struct proc *, void *, register_t *));
1413 int sys_rfork __P((struct proc *, void *, register_t *));
1414 int sys_poll __P((struct proc *, void *, register_t *));
1415 int sys_issetugid __P((struct proc *, void *, register_t *));
1416 int sys_lchown __P((struct proc *, void *, register_t *));
1417 int sys_getsid __P((struct proc *, void *, register_t *));
1418 int sys_msync __P((struct proc *, void *, register_t *));
1419 #ifdef SYSVSEM
1420 int sys___semctl __P((struct proc *, void *, register_t *));
1421 #else
1422 #endif
1423 #ifdef SYSVSHM
1424 int sys_shmctl __P((struct proc *, void *, register_t *));
1425 #else
1426 #endif
1427 #ifdef SYSVMSG
1428 int sys_msgctl __P((struct proc *, void *, register_t *));
1429 #else
1430 #endif
1431 int sys_getfsstat __P((struct proc *, void *, register_t *));
1432 int sys_statfs __P((struct proc *, void *, register_t *));
1433 int sys_fstatfs __P((struct proc *, void *, register_t *));
1434 int sys_pipe __P((struct proc *, void *, register_t *));
1435 #endif
1436
1437 #endif // _SYS_SYSCALLARGS_H_