120 lines
2.2 KiB
C
120 lines
2.2 KiB
C
/*
|
|
* System call argument lists.
|
|
*
|
|
* DO NOT EDIT-- this file is automatically generated.
|
|
* created from NetBSD: syscalls.master,v 1.9 1995/02/01 05:09:14 mellon Exp
|
|
*/
|
|
|
|
#define syscallarg(x) union { x datum; register_t pad; }
|
|
|
|
struct sun_open_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(int) flags;
|
|
syscallarg(int) mode;
|
|
};
|
|
|
|
struct sun_execv_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(char **) argp;
|
|
};
|
|
|
|
struct sun_mknod_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(int) mode;
|
|
syscallarg(int) dev;
|
|
};
|
|
|
|
struct sun_mmap_args {
|
|
syscallarg(caddr_t) addr;
|
|
syscallarg(int) len;
|
|
syscallarg(int) prot;
|
|
syscallarg(u_int) flags;
|
|
syscallarg(int) fd;
|
|
syscallarg(long) pos;
|
|
};
|
|
|
|
struct sun_setpgid_args {
|
|
syscallarg(int) pid;
|
|
syscallarg(int) pgid;
|
|
};
|
|
|
|
struct sun_wait3_args {
|
|
syscallarg(int *) status;
|
|
syscallarg(int) options;
|
|
syscallarg(struct rusage *) rusage;
|
|
};
|
|
|
|
struct sun_setsockopt_args {
|
|
syscallarg(int) s;
|
|
syscallarg(int) level;
|
|
syscallarg(int) name;
|
|
syscallarg(caddr_t) val;
|
|
syscallarg(int) valsize;
|
|
};
|
|
|
|
struct ultrix_sigcleanup_args {
|
|
syscallarg(struct sigcontext *) sigcntxp;
|
|
};
|
|
|
|
struct sun_nfssvc_args {
|
|
syscallarg(int) fd;
|
|
};
|
|
|
|
struct sun_statfs_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(struct sunos_statfs *) buf;
|
|
};
|
|
|
|
struct sun_fstatfs_args {
|
|
syscallarg(int) fd;
|
|
syscallarg(struct sunos_statfs *) buf;
|
|
};
|
|
|
|
struct sun_unmount_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(int) flags;
|
|
};
|
|
|
|
struct sun_quotactl_args {
|
|
syscallarg(int) cmd;
|
|
syscallarg(char *) special;
|
|
syscallarg(int) uid;
|
|
syscallarg(caddr_t) addr;
|
|
};
|
|
|
|
struct sun_exportfs_args {
|
|
syscallarg(char *) path;
|
|
syscallarg(char *) ex;
|
|
};
|
|
|
|
struct sun_uname_args {
|
|
syscallarg(struct sunos_utsname *) name;
|
|
};
|
|
|
|
struct sun_ustat_args {
|
|
syscallarg(int) dev;
|
|
syscallarg(struct sunos_ustat *) buf;
|
|
};
|
|
|
|
struct sun_sigpending_args {
|
|
syscallarg(int *) mask;
|
|
};
|
|
|
|
struct ultrix_getsysinfo_args {
|
|
syscallarg(unsigned) op;
|
|
syscallarg(char *) buffer;
|
|
syscallarg(unsigned) nbytes;
|
|
syscallarg(int *) start;
|
|
syscallarg(char *) arg;
|
|
};
|
|
|
|
struct ultrix_setsysinfo_args {
|
|
syscallarg(unsigned) op;
|
|
syscallarg(char *) buffer;
|
|
syscallarg(unsigned) nbytes;
|
|
syscallarg(unsigned) arg;
|
|
syscallarg(unsigned) flag;
|
|
};
|
|
|
|
#undef syscallarg
|