2 * System call prototypes.
4 * DO NOT EDIT-- this file is automatically generated.
5 * created from Id: syscalls.xenix,v 1.5 1997/04/09 15:44:47 bde Exp
8 #ifndef _IBCS2_XENIX_H_
9 #define _IBCS2_XENIX_H_
11 #include <sys/signal.h>
15 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
16 0 : sizeof(register_t) - sizeof(t))
18 struct xenix_rdchk_args {
19 int fd; char fd_[PAD_(int)];
21 struct xenix_chsize_args {
22 int fd; char fd_[PAD_(int)];
23 long size; char size_[PAD_(long)];
25 struct xenix_ftime_args {
26 struct timeb * tp; char tp_[PAD_(struct timeb *)];
28 struct xenix_nap_args {
29 int millisec; char millisec_[PAD_(int)];
31 struct xenix_scoinfo_args {
34 struct xenix_eaccess_args {
35 char * path; char path_[PAD_(char *)];
36 int flags; char flags_[PAD_(int)];
38 struct ibcs2_sigaction_args {
39 int sig; char sig_[PAD_(int)];
40 struct ibcs2_sigaction * act; char act_[PAD_(struct ibcs2_sigaction *)];
41 struct ibcs2_sigaction * oact; char oact_[PAD_(struct ibcs2_sigaction *)];
43 struct ibcs2_sigprocmask_args {
44 int how; char how_[PAD_(int)];
45 ibcs2_sigset_t * set; char set_[PAD_(ibcs2_sigset_t *)];
46 ibcs2_sigset_t * oset; char oset_[PAD_(ibcs2_sigset_t *)];
48 struct ibcs2_sigpending_args {
49 ibcs2_sigset_t * mask; char mask_[PAD_(ibcs2_sigset_t *)];
51 struct ibcs2_sigsuspend_args {
52 ibcs2_sigset_t * mask; char mask_[PAD_(ibcs2_sigset_t *)];
54 struct ibcs2_getgroups_args {
55 int gidsetsize; char gidsetsize_[PAD_(int)];
56 ibcs2_gid_t * gidset; char gidset_[PAD_(ibcs2_gid_t *)];
58 struct ibcs2_setgroups_args {
59 int gidsetsize; char gidsetsize_[PAD_(int)];
60 ibcs2_gid_t * gidset; char gidset_[PAD_(ibcs2_gid_t *)];
62 struct ibcs2_sysconf_args {
63 int name; char name_[PAD_(int)];
65 struct ibcs2_pathconf_args {
66 char * path; char path_[PAD_(char *)];
67 int name; char name_[PAD_(int)];
69 struct ibcs2_fpathconf_args {
70 int fd; char fd_[PAD_(int)];
71 int name; char name_[PAD_(int)];
73 struct ibcs2_rename_args {
74 char * from; char from_[PAD_(char *)];
75 char * to; char to_[PAD_(char *)];
77 struct xenix_utsname_args {
78 long addr; char addr_[PAD_(long)];
80 int xenix_rdchk __P((struct proc *, struct xenix_rdchk_args *));
81 int xenix_chsize __P((struct proc *, struct xenix_chsize_args *));
82 int xenix_ftime __P((struct proc *, struct xenix_ftime_args *));
83 int xenix_nap __P((struct proc *, struct xenix_nap_args *));
84 int xenix_scoinfo __P((struct proc *, struct xenix_scoinfo_args *));
85 int xenix_eaccess __P((struct proc *, struct xenix_eaccess_args *));
86 int ibcs2_sigaction __P((struct proc *, struct ibcs2_sigaction_args *));
87 int ibcs2_sigprocmask __P((struct proc *, struct ibcs2_sigprocmask_args *));
88 int ibcs2_sigpending __P((struct proc *, struct ibcs2_sigpending_args *));
89 int ibcs2_sigsuspend __P((struct proc *, struct ibcs2_sigsuspend_args *));
90 int ibcs2_getgroups __P((struct proc *, struct ibcs2_getgroups_args *));
91 int ibcs2_setgroups __P((struct proc *, struct ibcs2_setgroups_args *));
92 int ibcs2_sysconf __P((struct proc *, struct ibcs2_sysconf_args *));
93 int ibcs2_pathconf __P((struct proc *, struct ibcs2_pathconf_args *));
94 int ibcs2_fpathconf __P((struct proc *, struct ibcs2_fpathconf_args *));
95 int ibcs2_rename __P((struct proc *, struct ibcs2_rename_args *));
96 int xenix_utsname __P((struct proc *, struct xenix_utsname_args *));
101 #endif /* COMPAT_43 */
105 #endif /* !_IBCS2_XENIX_H_ */