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