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