syscall messaging 3: Expand the 'header' that goes in front of the syscall
[dragonfly.git] / sys / emulation / ibcs2 / i386 / ibcs2_xenix.h
CommitLineData
984263bc
MD
1/*
2 * System call prototypes.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
c7114eea
MD
5 * $DragonFly: src/sys/emulation/ibcs2/i386/Attic/ibcs2_xenix.h,v 1.5 2003/07/30 00:19:14 dillon Exp $
6 * created from DragonFly: src/sys/i386/ibcs2/syscalls.xenix,v 1.2 2003/06/17 04:28:35 dillon Exp
984263bc
MD
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
c7114eea
MD
16#include <sys/msgport.h>
17
18#include <sys/sysmsg.h>
19
984263bc
MD
20#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
21 0 : sizeof(register_t) - sizeof(t))
22
23struct xenix_rdchk_args {
c7114eea 24 union sysmsg sysmsg;
984263bc
MD
25 int fd; char fd_[PAD_(int)];
26};
27struct xenix_chsize_args {
c7114eea 28 union sysmsg sysmsg;
984263bc
MD
29 int fd; char fd_[PAD_(int)];
30 long size; char size_[PAD_(long)];
31};
32struct xenix_ftime_args {
c7114eea 33 union sysmsg sysmsg;
984263bc
MD
34 struct timeb * tp; char tp_[PAD_(struct timeb *)];
35};
36struct xenix_nap_args {
c7114eea 37 union sysmsg sysmsg;
984263bc
MD
38 int millisec; char millisec_[PAD_(int)];
39};
40struct xenix_scoinfo_args {
c7114eea 41 union sysmsg sysmsg;
984263bc
MD
42 register_t dummy;
43};
44struct xenix_eaccess_args {
c7114eea 45 union sysmsg sysmsg;
984263bc
MD
46 char * path; char path_[PAD_(char *)];
47 int flags; char flags_[PAD_(int)];
48};
49struct ibcs2_sigaction_args {
c7114eea 50 union sysmsg sysmsg;
984263bc
MD
51 int sig; char sig_[PAD_(int)];
52 struct ibcs2_sigaction * act; char act_[PAD_(struct ibcs2_sigaction *)];
53 struct ibcs2_sigaction * oact; char oact_[PAD_(struct ibcs2_sigaction *)];
54};
55struct ibcs2_sigprocmask_args {
c7114eea 56 union sysmsg sysmsg;
984263bc
MD
57 int how; char how_[PAD_(int)];
58 ibcs2_sigset_t * set; char set_[PAD_(ibcs2_sigset_t *)];
59 ibcs2_sigset_t * oset; char oset_[PAD_(ibcs2_sigset_t *)];
60};
61struct ibcs2_sigpending_args {
c7114eea 62 union sysmsg sysmsg;
984263bc
MD
63 ibcs2_sigset_t * mask; char mask_[PAD_(ibcs2_sigset_t *)];
64};
65struct ibcs2_sigsuspend_args {
c7114eea 66 union sysmsg sysmsg;
984263bc
MD
67 ibcs2_sigset_t * mask; char mask_[PAD_(ibcs2_sigset_t *)];
68};
69struct ibcs2_getgroups_args {
c7114eea 70 union sysmsg sysmsg;
984263bc
MD
71 int gidsetsize; char gidsetsize_[PAD_(int)];
72 ibcs2_gid_t * gidset; char gidset_[PAD_(ibcs2_gid_t *)];
73};
74struct ibcs2_setgroups_args {
c7114eea 75 union sysmsg sysmsg;
984263bc
MD
76 int gidsetsize; char gidsetsize_[PAD_(int)];
77 ibcs2_gid_t * gidset; char gidset_[PAD_(ibcs2_gid_t *)];
78};
79struct ibcs2_sysconf_args {
c7114eea 80 union sysmsg sysmsg;
984263bc
MD
81 int name; char name_[PAD_(int)];
82};
83struct ibcs2_pathconf_args {
c7114eea 84 union sysmsg sysmsg;
984263bc
MD
85 char * path; char path_[PAD_(char *)];
86 int name; char name_[PAD_(int)];
87};
88struct ibcs2_fpathconf_args {
c7114eea 89 union sysmsg sysmsg;
984263bc
MD
90 int fd; char fd_[PAD_(int)];
91 int name; char name_[PAD_(int)];
92};
93struct ibcs2_rename_args {
c7114eea 94 union sysmsg sysmsg;
984263bc
MD
95 char * from; char from_[PAD_(char *)];
96 char * to; char to_[PAD_(char *)];
97};
98struct xenix_utsname_args {
c7114eea 99 union sysmsg sysmsg;
984263bc
MD
100 long addr; char addr_[PAD_(long)];
101};
c7114eea
MD
102
103#ifdef _KERNEL
104
41c20dac
MD
105int xenix_rdchk __P((struct xenix_rdchk_args *));
106int xenix_chsize __P((struct xenix_chsize_args *));
107int xenix_ftime __P((struct xenix_ftime_args *));
108int xenix_nap __P((struct xenix_nap_args *));
109int xenix_scoinfo __P((struct xenix_scoinfo_args *));
110int xenix_eaccess __P((struct xenix_eaccess_args *));
111int ibcs2_sigaction __P((struct ibcs2_sigaction_args *));
112int ibcs2_sigprocmask __P((struct ibcs2_sigprocmask_args *));
113int ibcs2_sigpending __P((struct ibcs2_sigpending_args *));
114int ibcs2_sigsuspend __P((struct ibcs2_sigsuspend_args *));
115int ibcs2_getgroups __P((struct ibcs2_getgroups_args *));
116int ibcs2_setgroups __P((struct ibcs2_setgroups_args *));
117int ibcs2_sysconf __P((struct ibcs2_sysconf_args *));
118int ibcs2_pathconf __P((struct ibcs2_pathconf_args *));
119int ibcs2_fpathconf __P((struct ibcs2_fpathconf_args *));
120int ibcs2_rename __P((struct ibcs2_rename_args *));
121int xenix_utsname __P((struct xenix_utsname_args *));
984263bc 122
c7114eea
MD
123#endif /* _KERNEL */
124
984263bc
MD
125#ifdef COMPAT_43
126
127
c7114eea
MD
128#ifdef _KERNEL
129
130
131#endif /* _KERNEL */
132
984263bc
MD
133#endif /* COMPAT_43 */
134
135#undef PAD_
136
137#endif /* !_IBCS2_XENIX_H_ */