The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/sys/sysproto.h

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

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

Cache object: b900d87aeaf77299adc97d9775674e2c


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.