summaryrefslogtreecommitdiffstats
path: root/sys/i386/ibcs2/ibcs2_xenix.h
blob: f83f268eade6dcff67fc0f8759315619d32b997e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/*
 * System call prototypes.
 *
 * DO NOT EDIT-- this file is automatically generated.
 * created from	Id: syscalls.xenix,v 1.5 1997/04/09 15:44:47 bde Exp 
 */

#ifndef _IBCS2_XENIX_H_
#define	_IBCS2_XENIX_H_

#include <sys/signal.h>

struct proc;

#define PAD_(t) sizeof(register_t) <= sizeof(t) ? \
		0 : sizeof(register_t) - sizeof(t)

struct	xenix_rdchk_args {
	int fd;	char fd_[PAD_(int)];
};
struct	xenix_chsize_args {
	int fd;	char fd_[PAD_(int)];
	long size;	char size_[PAD_(long)];
};
struct	xenix_ftime_args {
	struct timeb * tp;	char tp_[PAD_(struct timeb *)];
};
struct	xenix_nap_args {
	int millisec;	char millisec_[PAD_(int)];
};
struct	xenix_scoinfo_args {
	register_t dummy;
};
struct	xenix_eaccess_args {
	char * path;	char path_[PAD_(char *)];
	int flags;	char flags_[PAD_(int)];
};
struct	ibcs2_sigaction_args {
	int sig;	char sig_[PAD_(int)];
	struct ibcs2_sigaction * act;	char act_[PAD_(struct ibcs2_sigaction *)];
	struct ibcs2_sigaction * oact;	char oact_[PAD_(struct ibcs2_sigaction *)];
};
struct	ibcs2_sigprocmask_args {
	int how;	char how_[PAD_(int)];
	ibcs2_sigset_t * set;	char set_[PAD_(ibcs2_sigset_t *)];
	ibcs2_sigset_t * oset;	char oset_[PAD_(ibcs2_sigset_t *)];
};
struct	ibcs2_sigpending_args {
	ibcs2_sigset_t * mask;	char mask_[PAD_(ibcs2_sigset_t *)];
};
struct	ibcs2_sigsuspend_args {
	ibcs2_sigset_t * mask;	char mask_[PAD_(ibcs2_sigset_t *)];
};
struct	ibcs2_getgroups_args {
	int gidsetsize;	char gidsetsize_[PAD_(int)];
	ibcs2_gid_t * gidset;	char gidset_[PAD_(ibcs2_gid_t *)];
};
struct	ibcs2_setgroups_args {
	int gidsetsize;	char gidsetsize_[PAD_(int)];
	ibcs2_gid_t * gidset;	char gidset_[PAD_(ibcs2_gid_t *)];
};
struct	ibcs2_sysconf_args {
	int name;	char name_[PAD_(int)];
};
struct	ibcs2_pathconf_args {
	char * path;	char path_[PAD_(char *)];
	int name;	char name_[PAD_(int)];
};
struct	ibcs2_fpathconf_args {
	int fd;	char fd_[PAD_(int)];
	int name;	char name_[PAD_(int)];
};
struct	ibcs2_rename_args {
	char * from;	char from_[PAD_(char *)];
	char * to;	char to_[PAD_(char *)];
};
struct	xenix_utsname_args {
	long addr;	char addr_[PAD_(long)];
};
int	xenix_rdchk __P((struct proc *, struct xenix_rdchk_args *));
int	xenix_chsize __P((struct proc *, struct xenix_chsize_args *));
int	xenix_ftime __P((struct proc *, struct xenix_ftime_args *));
int	xenix_nap __P((struct proc *, struct xenix_nap_args *));
int	xenix_scoinfo __P((struct proc *, struct xenix_scoinfo_args *));
int	xenix_eaccess __P((struct proc *, struct xenix_eaccess_args *));
int	ibcs2_sigaction __P((struct proc *, struct ibcs2_sigaction_args *));
int	ibcs2_sigprocmask __P((struct proc *, struct ibcs2_sigprocmask_args *));
int	ibcs2_sigpending __P((struct proc *, struct ibcs2_sigpending_args *));
int	ibcs2_sigsuspend __P((struct proc *, struct ibcs2_sigsuspend_args *));
int	ibcs2_getgroups __P((struct proc *, struct ibcs2_getgroups_args *));
int	ibcs2_setgroups __P((struct proc *, struct ibcs2_setgroups_args *));
int	ibcs2_sysconf __P((struct proc *, struct ibcs2_sysconf_args *));
int	ibcs2_pathconf __P((struct proc *, struct ibcs2_pathconf_args *));
int	ibcs2_fpathconf __P((struct proc *, struct ibcs2_fpathconf_args *));
int	ibcs2_rename __P((struct proc *, struct ibcs2_rename_args *));
int	xenix_utsname __P((struct proc *, struct xenix_utsname_args *));

#ifdef COMPAT_43


#endif /* COMPAT_43 */

#undef PAD_

#endif /* !_IBCS2_XENIX_H_ */
OpenPOWER on IntegriCloud