Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / sys / emulation / ibcs2 / i386 / ibcs2_xenix.h
1 /*
2  * System call prototypes.
3  *
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  * $DragonFly: src/sys/emulation/ibcs2/i386/Attic/ibcs2_xenix.h,v 1.2 2003/06/17 04:28:35 dillon Exp $
7  * created from FreeBSD: src/sys/i386/ibcs2/syscalls.xenix,v 1.6 1999/08/28 00:44:02 peter Exp 
8  */
9
10 #ifndef _IBCS2_XENIX_H_
11 #define _IBCS2_XENIX_H_
12
13 #include <sys/signal.h>
14
15 #include <sys/acl.h>
16
17 struct proc;
18
19 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
20                 0 : sizeof(register_t) - sizeof(t))
21
22 struct  xenix_rdchk_args {
23         int     fd;     char fd_[PAD_(int)];
24 };
25 struct  xenix_chsize_args {
26         int     fd;     char fd_[PAD_(int)];
27         long    size;   char size_[PAD_(long)];
28 };
29 struct  xenix_ftime_args {
30         struct timeb *  tp;     char tp_[PAD_(struct timeb *)];
31 };
32 struct  xenix_nap_args {
33         int     millisec;       char millisec_[PAD_(int)];
34 };
35 struct  xenix_scoinfo_args {
36         register_t dummy;
37 };
38 struct  xenix_eaccess_args {
39         char *  path;   char path_[PAD_(char *)];
40         int     flags;  char flags_[PAD_(int)];
41 };
42 struct  ibcs2_sigaction_args {
43         int     sig;    char sig_[PAD_(int)];
44         struct ibcs2_sigaction *        act;    char act_[PAD_(struct ibcs2_sigaction *)];
45         struct ibcs2_sigaction *        oact;   char oact_[PAD_(struct ibcs2_sigaction *)];
46 };
47 struct  ibcs2_sigprocmask_args {
48         int     how;    char how_[PAD_(int)];
49         ibcs2_sigset_t *        set;    char set_[PAD_(ibcs2_sigset_t *)];
50         ibcs2_sigset_t *        oset;   char oset_[PAD_(ibcs2_sigset_t *)];
51 };
52 struct  ibcs2_sigpending_args {
53         ibcs2_sigset_t *        mask;   char mask_[PAD_(ibcs2_sigset_t *)];
54 };
55 struct  ibcs2_sigsuspend_args {
56         ibcs2_sigset_t *        mask;   char mask_[PAD_(ibcs2_sigset_t *)];
57 };
58 struct  ibcs2_getgroups_args {
59         int     gidsetsize;     char gidsetsize_[PAD_(int)];
60         ibcs2_gid_t *   gidset; char gidset_[PAD_(ibcs2_gid_t *)];
61 };
62 struct  ibcs2_setgroups_args {
63         int     gidsetsize;     char gidsetsize_[PAD_(int)];
64         ibcs2_gid_t *   gidset; char gidset_[PAD_(ibcs2_gid_t *)];
65 };
66 struct  ibcs2_sysconf_args {
67         int     name;   char name_[PAD_(int)];
68 };
69 struct  ibcs2_pathconf_args {
70         char *  path;   char path_[PAD_(char *)];
71         int     name;   char name_[PAD_(int)];
72 };
73 struct  ibcs2_fpathconf_args {
74         int     fd;     char fd_[PAD_(int)];
75         int     name;   char name_[PAD_(int)];
76 };
77 struct  ibcs2_rename_args {
78         char *  from;   char from_[PAD_(char *)];
79         char *  to;     char to_[PAD_(char *)];
80 };
81 struct  xenix_utsname_args {
82         long    addr;   char addr_[PAD_(long)];
83 };
84 int     xenix_rdchk __P((struct proc *, struct xenix_rdchk_args *));
85 int     xenix_chsize __P((struct proc *, struct xenix_chsize_args *));
86 int     xenix_ftime __P((struct proc *, struct xenix_ftime_args *));
87 int     xenix_nap __P((struct proc *, struct xenix_nap_args *));
88 int     xenix_scoinfo __P((struct proc *, struct xenix_scoinfo_args *));
89 int     xenix_eaccess __P((struct proc *, struct xenix_eaccess_args *));
90 int     ibcs2_sigaction __P((struct proc *, struct ibcs2_sigaction_args *));
91 int     ibcs2_sigprocmask __P((struct proc *, struct ibcs2_sigprocmask_args *));
92 int     ibcs2_sigpending __P((struct proc *, struct ibcs2_sigpending_args *));
93 int     ibcs2_sigsuspend __P((struct proc *, struct ibcs2_sigsuspend_args *));
94 int     ibcs2_getgroups __P((struct proc *, struct ibcs2_getgroups_args *));
95 int     ibcs2_setgroups __P((struct proc *, struct ibcs2_setgroups_args *));
96 int     ibcs2_sysconf __P((struct proc *, struct ibcs2_sysconf_args *));
97 int     ibcs2_pathconf __P((struct proc *, struct ibcs2_pathconf_args *));
98 int     ibcs2_fpathconf __P((struct proc *, struct ibcs2_fpathconf_args *));
99 int     ibcs2_rename __P((struct proc *, struct ibcs2_rename_args *));
100 int     xenix_utsname __P((struct proc *, struct xenix_utsname_args *));
101
102 #ifdef COMPAT_43
103
104
105 #endif /* COMPAT_43 */
106
107 #undef PAD_
108
109 #endif /* !_IBCS2_XENIX_H_ */