204 lines
3.6 KiB
C
204 lines
3.6 KiB
C
/*
|
|
* System call argument lists.
|
|
*
|
|
* DO NOT EDIT-- this file is automatically generated.
|
|
* created from NetBSD: syscalls.master,v 1.30 1995/06/25 14:58:22 briggs Exp
|
|
*/
|
|
|
|
#define syscallarg(x) union { x datum; register_t pad; }
|
|
|
|
struct sunos_open_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(int) flags;
|
|
syscallarg(int) mode;
|
|
};
|
|
|
|
struct sunos_wait4_args {
|
|
syscallarg(int) pid;
|
|
syscallarg(int *) status;
|
|
syscallarg(int) options;
|
|
syscallarg(struct rusage *) rusage;
|
|
};
|
|
|
|
struct sunos_creat_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(int) mode;
|
|
};
|
|
|
|
struct sunos_execv_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(char **) argp;
|
|
};
|
|
|
|
struct sunos_mknod_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(int) mode;
|
|
syscallarg(int) dev;
|
|
};
|
|
|
|
struct sunos_ptrace_args {
|
|
syscallarg(int) req;
|
|
syscallarg(int) pid;
|
|
syscallarg(char *) addr;
|
|
syscallarg(int) data;
|
|
syscallarg(char *) addr2;
|
|
};
|
|
|
|
struct sunos_access_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct sunos_stat_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(struct ostat *) ub;
|
|
};
|
|
|
|
struct sunos_lstat_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(struct ostat *) ub;
|
|
};
|
|
|
|
struct sunos_mctl_args {
|
|
syscallarg(caddr_t) addr;
|
|
syscallarg(int) len;
|
|
syscallarg(int) func;
|
|
syscallarg(void *) arg;
|
|
};
|
|
|
|
struct sunos_ioctl_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(u_long) com;
|
|
syscallarg(caddr_t) data;
|
|
};
|
|
|
|
struct sunos_reboot_args {
|
|
syscallarg(int) howto;
|
|
syscallarg(char *) bootstr;
|
|
};
|
|
|
|
struct sunos_omsync_args {
|
|
syscallarg(caddr_t) addr;
|
|
syscallarg(int) len;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct sunos_mmap_args {
|
|
syscallarg(caddr_t) addr;
|
|
syscallarg(int) len;
|
|
syscallarg(int) prot;
|
|
syscallarg(u_int) flags;
|
|
syscallarg(int) fd;
|
|
syscallarg(long) pos;
|
|
};
|
|
|
|
struct sunos_setpgid_args {
|
|
syscallarg(int) pid;
|
|
syscallarg(int) pgid;
|
|
};
|
|
|
|
struct sunos_setsockopt_args {
|
|
syscallarg(int) s;
|
|
syscallarg(int) level;
|
|
syscallarg(int) name;
|
|
syscallarg(caddr_t) val;
|
|
syscallarg(int) valsize;
|
|
};
|
|
|
|
struct sunos_sigvec_args {
|
|
syscallarg(int) signum;
|
|
syscallarg(struct sigvec *) nsv;
|
|
syscallarg(struct sigvec *) osv;
|
|
};
|
|
|
|
struct sunos_sigreturn_args {
|
|
syscallarg(struct sigcontext *) sigcntxp;
|
|
};
|
|
|
|
struct sunos_getrlimit_args {
|
|
syscallarg(u_int) which;
|
|
syscallarg(struct orlimit *) rlp;
|
|
};
|
|
|
|
struct sunos_setrlimit_args {
|
|
syscallarg(u_int) which;
|
|
syscallarg(struct orlimit *) rlp;
|
|
};
|
|
|
|
struct sunos_poll_args {
|
|
syscallarg(struct sunos_pollfd *) fds;
|
|
syscallarg(long) nfds;
|
|
syscallarg(int) timeout;
|
|
};
|
|
|
|
struct sunos_nfssvc_args {
|
|
syscallarg(int) fd;
|
|
};
|
|
|
|
struct sunos_statfs_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(struct sunos_statfs *) buf;
|
|
};
|
|
|
|
struct sunos_fstatfs_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(struct sunos_statfs *) buf;
|
|
};
|
|
|
|
struct sunos_unmount_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct sunos_quotactl_args {
|
|
syscallarg(int) cmd;
|
|
syscallarg(char *) special;
|
|
syscallarg(int) uid;
|
|
syscallarg(caddr_t) addr;
|
|
};
|
|
|
|
struct sunos_exportfs_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(char *) ex;
|
|
};
|
|
|
|
struct sunos_mount_args {
|
|
syscallarg(char *) type;
|
|
syscallarg(char *) dir;
|
|
syscallarg(int) flags;
|
|
syscallarg(caddr_t) data;
|
|
};
|
|
|
|
struct sunos_ustat_args {
|
|
syscallarg(int) dev;
|
|
syscallarg(struct sunos_ustat *) buf;
|
|
};
|
|
|
|
struct sunos_auditsys_args {
|
|
syscallarg(char *) record;
|
|
};
|
|
|
|
struct sunos_getdents_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(char *) buf;
|
|
syscallarg(int) nbytes;
|
|
};
|
|
|
|
struct sunos_fchroot_args {
|
|
syscallarg(int) fd;
|
|
};
|
|
|
|
struct sunos_sigpending_args {
|
|
syscallarg(int *) mask;
|
|
};
|
|
|
|
struct sunos_sysconf_args {
|
|
syscallarg(int) name;
|
|
};
|
|
|
|
struct sunos_uname_args {
|
|
syscallarg(struct sunos_utsname *) name;
|
|
};
|
|
|
|
#undef syscallarg
|