1 /*
2 * System call prototypes.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD: releng/5.0/sys/i386/ibcs2/ibcs2_xenix.h 92761 2002-03-20 05:48:58Z alfred $
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 struct thread;
19
20 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
21 0 : sizeof(register_t) - sizeof(t))
22
23 struct xenix_rdchk_args {
24 int fd; char fd_[PAD_(int)];
25 };
26 struct xenix_chsize_args {
27 int fd; char fd_[PAD_(int)];
28 long size; char size_[PAD_(long)];
29 };
30 struct xenix_ftime_args {
31 struct timeb * tp; char tp_[PAD_(struct timeb *)];
32 };
33 struct xenix_nap_args {
34 int millisec; char millisec_[PAD_(int)];
35 };
36 struct xenix_scoinfo_args {
37 register_t dummy;
38 };
39 struct xenix_eaccess_args {
40 char * path; char path_[PAD_(char *)];
41 int flags; char flags_[PAD_(int)];
42 };
43 struct ibcs2_sigaction_args {
44 int sig; char sig_[PAD_(int)];
45 struct ibcs2_sigaction * act; char act_[PAD_(struct ibcs2_sigaction *)];
46 struct ibcs2_sigaction * oact; char oact_[PAD_(struct ibcs2_sigaction *)];
47 };
48 struct ibcs2_sigprocmask_args {
49 int how; char how_[PAD_(int)];
50 ibcs2_sigset_t * set; char set_[PAD_(ibcs2_sigset_t *)];
51 ibcs2_sigset_t * oset; char oset_[PAD_(ibcs2_sigset_t *)];
52 };
53 struct ibcs2_sigpending_args {
54 ibcs2_sigset_t * mask; char mask_[PAD_(ibcs2_sigset_t *)];
55 };
56 struct ibcs2_sigsuspend_args {
57 ibcs2_sigset_t * mask; char mask_[PAD_(ibcs2_sigset_t *)];
58 };
59 struct ibcs2_getgroups_args {
60 int gidsetsize; char gidsetsize_[PAD_(int)];
61 ibcs2_gid_t * gidset; char gidset_[PAD_(ibcs2_gid_t *)];
62 };
63 struct ibcs2_setgroups_args {
64 int gidsetsize; char gidsetsize_[PAD_(int)];
65 ibcs2_gid_t * gidset; char gidset_[PAD_(ibcs2_gid_t *)];
66 };
67 struct ibcs2_sysconf_args {
68 int name; char name_[PAD_(int)];
69 };
70 struct ibcs2_pathconf_args {
71 char * path; char path_[PAD_(char *)];
72 int name; char name_[PAD_(int)];
73 };
74 struct ibcs2_fpathconf_args {
75 int fd; char fd_[PAD_(int)];
76 int name; char name_[PAD_(int)];
77 };
78 struct ibcs2_rename_args {
79 char * from; char from_[PAD_(char *)];
80 char * to; char to_[PAD_(char *)];
81 };
82 struct xenix_utsname_args {
83 long addr; char addr_[PAD_(long)];
84 };
85 int xenix_rdchk(struct thread *, struct xenix_rdchk_args *);
86 int xenix_chsize(struct thread *, struct xenix_chsize_args *);
87 int xenix_ftime(struct thread *, struct xenix_ftime_args *);
88 int xenix_nap(struct thread *, struct xenix_nap_args *);
89 int xenix_scoinfo(struct thread *, struct xenix_scoinfo_args *);
90 int xenix_eaccess(struct thread *, struct xenix_eaccess_args *);
91 int ibcs2_sigaction(struct thread *, struct ibcs2_sigaction_args *);
92 int ibcs2_sigprocmask(struct thread *, struct ibcs2_sigprocmask_args *);
93 int ibcs2_sigpending(struct thread *, struct ibcs2_sigpending_args *);
94 int ibcs2_sigsuspend(struct thread *, struct ibcs2_sigsuspend_args *);
95 int ibcs2_getgroups(struct thread *, struct ibcs2_getgroups_args *);
96 int ibcs2_setgroups(struct thread *, struct ibcs2_setgroups_args *);
97 int ibcs2_sysconf(struct thread *, struct ibcs2_sysconf_args *);
98 int ibcs2_pathconf(struct thread *, struct ibcs2_pathconf_args *);
99 int ibcs2_fpathconf(struct thread *, struct ibcs2_fpathconf_args *);
100 int ibcs2_rename(struct thread *, struct ibcs2_rename_args *);
101 int xenix_utsname(struct thread *, struct xenix_utsname_args *);
102
103 #ifdef COMPAT_43
104
105
106 #endif /* COMPAT_43 */
107
108 #undef PAD_
109
110 #endif /* !_IBCS2_XENIX_H_ */
Cache object: 4071622b3f946d3a3eb2ea0d430fe2a4
|