NetBSD/sys/compat/svr4/svr4_syscallargs.h

427 lines
12 KiB
C
Raw Normal View History

1994-10-24 20:37:34 +03:00
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
1996-02-10 20:14:07 +03:00
* created from NetBSD: syscalls.master,v 1.17 1996/02/10 17:12:51 christos Exp
1994-10-24 20:37:34 +03:00
*/
#define syscallarg(x) union { x datum; register_t pad; }
1995-10-07 09:41:34 +03:00
struct svr4_sys_open_args {
1994-10-24 20:37:34 +03:00
syscallarg(char *) path;
syscallarg(int) flags;
syscallarg(int) mode;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_wait_args {
1994-10-24 20:37:34 +03:00
syscallarg(int *) status;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_creat_args {
1994-10-24 20:37:34 +03:00
syscallarg(char *) path;
syscallarg(int) mode;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_execv_args {
1994-10-24 20:37:34 +03:00
syscallarg(char *) path;
1994-11-14 09:10:37 +03:00
syscallarg(char **) argp;
1994-10-24 20:37:34 +03:00
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_time_args {
1994-10-24 20:37:34 +03:00
syscallarg(svr4_time_t *) t;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_mknod_args {
1994-10-24 20:37:34 +03:00
syscallarg(char *) path;
syscallarg(int) mode;
syscallarg(int) dev;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_break_args {
1994-10-24 20:37:34 +03:00
syscallarg(caddr_t) nsize;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_stat_args {
1994-10-24 20:37:34 +03:00
syscallarg(char *) path;
syscallarg(struct svr4_stat *) ub;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_alarm_args {
syscallarg(unsigned) sec;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_fstat_args {
1994-10-24 20:37:34 +03:00
syscallarg(int) fd;
syscallarg(struct svr4_stat *) sb;
};
1995-12-19 10:12:53 +03:00
struct svr4_sys_utime_args {
syscallarg(char *) path;
syscallarg(struct svr4_utimbuf *) ubuf;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_access_args {
1994-10-24 20:37:34 +03:00
syscallarg(char *) path;
syscallarg(int) flags;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_kill_args {
syscallarg(int) pid;
syscallarg(int) signum;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_pgrpsys_args {
1994-11-14 09:10:37 +03:00
syscallarg(int) cmd;
syscallarg(int) pid;
syscallarg(int) pgid;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_times_args {
1994-10-24 20:37:34 +03:00
syscallarg(struct tms *) tp;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_signal_args {
1994-10-24 20:37:34 +03:00
syscallarg(int) signum;
syscallarg(svr4_sig_t) handler;
};
struct svr4_sys_msgsys_args {
syscallarg(int) what;
syscallarg(int) a2;
syscallarg(int) a3;
syscallarg(int) a4;
syscallarg(int) a5;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_sysarch_args {
1995-02-01 04:41:37 +03:00
syscallarg(int) op;
syscallarg(void *) a1;
1994-10-24 20:37:34 +03:00
};
struct svr4_sys_shmsys_args {
syscallarg(int) what;
syscallarg(int) a2;
syscallarg(int) a3;
syscallarg(int) a4;
};
struct svr4_sys_semsys_args {
syscallarg(int) what;
syscallarg(int) a2;
syscallarg(int) a3;
syscallarg(int) a4;
syscallarg(int) a5;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_ioctl_args {
1994-10-24 20:37:34 +03:00
syscallarg(int) fd;
1995-10-07 09:41:34 +03:00
syscallarg(u_long) com;
1994-10-24 20:37:34 +03:00
syscallarg(caddr_t) data;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_utssys_args {
1995-03-31 07:08:25 +04:00
syscallarg(void *) a1;
syscallarg(void *) a2;
1994-10-24 20:37:34 +03:00
syscallarg(int) sel;
1995-03-31 07:08:25 +04:00
syscallarg(void *) a3;
1994-10-24 20:37:34 +03:00
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_execve_args {
1994-10-24 20:37:34 +03:00
syscallarg(char *) path;
1994-11-14 09:10:37 +03:00
syscallarg(char **) argp;
syscallarg(char **) envp;
1994-10-24 20:37:34 +03:00
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_fcntl_args {
1994-10-24 20:37:34 +03:00
syscallarg(int) fd;
syscallarg(int) cmd;
syscallarg(char *) arg;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_ulimit_args {
1994-11-14 09:10:37 +03:00
syscallarg(int) cmd;
syscallarg(long) newlimit;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_getdents_args {
1994-10-24 20:37:34 +03:00
syscallarg(int) fd;
syscallarg(char *) buf;
syscallarg(int) nbytes;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_getmsg_args {
1994-11-14 09:10:37 +03:00
syscallarg(int) fd;
1995-03-31 07:08:25 +04:00
syscallarg(struct svr4_strbuf *) ctl;
syscallarg(struct svr4_strbuf *) dat;
1994-11-14 09:10:37 +03:00
syscallarg(int *) flags;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_putmsg_args {
1994-11-14 09:10:37 +03:00
syscallarg(int) fd;
1995-03-31 07:08:25 +04:00
syscallarg(struct svr4_strbuf *) ctl;
syscallarg(struct svr4_strbuf *) dat;
1994-11-14 09:10:37 +03:00
syscallarg(int) flags;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_poll_args {
1994-11-14 09:10:37 +03:00
syscallarg(struct svr4_pollfd *) fds;
syscallarg(long) nfds;
syscallarg(int) timeout;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_lstat_args {
1994-10-24 20:37:34 +03:00
syscallarg(char *) path;
syscallarg(struct svr4_stat *) ub;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_sigprocmask_args {
syscallarg(int) how;
syscallarg(svr4_sigset_t *) set;
syscallarg(svr4_sigset_t *) oset;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_sigsuspend_args {
1995-02-01 04:41:37 +03:00
syscallarg(svr4_sigset_t *) ss;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_sigaltstack_args {
1995-08-14 05:13:11 +04:00
syscallarg(struct svr4_sigaltstack *) nss;
syscallarg(struct svr4_sigaltstack *) oss;
1995-02-01 04:41:37 +03:00
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_sigaction_args {
syscallarg(int) signum;
syscallarg(struct svr4_sigaction *) nsa;
syscallarg(struct svr4_sigaction *) osa;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_sigpending_args {
syscallarg(int) what;
syscallarg(svr4_sigset_t *) mask;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_context_args {
syscallarg(int) func;
syscallarg(struct svr4_ucontext *) uc;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_statvfs_args {
syscallarg(char *) path;
syscallarg(struct svr4_statvfs *) fs;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_fstatvfs_args {
syscallarg(int) fd;
syscallarg(struct svr4_statvfs *) fs;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_waitsys_args {
syscallarg(int) grp;
syscallarg(int) id;
1995-01-25 07:17:45 +03:00
syscallarg(union svr4_siginfo *) info;
syscallarg(int) options;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_hrtsys_args {
syscallarg(int) cmd;
syscallarg(int) fun;
syscallarg(int) sub;
syscallarg(void *) rv1;
syscallarg(void *) rv2;
1994-10-24 20:37:34 +03:00
};
struct svr4_sys_pathconf_args {
syscallarg(char *) path;
syscallarg(int) name;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_mmap_args {
1994-10-24 20:37:34 +03:00
syscallarg(svr4_caddr_t) addr;
syscallarg(svr4_size_t) len;
syscallarg(int) prot;
syscallarg(int) flags;
syscallarg(int) fd;
syscallarg(svr4_off_t) pos;
};
struct svr4_sys_fpathconf_args {
syscallarg(int) fd;
syscallarg(int) name;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_xstat_args {
1994-10-24 20:37:34 +03:00
syscallarg(int) two;
syscallarg(char *) path;
syscallarg(struct svr4_xstat *) ub;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_lxstat_args {
1994-10-24 20:37:34 +03:00
syscallarg(int) two;
syscallarg(char *) path;
syscallarg(struct svr4_xstat *) ub;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_fxstat_args {
1994-10-24 20:37:34 +03:00
syscallarg(int) two;
syscallarg(int) fd;
syscallarg(struct svr4_xstat *) sb;
};
1996-02-02 04:18:09 +03:00
struct svr4_sys_xmknod_args {
syscallarg(int) two;
syscallarg(char *) path;
syscallarg(svr4_mode_t) mode;
syscallarg(svr4_dev_t) dev;
1996-02-02 04:18:09 +03:00
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_setrlimit_args {
1994-10-24 20:37:34 +03:00
syscallarg(int) which;
syscallarg(struct ogetrlimit *) rlp;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_getrlimit_args {
1994-10-24 20:37:34 +03:00
syscallarg(int) which;
syscallarg(struct ogetrlimit *) rlp;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_uname_args {
1994-10-24 20:37:34 +03:00
syscallarg(struct svr4_utsname *) name;
syscallarg(int) dummy;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_sysconfig_args {
1994-10-24 20:37:34 +03:00
syscallarg(int) name;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_systeminfo_args {
1994-11-14 09:10:37 +03:00
syscallarg(int) what;
syscallarg(char *) buf;
syscallarg(long) len;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_fchroot_args {
1994-10-24 20:37:34 +03:00
syscallarg(int) fd;
};
1995-12-19 10:12:53 +03:00
struct svr4_sys_utimes_args {
syscallarg(char *) path;
syscallarg(struct timeval *) tptr;
};
1995-10-07 09:41:34 +03:00
struct svr4_sys_gettimeofday_args {
1995-03-31 07:08:25 +04:00
syscallarg(struct timeval *) tp;
};
1995-10-15 09:13:56 +03:00
/*
* System call prototypes.
*/
int sys_nosys __P((struct proc *, void *, register_t *));
int sys_exit __P((struct proc *, void *, register_t *));
int sys_fork __P((struct proc *, void *, register_t *));
int sys_read __P((struct proc *, void *, register_t *));
int sys_write __P((struct proc *, void *, register_t *));
int svr4_sys_open __P((struct proc *, void *, register_t *));
int sys_close __P((struct proc *, void *, register_t *));
int svr4_sys_wait __P((struct proc *, void *, register_t *));
int svr4_sys_creat __P((struct proc *, void *, register_t *));
int sys_link __P((struct proc *, void *, register_t *));
int sys_unlink __P((struct proc *, void *, register_t *));
int svr4_sys_execv __P((struct proc *, void *, register_t *));
int sys_chdir __P((struct proc *, void *, register_t *));
int svr4_sys_time __P((struct proc *, void *, register_t *));
int svr4_sys_mknod __P((struct proc *, void *, register_t *));
int sys_chmod __P((struct proc *, void *, register_t *));
int sys_chown __P((struct proc *, void *, register_t *));
int svr4_sys_break __P((struct proc *, void *, register_t *));
int svr4_sys_stat __P((struct proc *, void *, register_t *));
int compat_43_sys_lseek __P((struct proc *, void *, register_t *));
int sys_getpid __P((struct proc *, void *, register_t *));
int sys_setuid __P((struct proc *, void *, register_t *));
int sys_getuid __P((struct proc *, void *, register_t *));
int svr4_sys_alarm __P((struct proc *, void *, register_t *));
int svr4_sys_fstat __P((struct proc *, void *, register_t *));
1995-12-19 10:12:53 +03:00
int svr4_sys_utime __P((struct proc *, void *, register_t *));
1995-10-15 09:13:56 +03:00
int svr4_sys_access __P((struct proc *, void *, register_t *));
int sys_sync __P((struct proc *, void *, register_t *));
int svr4_sys_kill __P((struct proc *, void *, register_t *));
int svr4_sys_pgrpsys __P((struct proc *, void *, register_t *));
int sys_dup __P((struct proc *, void *, register_t *));
int sys_pipe __P((struct proc *, void *, register_t *));
int svr4_sys_times __P((struct proc *, void *, register_t *));
int sys_setgid __P((struct proc *, void *, register_t *));
int sys_getgid __P((struct proc *, void *, register_t *));
int svr4_sys_signal __P((struct proc *, void *, register_t *));
#ifdef SYSVMSG
int svr4_sys_msgsys __P((struct proc *, void *, register_t *));
#else
#endif
int svr4_sys_sysarch __P((struct proc *, void *, register_t *));
#ifdef SYSVSHM
int svr4_sys_shmsys __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef SYSVSEM
int svr4_sys_semsys __P((struct proc *, void *, register_t *));
#else
#endif
int svr4_sys_ioctl __P((struct proc *, void *, register_t *));
int svr4_sys_utssys __P((struct proc *, void *, register_t *));
int sys_fsync __P((struct proc *, void *, register_t *));
int svr4_sys_execve __P((struct proc *, void *, register_t *));
int sys_umask __P((struct proc *, void *, register_t *));
int sys_chroot __P((struct proc *, void *, register_t *));
int svr4_sys_fcntl __P((struct proc *, void *, register_t *));
int svr4_sys_ulimit __P((struct proc *, void *, register_t *));
int sys_rmdir __P((struct proc *, void *, register_t *));
int sys_mkdir __P((struct proc *, void *, register_t *));
int svr4_sys_getdents __P((struct proc *, void *, register_t *));
int svr4_sys_getmsg __P((struct proc *, void *, register_t *));
int svr4_sys_putmsg __P((struct proc *, void *, register_t *));
int svr4_sys_poll __P((struct proc *, void *, register_t *));
int svr4_sys_lstat __P((struct proc *, void *, register_t *));
int sys_symlink __P((struct proc *, void *, register_t *));
int sys_readlink __P((struct proc *, void *, register_t *));
int sys_getgroups __P((struct proc *, void *, register_t *));
int sys_setgroups __P((struct proc *, void *, register_t *));
int sys_fchmod __P((struct proc *, void *, register_t *));
int sys_fchown __P((struct proc *, void *, register_t *));
int svr4_sys_sigprocmask __P((struct proc *, void *, register_t *));
int svr4_sys_sigsuspend __P((struct proc *, void *, register_t *));
int svr4_sys_sigaltstack __P((struct proc *, void *, register_t *));
int svr4_sys_sigaction __P((struct proc *, void *, register_t *));
int svr4_sys_sigpending __P((struct proc *, void *, register_t *));
int svr4_sys_context __P((struct proc *, void *, register_t *));
int svr4_sys_statvfs __P((struct proc *, void *, register_t *));
int svr4_sys_fstatvfs __P((struct proc *, void *, register_t *));
int svr4_sys_waitsys __P((struct proc *, void *, register_t *));
int svr4_sys_hrtsys __P((struct proc *, void *, register_t *));
int svr4_sys_pathconf __P((struct proc *, void *, register_t *));
1995-10-15 09:13:56 +03:00
int svr4_sys_mmap __P((struct proc *, void *, register_t *));
int sys_mprotect __P((struct proc *, void *, register_t *));
int sys_munmap __P((struct proc *, void *, register_t *));
int svr4_sys_fpathconf __P((struct proc *, void *, register_t *));
1995-10-15 09:13:56 +03:00
int sys_vfork __P((struct proc *, void *, register_t *));
int sys_fchdir __P((struct proc *, void *, register_t *));
int sys_readv __P((struct proc *, void *, register_t *));
int sys_writev __P((struct proc *, void *, register_t *));
int svr4_sys_xstat __P((struct proc *, void *, register_t *));
int svr4_sys_lxstat __P((struct proc *, void *, register_t *));
int svr4_sys_fxstat __P((struct proc *, void *, register_t *));
1996-02-02 04:18:09 +03:00
int svr4_sys_xmknod __P((struct proc *, void *, register_t *));
1995-10-15 09:13:56 +03:00
int svr4_sys_setrlimit __P((struct proc *, void *, register_t *));
int svr4_sys_getrlimit __P((struct proc *, void *, register_t *));
int sys_rename __P((struct proc *, void *, register_t *));
int svr4_sys_uname __P((struct proc *, void *, register_t *));
int sys_setegid __P((struct proc *, void *, register_t *));
int svr4_sys_sysconfig __P((struct proc *, void *, register_t *));
int sys_adjtime __P((struct proc *, void *, register_t *));
int svr4_sys_systeminfo __P((struct proc *, void *, register_t *));
int sys_seteuid __P((struct proc *, void *, register_t *));
int svr4_sys_fchroot __P((struct proc *, void *, register_t *));
1995-12-19 10:12:53 +03:00
int svr4_sys_utimes __P((struct proc *, void *, register_t *));
1995-10-15 09:13:56 +03:00
int svr4_sys_vhangup __P((struct proc *, void *, register_t *));
int svr4_sys_gettimeofday __P((struct proc *, void *, register_t *));
int sys_getitimer __P((struct proc *, void *, register_t *));
int sys_setitimer __P((struct proc *, void *, register_t *));