1 # System call argument table.
2 # DO NOT EDIT-- this file is automatically generated.
3 # $DragonFly: src/sys/sys/Attic/syscall-args,v 1.18 2005/08/27 20:23:05 joerg Exp $
5 # Created from DragonFly: src/sys/kern/syscalls.master,v 1.26 2005/08/02 13:03:55 joerg Exp
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 pathconf pathconf pathconf_args char * path int name
130 int fpathconf fpathconf fpathconf_args int fd int name
131 int getrlimit getrlimit __getrlimit_args u_int which struct rlimit * rlp
132 int setrlimit setrlimit __setrlimit_args u_int which struct rlimit * rlp
133 int mmap mmap mmap_args caddr_t addr size_t len int prot int flags int fd int pad off_t pos
134 int __syscall nosys __syscall_args
135 int lseek lseek lseek_args int fd int pad off_t offset int whence
136 int truncate truncate truncate_args char * path int pad off_t length
137 int ftruncate ftruncate ftruncate_args int fd int pad off_t length
138 int __sysctl __sysctl sysctl_args int * name u_int namelen void * old size_t * oldlenp void * new size_t newlen
139 int mlock mlock mlock_args const void * addr size_t len
140 int munlock munlock munlock_args const void * addr size_t len
141 int undelete undelete undelete_args char * path
142 int futimes futimes futimes_args int fd struct timeval * tptr
143 int getpgid getpgid getpgid_args pid_t pid
144 int poll poll poll_args struct pollfd * fds u_int nfds int timeout
145 int __semctl __semctl __semctl_args int semid int semnum int cmd union semun * arg
146 int semget semget semget_args key_t key int nsems int semflg
147 int semop semop semop_args int semid struct sembuf * sops u_int nsops
148 int msgctl msgctl msgctl_args int msqid int cmd struct msqid_ds * buf
149 int msgget msgget msgget_args key_t key int msgflg
150 int msgsnd msgsnd msgsnd_args int msqid void * msgp size_t msgsz int msgflg
151 int msgrcv msgrcv msgrcv_args int msqid void * msgp size_t msgsz long msgtyp int msgflg
152 int shmat shmat shmat_args int shmid void * shmaddr int shmflg
153 int shmctl shmctl shmctl_args int shmid int cmd struct shmid_ds * buf
154 int shmdt shmdt shmdt_args void * shmaddr
155 int shmget shmget shmget_args key_t key int size int shmflg
156 int clock_gettime clock_gettime clock_gettime_args clockid_t clock_id struct timespec * tp
157 int clock_settime clock_settime clock_settime_args clockid_t clock_id const struct timespec * tp
158 int clock_getres clock_getres clock_getres_args clockid_t clock_id struct timespec * tp
159 int nanosleep nanosleep nanosleep_args const struct timespec * rqtp struct timespec * rmtp
160 int minherit minherit minherit_args void * addr size_t len int inherit
161 int rfork rfork rfork_args int flags
162 int openbsd_poll openbsd_poll openbsd_poll_args struct pollfd * fds u_int nfds int timeout
163 int issetugid issetugid issetugid_args
164 int lchown lchown lchown_args char * path int uid int gid
165 int lchmod lchmod lchmod_args char * path mode_t mode
166 int netbsd_lchown lchown lchown_args char * path uid_t uid gid_t gid
167 int lutimes lutimes lutimes_args char * path struct timeval * tptr
168 int netbsd_msync msync msync_args void * addr size_t len int flags
169 int fhstatfs fhstatfs fhstatfs_args const struct fhandle * u_fhp struct statfs * buf
170 int fhopen fhopen fhopen_args const struct fhandle * u_fhp int flags
171 int modnext modnext modnext_args int modid
172 int modstat modstat modstat_args int modid struct module_stat * stat
173 int modfnext modfnext modfnext_args int modid
174 int modfind modfind modfind_args const char * name
175 int kldload kldload kldload_args const char * file
176 int kldunload kldunload kldunload_args int fileid
177 int kldfind kldfind kldfind_args const char * file
178 int kldnext kldnext kldnext_args int fileid
179 int kldstat kldstat kldstat_args int fileid struct kld_file_stat * stat
180 int kldfirstmod kldfirstmod kldfirstmod_args int fileid
181 int getsid getsid getsid_args pid_t pid
182 int setresuid setresuid setresuid_args uid_t ruid uid_t euid uid_t suid
183 int setresgid setresgid setresgid_args gid_t rgid gid_t egid gid_t sgid
184 int aio_return aio_return aio_return_args struct aiocb * aiocbp
185 int aio_suspend aio_suspend aio_suspend_args struct aiocb *const * aiocbp int nent const struct timespec * timeout
186 int aio_cancel aio_cancel aio_cancel_args int fd struct aiocb * aiocbp
187 int aio_error aio_error aio_error_args struct aiocb * aiocbp
188 int aio_read aio_read aio_read_args struct aiocb * aiocbp
189 int aio_write aio_write aio_write_args struct aiocb * aiocbp
190 int lio_listio lio_listio lio_listio_args int mode struct aiocb *const * acb_list int nent struct sigevent * sig
191 int yield yield yield_args
192 int thr_sleep thr_sleep thr_sleep_args const struct timespec * timeout
193 int thr_wakeup thr_wakeup thr_wakeup_args pid_t pid
194 int mlockall mlockall mlockall_args int how
195 int munlockall munlockall munlockall_args
196 int __getcwd __getcwd __getcwd_args u_char * buf u_int buflen
197 int sched_setparam sched_setparam sched_setparam_args pid_t pid const struct sched_param * param
198 int sched_getparam sched_getparam sched_getparam_args pid_t pid struct sched_param * param
199 int sched_setscheduler sched_setscheduler sched_setscheduler_args pid_t pid int policy const struct sched_param * param
200 int sched_getscheduler sched_getscheduler sched_getscheduler_args pid_t pid
201 int sched_yield sched_yield sched_yield_args
202 int sched_get_priority_max sched_get_priority_max sched_get_priority_max_args int policy
203 int sched_get_priority_min sched_get_priority_min sched_get_priority_min_args int policy
204 int sched_rr_get_interval sched_rr_get_interval sched_rr_get_interval_args pid_t pid struct timespec * interval
205 int utrace utrace utrace_args const void * addr size_t len
206 int kldsym kldsym kldsym_args int fileid int cmd void * data
207 int jail jail jail_args struct jail * jail
208 int sigprocmask sigprocmask sigprocmask_args int how const sigset_t * set sigset_t * oset
209 int sigsuspend sigsuspend sigsuspend_args const sigset_t * sigmask
210 int sigaction sigaction sigaction_args int sig const struct sigaction * act struct sigaction * oact
211 int sigpending sigpending sigpending_args sigset_t * set
212 int sigreturn sigreturn sigreturn_args ucontext_t * sigcntxp
213 int sigtimedwait sigtimedwait sigtimedwait_args const sigset_t * set siginfo_t * info const struct timespec * timeout
214 int sigwaitinfo sigwaitinfo sigwaitinfo_args const sigset_t * set siginfo_t * info
215 int __acl_get_file __acl_get_file __acl_get_file_args const char * path acl_type_t type struct acl * aclp
216 int __acl_set_file __acl_set_file __acl_set_file_args const char * path acl_type_t type struct acl * aclp
217 int __acl_get_fd __acl_get_fd __acl_get_fd_args int filedes acl_type_t type struct acl * aclp
218 int __acl_set_fd __acl_set_fd __acl_set_fd_args int filedes acl_type_t type struct acl * aclp
219 int __acl_delete_file __acl_delete_file __acl_delete_file_args const char * path acl_type_t type
220 int __acl_delete_fd __acl_delete_fd __acl_delete_fd_args int filedes acl_type_t type
221 int __acl_aclcheck_file __acl_aclcheck_file __acl_aclcheck_file_args const char * path acl_type_t type struct acl * aclp
222 int __acl_aclcheck_fd __acl_aclcheck_fd __acl_aclcheck_fd_args int filedes acl_type_t type struct acl * aclp
223 int extattrctl extattrctl extattrctl_args const char * path int cmd const char * attrname char * arg
224 int extattr_set_file extattr_set_file extattr_set_file_args const char * path const char * attrname struct iovec * iovp unsigned iovcnt
225 int extattr_get_file extattr_get_file extattr_get_file_args const char * path const char * attrname struct iovec * iovp unsigned iovcnt
226 int extattr_delete_file extattr_delete_file extattr_delete_file_args const char * path const char * attrname
227 int aio_waitcomplete aio_waitcomplete aio_waitcomplete_args struct aiocb ** aiocbp struct timespec * timeout
228 int getresuid getresuid getresuid_args uid_t * ruid uid_t * euid uid_t * suid
229 int getresgid getresgid getresgid_args gid_t * rgid gid_t * egid gid_t * sgid
230 int kqueue kqueue kqueue_args
231 int kevent kevent kevent_args int fd const struct kevent * changelist int nchanges struct kevent * eventlist int nevents const struct timespec * timeout
232 int sctp_peeloff sctp_peeloff sctp_peeloff_args int sd caddr_t name
233 int sendfile sendfile sendfile_args int fd int s off_t offset size_t nbytes struct sf_hdtr * hdtr off_t * sbytes int flags
234 int varsym_set varsym_set varsym_set_args int level const char * name const char * data
235 int varsym_get varsym_get varsym_get_args int mask const char * wild char * buf int bufsize
236 int varsym_list varsym_list varsym_list_args int level char * buf int maxsize int * marker
237 int upc_register upc_register upc_register_args struct upcall * upc void * ctxfunc void * func void * data
238 int upc_control upc_control upc_control_args int cmd int upcid void * data
239 int caps_sys_service caps_sys_service caps_sys_service_args const char * name uid_t uid gid_t gid int upcid int flags
240 int caps_sys_client caps_sys_client caps_sys_client_args const char * name uid_t uid gid_t gid int upcid int flags
241 int caps_sys_close caps_sys_close caps_sys_close_args int portid
242 int caps_sys_put caps_sys_put caps_sys_put_args int portid void * msg int msgsize
243 int caps_sys_reply caps_sys_reply caps_sys_reply_args int portid void * msg int msgsize off_t msgcid
244 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
245 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
246 int caps_sys_abort caps_sys_abort caps_sys_abort_args int portid off_t msgcid int flags
247 int caps_sys_getgen caps_sys_getgen caps_sys_getgen_args int portid
248 int caps_sys_setgen caps_sys_setgen caps_sys_setgen_args int portid off_t gen
249 int exec_sys_register exec_sys_register exec_sys_register_args void * entry
250 int exec_sys_unregister exec_sys_unregister exec_sys_unregister_args int id
251 int sys_checkpoint sys_checkpoint sys_checkpoint_args int type int fd pid_t pid int retval
252 int mountctl mountctl mountctl_args const char * path int op int fd const void * ctl int ctllen void * buf int buflen
253 int umtx_sleep umtx_sleep umtx_sleep_args volatile const int * ptr int value int timeout
254 int umtx_wakeup umtx_wakeup umtx_wakeup_args volatile const int * ptr int count
255 int jail_attach jail_attach jail_attach_args int jid
256 int sys_set_tls_area sys_set_tls_area sys_set_tls_area_args int which struct tls_info * info size_t infosize
257 int sys_get_tls_area sys_get_tls_area sys_get_tls_area_args int which struct tls_info * info size_t infosize
258 int closefrom closefrom closefrom_args int fd
259 int stat stat stat_args const char * path struct stat * ub
260 int fstat fstat fstat_args int fd struct stat * sb
261 int lstat lstat lstat_args const char * path struct stat * ub
262 int fhstat fhstat fhstat_args const struct fhandle * u_fhp struct stat * sb
263 int getdirentries getdirentries getdirentries_args int fd char * buf u_int count long * basep
264 int getdents getdents getdents_args int fd char * buf size_t count