# System call argument table. # DO NOT EDIT-- this file is automatically generated. # $DragonFly: src/sys/sys/Attic/syscall-args,v 1.18 2005/08/27 20:23:05 joerg Exp $ # Created from DragonFly: src/sys/kern/syscalls.master,v 1.26 2005/08/02 13:03:55 joerg Exp int syscall nosys nosys_args void exit sys_exit sys_exit_args int rval int fork fork fork_args int read read read_args int fd void * buf size_t nbyte int write write write_args int fd const void * buf size_t nbyte int open open open_args char * path int flags int mode int close close close_args int fd int wait4 wait4 wait_args int pid int * status int options struct rusage * rusage int link link link_args char * path char * link int unlink unlink unlink_args char * path int chdir chdir chdir_args char * path int fchdir fchdir fchdir_args int fd int mknod mknod mknod_args char * path int mode int dev int chmod chmod chmod_args char * path int mode int chown chown chown_args char * path int uid int gid int break obreak obreak_args char * nsize int getfsstat getfsstat getfsstat_args struct statfs * buf long bufsize int flags int getpid getpid getpid_args int mount mount mount_args char * type char * path int flags caddr_t data int unmount unmount unmount_args char * path int flags int setuid setuid setuid_args uid_t uid int getuid getuid getuid_args int geteuid geteuid geteuid_args int ptrace ptrace ptrace_args int req pid_t pid caddr_t addr int data int recvmsg recvmsg recvmsg_args int s struct msghdr * msg int flags int sendmsg sendmsg sendmsg_args int s caddr_t msg int flags int recvfrom recvfrom recvfrom_args int s caddr_t buf size_t len int flags caddr_t from int * fromlenaddr int accept accept accept_args int s caddr_t name int * anamelen int getpeername getpeername getpeername_args int fdes caddr_t asa int * alen int getsockname getsockname getsockname_args int fdes caddr_t asa int * alen int access access access_args char * path int flags int chflags chflags chflags_args char * path int flags int fchflags fchflags fchflags_args int fd int flags int sync sync sync_args int kill kill kill_args int pid int signum int getppid getppid getppid_args int dup dup dup_args u_int fd int pipe pipe pipe_args int getegid getegid getegid_args int profil profil profil_args caddr_t samples size_t size size_t offset u_int scale int ktrace ktrace ktrace_args const char * fname int ops int facs int pid int getgid getgid getgid_args int getlogin getlogin getlogin_args char * namebuf u_int namelen int setlogin setlogin setlogin_args char * namebuf int acct acct acct_args char * path int sigaltstack sigaltstack sigaltstack_args stack_t * ss stack_t * oss int ioctl ioctl ioctl_args int fd u_long com caddr_t data int reboot reboot reboot_args int opt int revoke revoke revoke_args char * path int symlink symlink symlink_args char * path char * link int readlink readlink readlink_args char * path char * buf int count int execve execve execve_args char * fname char ** argv char ** envv int umask umask umask_args int newmask int chroot chroot chroot_args char * path int msync msync msync_args void * addr size_t len int flags int vfork vfork vfork_args int sbrk sbrk sbrk_args int incr int sstk sstk sstk_args int incr int vadvise ovadvise ovadvise_args int anom int munmap munmap munmap_args void * addr size_t len int mprotect mprotect mprotect_args const void * addr size_t len int prot int madvise madvise madvise_args void * addr size_t len int behav int mincore mincore mincore_args const void * addr size_t len char * vec int getgroups getgroups getgroups_args u_int gidsetsize gid_t * gidset int setgroups setgroups setgroups_args u_int gidsetsize gid_t * gidset int getpgrp getpgrp getpgrp_args int setpgid setpgid setpgid_args int pid int pgid int setitimer setitimer setitimer_args u_int which struct itimerval * itv struct itimerval * oitv int swapon swapon swapon_args char * name int getitimer getitimer getitimer_args u_int which struct itimerval * itv int getdtablesize getdtablesize getdtablesize_args int dup2 dup2 dup2_args u_int from u_int to int fcntl fcntl fcntl_args int fd int cmd long arg int select select select_args int nd fd_set * in fd_set * ou fd_set * ex struct timeval * tv int fsync fsync fsync_args int fd int setpriority setpriority setpriority_args int which int who int prio int socket socket socket_args int domain int type int protocol int connect connect connect_args int s caddr_t name int namelen int getpriority getpriority getpriority_args int which int who int bind bind bind_args int s caddr_t name int namelen int setsockopt setsockopt setsockopt_args int s int level int name caddr_t val int valsize int listen listen listen_args int s int backlog int gettimeofday gettimeofday gettimeofday_args struct timeval * tp struct timezone * tzp int getrusage getrusage getrusage_args int who struct rusage * rusage int getsockopt getsockopt getsockopt_args int s int level int name caddr_t val int * avalsize int readv readv readv_args int fd struct iovec * iovp u_int iovcnt int writev writev writev_args int fd struct iovec * iovp u_int iovcnt int settimeofday settimeofday settimeofday_args struct timeval * tv struct timezone * tzp int fchown fchown fchown_args int fd int uid int gid int fchmod fchmod fchmod_args int fd int mode int setreuid setreuid setreuid_args int ruid int euid int setregid setregid setregid_args int rgid int egid int rename rename rename_args char * from char * to int flock flock flock_args int fd int how int mkfifo mkfifo mkfifo_args char * path int mode int sendto sendto sendto_args int s caddr_t buf size_t len int flags caddr_t to int tolen int shutdown shutdown shutdown_args int s int how int socketpair socketpair socketpair_args int domain int type int protocol int * rsv int mkdir mkdir mkdir_args char * path int mode int rmdir rmdir rmdir_args char * path int utimes utimes utimes_args char * path struct timeval * tptr int adjtime adjtime adjtime_args struct timeval * delta struct timeval * olddelta int setsid setsid setsid_args int quotactl quotactl quotactl_args char * path int cmd int uid caddr_t arg int nfssvc nfssvc nfssvc_args int flag caddr_t argp int statfs statfs statfs_args char * path struct statfs * buf int fstatfs fstatfs fstatfs_args int fd struct statfs * buf int getfh getfh getfh_args char * fname struct fhandle * fhp int getdomainname getdomainname getdomainname_args char * domainname int len int setdomainname setdomainname setdomainname_args char * domainname int len int uname uname uname_args struct utsname * name int sysarch sysarch sysarch_args int op char * parms int rtprio rtprio rtprio_args int function pid_t pid struct rtprio * rtp int semsys semsys semsys_args int which int a2 int a3 int a4 int a5 int msgsys msgsys msgsys_args int which int a2 int a3 int a4 int a5 int a6 int shmsys shmsys shmsys_args int which int a2 int a3 int a4 int pread pread pread_args int fd void * buf size_t nbyte int pad off_t offset int pwrite pwrite pwrite_args int fd const void * buf size_t nbyte int pad off_t offset int ntp_adjtime ntp_adjtime ntp_adjtime_args struct timex * tp int setgid setgid setgid_args gid_t gid int setegid setegid setegid_args gid_t egid int seteuid seteuid seteuid_args uid_t euid int pathconf pathconf pathconf_args char * path int name int fpathconf fpathconf fpathconf_args int fd int name int getrlimit getrlimit __getrlimit_args u_int which struct rlimit * rlp int setrlimit setrlimit __setrlimit_args u_int which struct rlimit * rlp int mmap mmap mmap_args caddr_t addr size_t len int prot int flags int fd int pad off_t pos int __syscall nosys __syscall_args int lseek lseek lseek_args int fd int pad off_t offset int whence int truncate truncate truncate_args char * path int pad off_t length int ftruncate ftruncate ftruncate_args int fd int pad off_t length int __sysctl __sysctl sysctl_args int * name u_int namelen void * old size_t * oldlenp void * new size_t newlen int mlock mlock mlock_args const void * addr size_t len int munlock munlock munlock_args const void * addr size_t len int undelete undelete undelete_args char * path int futimes futimes futimes_args int fd struct timeval * tptr int getpgid getpgid getpgid_args pid_t pid int poll poll poll_args struct pollfd * fds u_int nfds int timeout int __semctl __semctl __semctl_args int semid int semnum int cmd union semun * arg int semget semget semget_args key_t key int nsems int semflg int semop semop semop_args int semid struct sembuf * sops u_int nsops int msgctl msgctl msgctl_args int msqid int cmd struct msqid_ds * buf int msgget msgget msgget_args key_t key int msgflg int msgsnd msgsnd msgsnd_args int msqid void * msgp size_t msgsz int msgflg int msgrcv msgrcv msgrcv_args int msqid void * msgp size_t msgsz long msgtyp int msgflg int shmat shmat shmat_args int shmid void * shmaddr int shmflg int shmctl shmctl shmctl_args int shmid int cmd struct shmid_ds * buf int shmdt shmdt shmdt_args void * shmaddr int shmget shmget shmget_args key_t key int size int shmflg int clock_gettime clock_gettime clock_gettime_args clockid_t clock_id struct timespec * tp int clock_settime clock_settime clock_settime_args clockid_t clock_id const struct timespec * tp int clock_getres clock_getres clock_getres_args clockid_t clock_id struct timespec * tp int nanosleep nanosleep nanosleep_args const struct timespec * rqtp struct timespec * rmtp int minherit minherit minherit_args void * addr size_t len int inherit int rfork rfork rfork_args int flags int openbsd_poll openbsd_poll openbsd_poll_args struct pollfd * fds u_int nfds int timeout int issetugid issetugid issetugid_args int lchown lchown lchown_args char * path int uid int gid int lchmod lchmod lchmod_args char * path mode_t mode int netbsd_lchown lchown lchown_args char * path uid_t uid gid_t gid int lutimes lutimes lutimes_args char * path struct timeval * tptr int netbsd_msync msync msync_args void * addr size_t len int flags int fhstatfs fhstatfs fhstatfs_args const struct fhandle * u_fhp struct statfs * buf int fhopen fhopen fhopen_args const struct fhandle * u_fhp int flags int modnext modnext modnext_args int modid int modstat modstat modstat_args int modid struct module_stat * stat int modfnext modfnext modfnext_args int modid int modfind modfind modfind_args const char * name int kldload kldload kldload_args const char * file int kldunload kldunload kldunload_args int fileid int kldfind kldfind kldfind_args const char * file int kldnext kldnext kldnext_args int fileid int kldstat kldstat kldstat_args int fileid struct kld_file_stat * stat int kldfirstmod kldfirstmod kldfirstmod_args int fileid int getsid getsid getsid_args pid_t pid int setresuid setresuid setresuid_args uid_t ruid uid_t euid uid_t suid int setresgid setresgid setresgid_args gid_t rgid gid_t egid gid_t sgid int aio_return aio_return aio_return_args struct aiocb * aiocbp int aio_suspend aio_suspend aio_suspend_args struct aiocb *const * aiocbp int nent const struct timespec * timeout int aio_cancel aio_cancel aio_cancel_args int fd struct aiocb * aiocbp int aio_error aio_error aio_error_args struct aiocb * aiocbp int aio_read aio_read aio_read_args struct aiocb * aiocbp int aio_write aio_write aio_write_args struct aiocb * aiocbp int lio_listio lio_listio lio_listio_args int mode struct aiocb *const * acb_list int nent struct sigevent * sig int yield yield yield_args int thr_sleep thr_sleep thr_sleep_args const struct timespec * timeout int thr_wakeup thr_wakeup thr_wakeup_args pid_t pid int mlockall mlockall mlockall_args int how int munlockall munlockall munlockall_args int __getcwd __getcwd __getcwd_args u_char * buf u_int buflen int sched_setparam sched_setparam sched_setparam_args pid_t pid const struct sched_param * param int sched_getparam sched_getparam sched_getparam_args pid_t pid struct sched_param * param int sched_setscheduler sched_setscheduler sched_setscheduler_args pid_t pid int policy const struct sched_param * param int sched_getscheduler sched_getscheduler sched_getscheduler_args pid_t pid int sched_yield sched_yield sched_yield_args int sched_get_priority_max sched_get_priority_max sched_get_priority_max_args int policy int sched_get_priority_min sched_get_priority_min sched_get_priority_min_args int policy int sched_rr_get_interval sched_rr_get_interval sched_rr_get_interval_args pid_t pid struct timespec * interval int utrace utrace utrace_args const void * addr size_t len int kldsym kldsym kldsym_args int fileid int cmd void * data int jail jail jail_args struct jail * jail int sigprocmask sigprocmask sigprocmask_args int how const sigset_t * set sigset_t * oset int sigsuspend sigsuspend sigsuspend_args const sigset_t * sigmask int sigaction sigaction sigaction_args int sig const struct sigaction * act struct sigaction * oact int sigpending sigpending sigpending_args sigset_t * set int sigreturn sigreturn sigreturn_args ucontext_t * sigcntxp int sigtimedwait sigtimedwait sigtimedwait_args const sigset_t * set siginfo_t * info const struct timespec * timeout int sigwaitinfo sigwaitinfo sigwaitinfo_args const sigset_t * set siginfo_t * info int __acl_get_file __acl_get_file __acl_get_file_args const char * path acl_type_t type struct acl * aclp int __acl_set_file __acl_set_file __acl_set_file_args const char * path acl_type_t type struct acl * aclp int __acl_get_fd __acl_get_fd __acl_get_fd_args int filedes acl_type_t type struct acl * aclp int __acl_set_fd __acl_set_fd __acl_set_fd_args int filedes acl_type_t type struct acl * aclp int __acl_delete_file __acl_delete_file __acl_delete_file_args const char * path acl_type_t type int __acl_delete_fd __acl_delete_fd __acl_delete_fd_args int filedes acl_type_t type int __acl_aclcheck_file __acl_aclcheck_file __acl_aclcheck_file_args const char * path acl_type_t type struct acl * aclp int __acl_aclcheck_fd __acl_aclcheck_fd __acl_aclcheck_fd_args int filedes acl_type_t type struct acl * aclp int extattrctl extattrctl extattrctl_args const char * path int cmd const char * attrname char * arg int extattr_set_file extattr_set_file extattr_set_file_args const char * path const char * attrname struct iovec * iovp unsigned iovcnt int extattr_get_file extattr_get_file extattr_get_file_args const char * path const char * attrname struct iovec * iovp unsigned iovcnt int extattr_delete_file extattr_delete_file extattr_delete_file_args const char * path const char * attrname int aio_waitcomplete aio_waitcomplete aio_waitcomplete_args struct aiocb ** aiocbp struct timespec * timeout int getresuid getresuid getresuid_args uid_t * ruid uid_t * euid uid_t * suid int getresgid getresgid getresgid_args gid_t * rgid gid_t * egid gid_t * sgid int kqueue kqueue kqueue_args int kevent kevent kevent_args int fd const struct kevent * changelist int nchanges struct kevent * eventlist int nevents const struct timespec * timeout int sctp_peeloff sctp_peeloff sctp_peeloff_args int sd caddr_t name int sendfile sendfile sendfile_args int fd int s off_t offset size_t nbytes struct sf_hdtr * hdtr off_t * sbytes int flags int varsym_set varsym_set varsym_set_args int level const char * name const char * data int varsym_get varsym_get varsym_get_args int mask const char * wild char * buf int bufsize int varsym_list varsym_list varsym_list_args int level char * buf int maxsize int * marker int upc_register upc_register upc_register_args struct upcall * upc void * ctxfunc void * func void * data int upc_control upc_control upc_control_args int cmd int upcid void * data int caps_sys_service caps_sys_service caps_sys_service_args const char * name uid_t uid gid_t gid int upcid int flags int caps_sys_client caps_sys_client caps_sys_client_args const char * name uid_t uid gid_t gid int upcid int flags int caps_sys_close caps_sys_close caps_sys_close_args int portid int caps_sys_put caps_sys_put caps_sys_put_args int portid void * msg int msgsize int caps_sys_reply caps_sys_reply caps_sys_reply_args int portid void * msg int msgsize off_t msgcid 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 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 int caps_sys_abort caps_sys_abort caps_sys_abort_args int portid off_t msgcid int flags int caps_sys_getgen caps_sys_getgen caps_sys_getgen_args int portid int caps_sys_setgen caps_sys_setgen caps_sys_setgen_args int portid off_t gen int exec_sys_register exec_sys_register exec_sys_register_args void * entry int exec_sys_unregister exec_sys_unregister exec_sys_unregister_args int id int sys_checkpoint sys_checkpoint sys_checkpoint_args int type int fd pid_t pid int retval int mountctl mountctl mountctl_args const char * path int op int fd const void * ctl int ctllen void * buf int buflen int umtx_sleep umtx_sleep umtx_sleep_args volatile const int * ptr int value int timeout int umtx_wakeup umtx_wakeup umtx_wakeup_args volatile const int * ptr int count int jail_attach jail_attach jail_attach_args int jid int sys_set_tls_area sys_set_tls_area sys_set_tls_area_args int which struct tls_info * info size_t infosize int sys_get_tls_area sys_get_tls_area sys_get_tls_area_args int which struct tls_info * info size_t infosize int closefrom closefrom closefrom_args int fd int stat stat stat_args const char * path struct stat * ub int fstat fstat fstat_args int fd struct stat * sb int lstat lstat lstat_args const char * path struct stat * ub int fhstat fhstat fhstat_args const struct fhandle * u_fhp struct stat * sb int getdirentries getdirentries getdirentries_args int fd char * buf u_int count long * basep int getdents getdents getdents_args int fd char * buf size_t count