2 * System call prototypes.
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD: src/sys/i386/ibcs2/ibcs2_xenix.h,v 1.9.2.2 2000/08/08 23:28:16 peter Exp $
6 * created from FreeBSD: src/sys/i386/ibcs2/syscalls.xenix,v 1.6 1999/08/28 00:44:02 peter Exp
9 #ifndef _IBCS2_XENIX_H_
10 #define _IBCS2_XENIX_H_
12 #include <sys/signal.h>
18 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
19 0 : sizeof(register_t) - sizeof(t))
21 struct xenix_rdchk_args {
22 int fd; char fd_[PAD_(int)];
24 struct xenix_chsize_args {
25 int fd; char fd_[PAD_(int)];
26 long size; char size_[PAD_(long)];
28 struct xenix_ftime_args {
29 struct timeb * tp; char tp_[PAD_(struct timeb *)];
31 struct xenix_nap_args {
32 int millisec; char millisec_[PAD_(int)];
34 struct xenix_scoinfo_args {
37 struct xenix_eaccess_args {
38 char * path; char path_[PAD_(char *)];
39 int flags; char flags_[PAD_(int)];
41 struct ibcs2_sigaction_args {
42 int sig; char sig_[PAD_(int)];
43 struct ibcs2_sigaction * act; char act_[PAD_(struct ibcs2_sigaction *)];
44 struct ibcs2_sigaction * oact; char oact_[PAD_(struct ibcs2_sigaction *)];
46 struct ibcs2_sigprocmask_args {
47 int how; char how_[PAD_(int)];
48 ibcs2_sigset_t * set; char set_[PAD_(ibcs2_sigset_t *)];
49 ibcs2_sigset_t * oset; char oset_[PAD_(ibcs2_sigset_t *)];
51 struct ibcs2_sigpending_args {
52 ibcs2_sigset_t * mask; char mask_[PAD_(ibcs2_sigset_t *)];
54 struct ibcs2_sigsuspend_args {
55 ibcs2_sigset_t * mask; char mask_[PAD_(ibcs2_sigset_t *)];
57 struct ibcs2_getgroups_args {
58 int gidsetsize; char gidsetsize_[PAD_(int)];
59 ibcs2_gid_t * gidset; char gidset_[PAD_(ibcs2_gid_t *)];
61 struct ibcs2_setgroups_args {
62 int gidsetsize; char gidsetsize_[PAD_(int)];
63 ibcs2_gid_t * gidset; char gidset_[PAD_(ibcs2_gid_t *)];
65 struct ibcs2_sysconf_args {
66 int name; char name_[PAD_(int)];
68 struct ibcs2_pathconf_args {
69 char * path; char path_[PAD_(char *)];
70 int name; char name_[PAD_(int)];
72 struct ibcs2_fpathconf_args {
73 int fd; char fd_[PAD_(int)];
74 int name; char name_[PAD_(int)];
76 struct ibcs2_rename_args {
77 char * from; char from_[PAD_(char *)];
78 char * to; char to_[PAD_(char *)];
80 struct xenix_utsname_args {
81 long addr; char addr_[PAD_(long)];
83 int xenix_rdchk __P((struct proc *, struct xenix_rdchk_args *));
84 int xenix_chsize __P((struct proc *, struct xenix_chsize_args *));
85 int xenix_ftime __P((struct proc *, struct xenix_ftime_args *));
86 int xenix_nap __P((struct proc *, struct xenix_nap_args *));
87 int xenix_scoinfo __P((struct proc *, struct xenix_scoinfo_args *));
88 int xenix_eaccess __P((struct proc *, struct xenix_eaccess_args *));
89 int ibcs2_sigaction __P((struct proc *, struct ibcs2_sigaction_args *));
90 int ibcs2_sigprocmask __P((struct proc *, struct ibcs2_sigprocmask_args *));
91 int ibcs2_sigpending __P((struct proc *, struct ibcs2_sigpending_args *));
92 int ibcs2_sigsuspend __P((struct proc *, struct ibcs2_sigsuspend_args *));
93 int ibcs2_getgroups __P((struct proc *, struct ibcs2_getgroups_args *));
94 int ibcs2_setgroups __P((struct proc *, struct ibcs2_setgroups_args *));
95 int ibcs2_sysconf __P((struct proc *, struct ibcs2_sysconf_args *));
96 int ibcs2_pathconf __P((struct proc *, struct ibcs2_pathconf_args *));
97 int ibcs2_fpathconf __P((struct proc *, struct ibcs2_fpathconf_args *));
98 int ibcs2_rename __P((struct proc *, struct ibcs2_rename_args *));
99 int xenix_utsname __P((struct proc *, struct xenix_utsname_args *));
104 #endif /* COMPAT_43 */
108 #endif /* !_IBCS2_XENIX_H_ */