NetBSD/sys/compat/sunos/sunos_syscallargs.h

204 lines
3.6 KiB
C
Raw Normal View History

1994-10-26 02:04:53 +03:00
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
1995-07-05 17:14:09 +04:00
* created from NetBSD: syscalls.master,v 1.30 1995/06/25 14:58:22 briggs Exp
1994-10-26 02:04:53 +03:00
*/
#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;
1994-11-14 10:34:26 +03:00
syscallarg(char **) argp;
1994-10-26 02:04:53 +03:00
};
struct sunos_mknod_args {
syscallarg(char *) path;
syscallarg(int) mode;
syscallarg(int) dev;
};
1994-11-21 00:31:32 +03:00
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;
};
1994-10-26 02:04:53 +03:00
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;
};
1995-04-23 03:48:37 +04:00
struct sunos_reboot_args {
syscallarg(int) howto;
syscallarg(char *) bootstr;
};
1994-10-26 02:04:53 +03:00
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;
1994-11-14 10:34:26 +03:00
syscallarg(u_int) flags;
1994-10-26 02:04:53 +03:00
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;
};
1995-07-05 17:14:09 +04:00
struct sunos_sigvec_args {
syscallarg(int) signum;
syscallarg(struct sigvec *) nsv;
syscallarg(struct sigvec *) osv;
};
struct sunos_sigreturn_args {
syscallarg(struct sigcontext *) sigcntxp;
};
1994-10-26 02:04:53 +03:00
struct sunos_getrlimit_args {
syscallarg(u_int) which;
syscallarg(struct orlimit *) rlp;
};
struct sunos_setrlimit_args {
syscallarg(u_int) which;
syscallarg(struct orlimit *) rlp;
};
1994-11-21 00:31:32 +03:00
struct sunos_poll_args {
syscallarg(struct sunos_pollfd *) fds;
syscallarg(long) nfds;
syscallarg(int) timeout;
};
1994-10-26 02:04:53 +03:00
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