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