NetBSD/sys/compat/osf1/osf1_syscallargs.h
1995-02-13 21:40:43 +00:00

177 lines
3.1 KiB
C

/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.1 1995/02/13 21:39:10 cgd Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
struct osf1_mknod_args {
syscallarg(char *) path;
syscallarg(int) mode;
syscallarg(int) dev;
};
struct osf1_getfsstat_args {
syscallarg(struct osf1_statfs *) buf;
syscallarg(long) bufsize;
syscallarg(int) flags;
};
struct osf1_lseek_args {
syscallarg(int) fd;
syscallarg(off_t) offset;
syscallarg(int) whence;
};
struct osf1_mount_args {
syscallarg(int) type;
syscallarg(char *) path;
syscallarg(int) flags;
syscallarg(caddr_t) data;
};
struct osf1_unmount_args {
syscallarg(char *) path;
syscallarg(int) flags;
};
struct osf1_setuid_args {
syscallarg(uid_t) uid;
};
struct osf1_open_args {
syscallarg(char *) path;
syscallarg(int) flags;
syscallarg(int) mode;
};
struct osf1_ioctl_args {
syscallarg(int) fd;
syscallarg(int) com;
syscallarg(caddr_t) data;
};
struct osf1_reboot_args {
syscallarg(int) opt;
};
struct osf1_stat_args {
syscallarg(char *) path;
syscallarg(struct osf1_stat *) ub;
};
struct osf1_lstat_args {
syscallarg(char *) path;
syscallarg(struct osf1_stat *) ub;
};
struct osf1_mmap_args {
syscallarg(caddr_t) addr;
syscallarg(size_t) len;
syscallarg(int) prot;
syscallarg(int) flags;
syscallarg(int) fd;
syscallarg(off_t) pos;
};
struct osf1_fstat_args {
syscallarg(int) fd;
syscallarg(void *) sb;
};
struct osf1_fcntl_args {
syscallarg(int) fd;
syscallarg(int) cmd;
syscallarg(void *) arg;
};
struct osf1_socket_args {
syscallarg(int) domain;
syscallarg(int) type;
syscallarg(int) protocol;
};
struct osf1_readv_args {
syscallarg(int) fd;
syscallarg(struct osf1_iovec *) iovp;
syscallarg(u_int) iovcnt;
};
struct osf1_writev_args {
syscallarg(int) fd;
syscallarg(struct osf1_iovec *) iovp;
syscallarg(u_int) iovcnt;
};
struct osf1_truncate_args {
syscallarg(char *) path;
syscallarg(off_t) length;
};
struct osf1_ftruncate_args {
syscallarg(int) fd;
syscallarg(off_t) length;
};
struct osf1_setgid_args {
syscallarg(gid_t) gid;
};
struct osf1_sendto_args {
syscallarg(int) s;
syscallarg(caddr_t) buf;
syscallarg(size_t) len;
syscallarg(int) flags;
syscallarg(caddr_t) to;
syscallarg(int) tolen;
};
struct osf1_getrlimit_args {
syscallarg(u_int) which;
syscallarg(struct rlimit *) rlp;
};
struct osf1_setrlimit_args {
syscallarg(u_int) which;
syscallarg(struct rlimit *) rlp;
};
struct osf1_sigaction_args {
syscallarg(int) signum;
syscallarg(struct sigaction *) nsa;
syscallarg(struct sigaction *) osa;
};
struct osf1_statfs_args {
syscallarg(char *) path;
syscallarg(struct osf1_statfs *) buf;
syscallarg(int) len;
};
struct osf1_fstatfs_args {
syscallarg(int) fd;
syscallarg(struct osf1_statfs *) buf;
syscallarg(int) len;
};
struct osf1_getsid_args {
syscallarg(pid_t) pid;
};
struct osf1_usleep_thread_args {
syscallarg(struct timeval *) sleep;
syscallarg(struct timeval *) slept;
};
struct osf1_setsysinfo_args {
syscallarg(u_long) op;
syscallarg(caddr_t) buffer;
syscallarg(u_long) nbytes;
syscallarg(caddr_t) arg;
syscallarg(u_long) flag;
};
#undef syscallarg