1 /*
2 * System call prototypes.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD$
6 * created from FreeBSD: src/sys/i386/ibcs2/syscalls.xenix,v 1.6 1999/08/28 00:44:02 peter Exp
7 */
8
9 #ifndef _IBCS2_XENIX_H_
10 #define _IBCS2_XENIX_H_
11
12 #include <sys/signal.h>
13
14 #include <sys/acl.h>
15
16 struct proc;
17
18 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
19 0 : sizeof(register_t) - sizeof(t))
20
21 struct xenix_rdchk_args {
22 int fd; char fd_[PAD_(int)];
23 };
24 struct xenix_chsize_args {
25 int fd; char fd_[PAD_(int)];
26 long size; char size_[PAD_(long)];
27 };
28 struct xenix_ftime_args {
29 struct timeb * tp; char tp_[PAD_(struct timeb *)];
30 };
31 struct xenix_nap_args {
32 int millisec; char millisec_[PAD_(int)];
33 };
34 struct xenix_scoinfo_args {
35 register_t dummy;
36 };
37 struct xenix_eaccess_args {
38 char * path; char path_[PAD_(char *)];
39 int flags; char flags_[PAD_(int)];
40 };
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 *)];
45 };
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 *)];
50 };
51 struct ibcs2_sigpending_args {
52 ibcs2_sigset_t * mask; char mask_[PAD_(ibcs2_sigset_t *)];
53 };
54 struct ibcs2_sigsuspend_args {
55 ibcs2_sigset_t * mask; char mask_[PAD_(ibcs2_sigset_t *)];
56 };
57 struct ibcs2_getgroups_args {
58 int gidsetsize; char gidsetsize_[PAD_(int)];
59 ibcs2_gid_t * gidset; char gidset_[PAD_(ibcs2_gid_t *)];
60 };
61 struct ibcs2_setgroups_args {
62 int gidsetsize; char gidsetsize_[PAD_(int)];
63 ibcs2_gid_t * gidset; char gidset_[PAD_(ibcs2_gid_t *)];
64 };
65 struct ibcs2_sysconf_args {
66 int name; char name_[PAD_(int)];
67 };
68 struct ibcs2_pathconf_args {
69 char * path; char path_[PAD_(char *)];
70 int name; char name_[PAD_(int)];
71 };
72 struct ibcs2_fpathconf_args {
73 int fd; char fd_[PAD_(int)];
74 int name; char name_[PAD_(int)];
75 };
76 struct ibcs2_rename_args {
77 char * from; char from_[PAD_(char *)];
78 char * to; char to_[PAD_(char *)];
79 };
80 struct xenix_utsname_args {
81 long addr; char addr_[PAD_(long)];
82 };
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 *));
100
101 #ifdef COMPAT_43
102
103
104 #endif /* COMPAT_43 */
105
106 #undef PAD_
107
108 #endif /* !_IBCS2_XENIX_H_ */
Cache object: 458357662909a5f5213c665773e20543
|