Merge from vendor branch HEIMDAL:
[dragonfly.git] / sys / sys / syscall-args
1 # System call argument table.
2 # DO NOT EDIT-- this file is automatically generated.
3 # $DragonFly: src/sys/sys/Attic/syscall-args,v 1.6 2005/01/14 04:19:55 dillon Exp $
4
5 # Created from DragonFly: src/sys/kern/syscalls.master,v 1.16 2005/01/14 02:20:22 dillon Exp 
6
7 int     syscall nosys   nosys_args
8 void    exit    sys_exit        sys_exit_args   int     rval
9 int     fork    fork    fork_args
10 int     read    read    read_args       int     fd      void *  buf     size_t  nbyte
11 int     write   write   write_args      int     fd      const void *    buf     size_t  nbyte
12 int     open    open    open_args       char *  path    int     flags   int     mode
13 int     close   close   close_args      int     fd
14 int     wait4   wait4   wait_args       int     pid     int *   status  int     options struct rusage * rusage
15 int     link    link    link_args       char *  path    char *  link
16 int     unlink  unlink  unlink_args     char *  path
17 int     chdir   chdir   chdir_args      char *  path
18 int     fchdir  fchdir  fchdir_args     int     fd
19 int     mknod   mknod   mknod_args      char *  path    int     mode    int     dev
20 int     chmod   chmod   chmod_args      char *  path    int     mode
21 int     chown   chown   chown_args      char *  path    int     uid     int     gid
22 int     break   obreak  obreak_args     char *  nsize
23 int     getfsstat       getfsstat       getfsstat_args  struct statfs * buf     long    bufsize int     flags
24 int     getpid  getpid  getpid_args
25 int     mount   mount   mount_args      char *  type    char *  path    int     flags   caddr_t data
26 int     unmount unmount unmount_args    char *  path    int     flags
27 int     setuid  setuid  setuid_args     uid_t   uid
28 int     getuid  getuid  getuid_args
29 int     geteuid geteuid geteuid_args
30 int     ptrace  ptrace  ptrace_args     int     req     pid_t   pid     caddr_t addr    int     data
31 int     recvmsg recvmsg recvmsg_args    int     s       struct msghdr * msg     int     flags
32 int     sendmsg sendmsg sendmsg_args    int     s       caddr_t msg     int     flags
33 int     recvfrom        recvfrom        recvfrom_args   int     s       caddr_t buf     size_t  len     int     flags   caddr_t from    int *   fromlenaddr
34 int     accept  accept  accept_args     int     s       caddr_t name    int *   anamelen
35 int     getpeername     getpeername     getpeername_args        int     fdes    caddr_t asa     int *   alen
36 int     getsockname     getsockname     getsockname_args        int     fdes    caddr_t asa     int *   alen
37 int     access  access  access_args     char *  path    int     flags
38 int     chflags chflags chflags_args    char *  path    int     flags
39 int     fchflags        fchflags        fchflags_args   int     fd      int     flags
40 int     sync    sync    sync_args
41 int     kill    kill    kill_args       int     pid     int     signum
42 int     getppid getppid getppid_args
43 int     dup     dup     dup_args        u_int   fd
44 int     pipe    pipe    pipe_args
45 int     getegid getegid getegid_args
46 int     profil  profil  profil_args     caddr_t samples size_t  size    size_t  offset  u_int   scale
47 int     ktrace  ktrace  ktrace_args     const char *    fname   int     ops     int     facs    int     pid
48 int     getgid  getgid  getgid_args
49 int     getlogin        getlogin        getlogin_args   char *  namebuf u_int   namelen
50 int     setlogin        setlogin        setlogin_args   char *  namebuf
51 int     acct    acct    acct_args       char *  path
52 int     sigaltstack     sigaltstack     sigaltstack_args        stack_t *       ss      stack_t *       oss
53 int     ioctl   ioctl   ioctl_args      int     fd      u_long  com     caddr_t data
54 int     reboot  reboot  reboot_args     int     opt
55 int     revoke  revoke  revoke_args     char *  path
56 int     symlink symlink symlink_args    char *  path    char *  link
57 int     readlink        readlink        readlink_args   char *  path    char *  buf     int     count
58 int     execve  execve  execve_args     char *  fname   char ** argv    char ** envv
59 int     umask   umask   umask_args      int     newmask
60 int     chroot  chroot  chroot_args     char *  path
61 int     msync   msync   msync_args      void *  addr    size_t  len     int     flags
62 int     vfork   vfork   vfork_args
63 int     sbrk    sbrk    sbrk_args       int     incr
64 int     sstk    sstk    sstk_args       int     incr
65 int     vadvise ovadvise        ovadvise_args   int     anom
66 int     munmap  munmap  munmap_args     void *  addr    size_t  len
67 int     mprotect        mprotect        mprotect_args   const void *    addr    size_t  len     int     prot
68 int     madvise madvise madvise_args    void *  addr    size_t  len     int     behav
69 int     mincore mincore mincore_args    const void *    addr    size_t  len     char *  vec
70 int     getgroups       getgroups       getgroups_args  u_int   gidsetsize      gid_t * gidset
71 int     setgroups       setgroups       setgroups_args  u_int   gidsetsize      gid_t * gidset
72 int     getpgrp getpgrp getpgrp_args
73 int     setpgid setpgid setpgid_args    int     pid     int     pgid
74 int     setitimer       setitimer       setitimer_args  u_int   which   struct itimerval *      itv     struct itimerval *      oitv
75 int     swapon  swapon  swapon_args     char *  name
76 int     getitimer       getitimer       getitimer_args  u_int   which   struct itimerval *      itv
77 int     getdtablesize   getdtablesize   getdtablesize_args
78 int     dup2    dup2    dup2_args       u_int   from    u_int   to
79 int     fcntl   fcntl   fcntl_args      int     fd      int     cmd     long    arg
80 int     select  select  select_args     int     nd      fd_set *        in      fd_set *        ou      fd_set *        ex      struct timeval *        tv
81 int     fsync   fsync   fsync_args      int     fd
82 int     setpriority     setpriority     setpriority_args        int     which   int     who     int     prio
83 int     socket  socket  socket_args     int     domain  int     type    int     protocol
84 int     connect connect connect_args    int     s       caddr_t name    int     namelen
85 int     getpriority     getpriority     getpriority_args        int     which   int     who
86 int     bind    bind    bind_args       int     s       caddr_t name    int     namelen
87 int     setsockopt      setsockopt      setsockopt_args int     s       int     level   int     name    caddr_t val     int     valsize
88 int     listen  listen  listen_args     int     s       int     backlog
89 int     gettimeofday    gettimeofday    gettimeofday_args       struct timeval *        tp      struct timezone *       tzp
90 int     getrusage       getrusage       getrusage_args  int     who     struct rusage * rusage
91 int     getsockopt      getsockopt      getsockopt_args int     s       int     level   int     name    caddr_t val     int *   avalsize
92 int     readv   readv   readv_args      int     fd      struct iovec *  iovp    u_int   iovcnt
93 int     writev  writev  writev_args     int     fd      struct iovec *  iovp    u_int   iovcnt
94 int     settimeofday    settimeofday    settimeofday_args       struct timeval *        tv      struct timezone *       tzp
95 int     fchown  fchown  fchown_args     int     fd      int     uid     int     gid
96 int     fchmod  fchmod  fchmod_args     int     fd      int     mode
97 int     setreuid        setreuid        setreuid_args   int     ruid    int     euid
98 int     setregid        setregid        setregid_args   int     rgid    int     egid
99 int     rename  rename  rename_args     char *  from    char *  to
100 int     flock   flock   flock_args      int     fd      int     how
101 int     mkfifo  mkfifo  mkfifo_args     char *  path    int     mode
102 int     sendto  sendto  sendto_args     int     s       caddr_t buf     size_t  len     int     flags   caddr_t to      int     tolen
103 int     shutdown        shutdown        shutdown_args   int     s       int     how
104 int     socketpair      socketpair      socketpair_args int     domain  int     type    int     protocol        int *   rsv
105 int     mkdir   mkdir   mkdir_args      char *  path    int     mode
106 int     rmdir   rmdir   rmdir_args      char *  path
107 int     utimes  utimes  utimes_args     char *  path    struct timeval *        tptr
108 int     adjtime adjtime adjtime_args    struct timeval *        delta   struct timeval *        olddelta
109 int     setsid  setsid  setsid_args
110 int     quotactl        quotactl        quotactl_args   char *  path    int     cmd     int     uid     caddr_t arg
111 int     nfssvc  nfssvc  nfssvc_args     int     flag    caddr_t argp
112 int     statfs  statfs  statfs_args     char *  path    struct statfs * buf
113 int     fstatfs fstatfs fstatfs_args    int     fd      struct statfs * buf
114 int     getfh   getfh   getfh_args      char *  fname   struct fhandle *        fhp
115 int     getdomainname   getdomainname   getdomainname_args      char *  domainname      int     len
116 int     setdomainname   setdomainname   setdomainname_args      char *  domainname      int     len
117 int     uname   uname   uname_args      struct utsname *        name
118 int     sysarch sysarch sysarch_args    int     op      char *  parms
119 int     rtprio  rtprio  rtprio_args     int     function        pid_t   pid     struct rtprio * rtp
120 int     semsys  semsys  semsys_args     int     which   int     a2      int     a3      int     a4      int     a5
121 int     msgsys  msgsys  msgsys_args     int     which   int     a2      int     a3      int     a4      int     a5      int     a6
122 int     shmsys  shmsys  shmsys_args     int     which   int     a2      int     a3      int     a4
123 int     pread   pread   pread_args      int     fd      void *  buf     size_t  nbyte   int     pad     off_t   offset
124 int     pwrite  pwrite  pwrite_args     int     fd      const void *    buf     size_t  nbyte   int     pad     off_t   offset
125 int     ntp_adjtime     ntp_adjtime     ntp_adjtime_args        struct timex *  tp
126 int     setgid  setgid  setgid_args     gid_t   gid
127 int     setegid setegid setegid_args    gid_t   egid
128 int     seteuid seteuid seteuid_args    uid_t   euid
129 int     stat    stat    stat_args       char *  path    struct stat *   ub
130 int     fstat   fstat   fstat_args      int     fd      struct stat *   sb
131 int     lstat   lstat   lstat_args      char *  path    struct stat *   ub
132 int     pathconf        pathconf        pathconf_args   char *  path    int     name
133 int     fpathconf       fpathconf       fpathconf_args  int     fd      int     name
134 int     getrlimit       getrlimit       __getrlimit_args        u_int   which   struct rlimit * rlp
135 int     setrlimit       setrlimit       __setrlimit_args        u_int   which   struct rlimit * rlp
136 int     getdirentries   getdirentries   getdirentries_args      int     fd      char *  buf     u_int   count   long *  basep
137 int     mmap    mmap    mmap_args       caddr_t addr    size_t  len     int     prot    int     flags   int     fd      int     pad     off_t   pos
138 int     __syscall       nosys   __syscall_args
139 int     lseek   lseek   lseek_args      int     fd      int     pad     off_t   offset  int     whence
140 int     truncate        truncate        truncate_args   char *  path    int     pad     off_t   length
141 int     ftruncate       ftruncate       ftruncate_args  int     fd      int     pad     off_t   length
142 int     __sysctl        __sysctl        sysctl_args     int *   name    u_int   namelen void *  old     size_t *        oldlenp void *  new     size_t  newlen
143 int     mlock   mlock   mlock_args      const void *    addr    size_t  len
144 int     munlock munlock munlock_args    const void *    addr    size_t  len
145 int     undelete        undelete        undelete_args   char *  path
146 int     futimes futimes futimes_args    int     fd      struct timeval *        tptr
147 int     getpgid getpgid getpgid_args    pid_t   pid
148 int     poll    poll    poll_args       struct pollfd * fds     u_int   nfds    int     timeout
149 int     __semctl        __semctl        __semctl_args   int     semid   int     semnum  int     cmd     union semun *   arg
150 int     semget  semget  semget_args     key_t   key     int     nsems   int     semflg
151 int     semop   semop   semop_args      int     semid   struct sembuf * sops    u_int   nsops
152 int     msgctl  msgctl  msgctl_args     int     msqid   int     cmd     struct msqid_ds *       buf
153 int     msgget  msgget  msgget_args     key_t   key     int     msgflg
154 int     msgsnd  msgsnd  msgsnd_args     int     msqid   void *  msgp    size_t  msgsz   int     msgflg
155 int     msgrcv  msgrcv  msgrcv_args     int     msqid   void *  msgp    size_t  msgsz   long    msgtyp  int     msgflg
156 int     shmat   shmat   shmat_args      int     shmid   void *  shmaddr int     shmflg
157 int     shmctl  shmctl  shmctl_args     int     shmid   int     cmd     struct shmid_ds *       buf
158 int     shmdt   shmdt   shmdt_args      void *  shmaddr
159 int     shmget  shmget  shmget_args     key_t   key     int     size    int     shmflg
160 int     clock_gettime   clock_gettime   clock_gettime_args      clockid_t       clock_id        struct timespec *       tp
161 int     clock_settime   clock_settime   clock_settime_args      clockid_t       clock_id        const struct timespec * tp
162 int     clock_getres    clock_getres    clock_getres_args       clockid_t       clock_id        struct timespec *       tp
163 int     nanosleep       nanosleep       nanosleep_args  const struct timespec * rqtp    struct timespec *       rmtp
164 int     minherit        minherit        minherit_args   void *  addr    size_t  len     int     inherit
165 int     rfork   rfork   rfork_args      int     flags
166 int     openbsd_poll    openbsd_poll    openbsd_poll_args       struct pollfd * fds     u_int   nfds    int     timeout
167 int     issetugid       issetugid       issetugid_args
168 int     lchown  lchown  lchown_args     char *  path    int     uid     int     gid
169 int     getdents        getdents        getdents_args   int     fd      char *  buf     size_t  count
170 int     lchmod  lchmod  lchmod_args     char *  path    mode_t  mode
171 int     netbsd_lchown   lchown  lchown_args     char *  path    uid_t   uid     gid_t   gid
172 int     lutimes lutimes lutimes_args    char *  path    struct timeval *        tptr
173 int     netbsd_msync    msync   msync_args      void *  addr    size_t  len     int     flags
174 int     nstat   nstat   nstat_args      char *  path    struct nstat *  ub
175 int     nfstat  nfstat  nfstat_args     int     fd      struct nstat *  sb
176 int     nlstat  nlstat  nlstat_args     char *  path    struct nstat *  ub
177 int     fhstatfs        fhstatfs        fhstatfs_args   const struct fhandle *  u_fhp   struct statfs * buf
178 int     fhopen  fhopen  fhopen_args     const struct fhandle *  u_fhp   int     flags
179 int     fhstat  fhstat  fhstat_args     const struct fhandle *  u_fhp   struct stat *   sb
180 int     modnext modnext modnext_args    int     modid
181 int     modstat modstat modstat_args    int     modid   struct module_stat *    stat
182 int     modfnext        modfnext        modfnext_args   int     modid
183 int     modfind modfind modfind_args    const char *    name
184 int     kldload kldload kldload_args    const char *    file
185 int     kldunload       kldunload       kldunload_args  int     fileid
186 int     kldfind kldfind kldfind_args    const char *    file
187 int     kldnext kldnext kldnext_args    int     fileid
188 int     kldstat kldstat kldstat_args    int     fileid  struct kld_file_stat *  stat
189 int     kldfirstmod     kldfirstmod     kldfirstmod_args        int     fileid
190 int     getsid  getsid  getsid_args     pid_t   pid
191 int     setresuid       setresuid       setresuid_args  uid_t   ruid    uid_t   euid    uid_t   suid
192 int     setresgid       setresgid       setresgid_args  gid_t   rgid    gid_t   egid    gid_t   sgid
193 int     aio_return      aio_return      aio_return_args struct aiocb *  aiocbp
194 int     aio_suspend     aio_suspend     aio_suspend_args        struct aiocb *const *   aiocbp  int     nent    const struct timespec * timeout
195 int     aio_cancel      aio_cancel      aio_cancel_args int     fd      struct aiocb *  aiocbp
196 int     aio_error       aio_error       aio_error_args  struct aiocb *  aiocbp
197 int     aio_read        aio_read        aio_read_args   struct aiocb *  aiocbp
198 int     aio_write       aio_write       aio_write_args  struct aiocb *  aiocbp
199 int     lio_listio      lio_listio      lio_listio_args int     mode    struct aiocb *const *   acb_list        int     nent    struct sigevent *       sig
200 int     yield   yield   yield_args
201 int     thr_sleep       thr_sleep       thr_sleep_args  const struct timespec * timeout
202 int     thr_wakeup      thr_wakeup      thr_wakeup_args pid_t   pid
203 int     mlockall        mlockall        mlockall_args   int     how
204 int     munlockall      munlockall      munlockall_args
205 int     __getcwd        __getcwd        __getcwd_args   u_char *        buf     u_int   buflen
206 int     sched_setparam  sched_setparam  sched_setparam_args     pid_t   pid     const struct sched_param *      param
207 int     sched_getparam  sched_getparam  sched_getparam_args     pid_t   pid     struct sched_param *    param
208 int     sched_setscheduler      sched_setscheduler      sched_setscheduler_args pid_t   pid     int     policy  const struct sched_param *      param
209 int     sched_getscheduler      sched_getscheduler      sched_getscheduler_args pid_t   pid
210 int     sched_yield     sched_yield     sched_yield_args
211 int     sched_get_priority_max  sched_get_priority_max  sched_get_priority_max_args     int     policy
212 int     sched_get_priority_min  sched_get_priority_min  sched_get_priority_min_args     int     policy
213 int     sched_rr_get_interval   sched_rr_get_interval   sched_rr_get_interval_args      pid_t   pid     struct timespec *       interval
214 int     utrace  utrace  utrace_args     const void *    addr    size_t  len
215 int     kldsym  kldsym  kldsym_args     int     fileid  int     cmd     void *  data
216 int     jail    jail    jail_args       struct jail *   jail
217 int     sigprocmask     sigprocmask     sigprocmask_args        int     how     const sigset_t *        set     sigset_t *      oset
218 int     sigsuspend      sigsuspend      sigsuspend_args const sigset_t *        sigmask
219 int     sigaction       sigaction       sigaction_args  int     sig     const struct sigaction *        act     struct sigaction *      oact
220 int     sigpending      sigpending      sigpending_args sigset_t *      set
221 int     sigreturn       sigreturn       sigreturn_args  ucontext_t *    sigcntxp
222 int     __acl_get_file  __acl_get_file  __acl_get_file_args     const char *    path    acl_type_t      type    struct acl *    aclp
223 int     __acl_set_file  __acl_set_file  __acl_set_file_args     const char *    path    acl_type_t      type    struct acl *    aclp
224 int     __acl_get_fd    __acl_get_fd    __acl_get_fd_args       int     filedes acl_type_t      type    struct acl *    aclp
225 int     __acl_set_fd    __acl_set_fd    __acl_set_fd_args       int     filedes acl_type_t      type    struct acl *    aclp
226 int     __acl_delete_file       __acl_delete_file       __acl_delete_file_args  const char *    path    acl_type_t      type
227 int     __acl_delete_fd __acl_delete_fd __acl_delete_fd_args    int     filedes acl_type_t      type
228 int     __acl_aclcheck_file     __acl_aclcheck_file     __acl_aclcheck_file_args        const char *    path    acl_type_t      type    struct acl *    aclp
229 int     __acl_aclcheck_fd       __acl_aclcheck_fd       __acl_aclcheck_fd_args  int     filedes acl_type_t      type    struct acl *    aclp
230 int     extattrctl      extattrctl      extattrctl_args const char *    path    int     cmd     const char *    attrname        char *  arg
231 int     extattr_set_file        extattr_set_file        extattr_set_file_args   const char *    path    const char *    attrname        struct iovec *  iovp    unsigned        iovcnt
232 int     extattr_get_file        extattr_get_file        extattr_get_file_args   const char *    path    const char *    attrname        struct iovec *  iovp    unsigned        iovcnt
233 int     extattr_delete_file     extattr_delete_file     extattr_delete_file_args        const char *    path    const char *    attrname
234 int     aio_waitcomplete        aio_waitcomplete        aio_waitcomplete_args   struct aiocb ** aiocbp  struct timespec *       timeout
235 int     getresuid       getresuid       getresuid_args  uid_t * ruid    uid_t * euid    uid_t * suid
236 int     getresgid       getresgid       getresgid_args  gid_t * rgid    gid_t * egid    gid_t * sgid
237 int     kqueue  kqueue  kqueue_args
238 int     kevent  kevent  kevent_args     int     fd      const struct kevent *   changelist      int     nchanges        struct kevent * eventlist       int     nevents const struct timespec * timeout
239 int     sendfile        sendfile        sendfile_args   int     fd      int     s       off_t   offset  size_t  nbytes  struct sf_hdtr *        hdtr    off_t * sbytes  int     flags
240 int     varsym_set      varsym_set      varsym_set_args int     level   const char *    name    const char *    data
241 int     varsym_get      varsym_get      varsym_get_args int     mask    const char *    wild    char *  buf     int     bufsize
242 int     varsym_list     varsym_list     varsym_list_args        int     level   char *  buf     int     maxsize int *   marker
243 int     upc_register    upc_register    upc_register_args       struct upcall * upc     void *  ctxfunc void *  func    void *  data
244 int     upc_control     upc_control     upc_control_args        int     cmd     int     upcid   void *  data
245 int     caps_sys_service        caps_sys_service        caps_sys_service_args   const char *    name    uid_t   uid     gid_t   gid     int     upcid   int     flags
246 int     caps_sys_client caps_sys_client caps_sys_client_args    const char *    name    uid_t   uid     gid_t   gid     int     upcid   int     flags
247 int     caps_sys_close  caps_sys_close  caps_sys_close_args     int     portid
248 int     caps_sys_put    caps_sys_put    caps_sys_put_args       int     portid  void *  msg     int     msgsize
249 int     caps_sys_reply  caps_sys_reply  caps_sys_reply_args     int     portid  void *  msg     int     msgsize off_t   msgcid
250 int     caps_sys_get    caps_sys_get    caps_sys_get_args       int     portid  void *  msg     int     maxsize struct caps_msgid *     msgid   struct caps_cred *      ccr
251 int     caps_sys_wait   caps_sys_wait   caps_sys_wait_args      int     portid  void *  msg     int     maxsize struct caps_msgid *     msgid   struct caps_cred *      ccr
252 int     caps_sys_abort  caps_sys_abort  caps_sys_abort_args     int     portid  off_t   msgcid  int     flags
253 int     caps_sys_getgen caps_sys_getgen caps_sys_getgen_args    int     portid
254 int     caps_sys_setgen caps_sys_setgen caps_sys_setgen_args    int     portid  off_t   gen
255 int     exec_sys_register       exec_sys_register       exec_sys_register_args  void *  entry
256 int     exec_sys_unregister     exec_sys_unregister     exec_sys_unregister_args        int     id
257 int     sys_checkpoint  sys_checkpoint  sys_checkpoint_args     int     type    int     fd      pid_t   pid     int     retval
258 int     mountctl        mountctl        mountctl_args   const char *    path    int     op      int     fd      const void *    ctl     int     ctllen  void *  buf     int     buflen
259 int     umtx_sleep      umtx_sleep      umtx_sleep_args volatile const int *    ptr     int     value   int     timeout
260 int     umtx_wakeup     umtx_wakeup     umtx_wakeup_args        volatile const int *    ptr     int     count