ibcs2_xenix.h revision 50482
111397Sswallace/* 211397Sswallace * System call prototypes. 311397Sswallace * 411397Sswallace * DO NOT EDIT-- this file is automatically generated. 550482Speter * created from FreeBSD: src/sys/i386/ibcs2/syscalls.xenix,v 1.6 1999/08/28 00:44:02 peter Exp 611397Sswallace */ 711397Sswallace 811397Sswallace#ifndef _IBCS2_XENIX_H_ 911397Sswallace#define _IBCS2_XENIX_H_ 1011397Sswallace 1124384Speter#include <sys/signal.h> 1211397Sswallace 1336735Sdfrstruct proc; 1436735Sdfr 1536771Sbde#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 1636771Sbde 0 : sizeof(register_t) - sizeof(t)) 1736735Sdfr 1811397Sswallacestruct xenix_rdchk_args { 1936771Sbde int fd; char fd_[PAD_(int)]; 2011397Sswallace}; 2111397Sswallacestruct xenix_chsize_args { 2236771Sbde int fd; char fd_[PAD_(int)]; 2336771Sbde long size; char size_[PAD_(long)]; 2411397Sswallace}; 2511397Sswallacestruct xenix_ftime_args { 2636771Sbde struct timeb * tp; char tp_[PAD_(struct timeb *)]; 2711397Sswallace}; 2811397Sswallacestruct xenix_nap_args { 2936771Sbde int millisec; char millisec_[PAD_(int)]; 3011397Sswallace}; 3111397Sswallacestruct xenix_scoinfo_args { 3236735Sdfr register_t dummy; 3311397Sswallace}; 3414885Sswallacestruct xenix_eaccess_args { 3536771Sbde char * path; char path_[PAD_(char *)]; 3636771Sbde int flags; char flags_[PAD_(int)]; 3714885Sswallace}; 3811397Sswallacestruct ibcs2_sigaction_args { 3936771Sbde int sig; char sig_[PAD_(int)]; 4036771Sbde struct ibcs2_sigaction * act; char act_[PAD_(struct ibcs2_sigaction *)]; 4136771Sbde struct ibcs2_sigaction * oact; char oact_[PAD_(struct ibcs2_sigaction *)]; 4211397Sswallace}; 4311397Sswallacestruct ibcs2_sigprocmask_args { 4436771Sbde int how; char how_[PAD_(int)]; 4536771Sbde ibcs2_sigset_t * set; char set_[PAD_(ibcs2_sigset_t *)]; 4636771Sbde ibcs2_sigset_t * oset; char oset_[PAD_(ibcs2_sigset_t *)]; 4711397Sswallace}; 4811397Sswallacestruct ibcs2_sigpending_args { 4936771Sbde ibcs2_sigset_t * mask; char mask_[PAD_(ibcs2_sigset_t *)]; 5011397Sswallace}; 5111397Sswallacestruct ibcs2_sigsuspend_args { 5236771Sbde ibcs2_sigset_t * mask; char mask_[PAD_(ibcs2_sigset_t *)]; 5311397Sswallace}; 5411397Sswallacestruct ibcs2_getgroups_args { 5536771Sbde int gidsetsize; char gidsetsize_[PAD_(int)]; 5636771Sbde ibcs2_gid_t * gidset; char gidset_[PAD_(ibcs2_gid_t *)]; 5711397Sswallace}; 5811397Sswallacestruct ibcs2_setgroups_args { 5936771Sbde int gidsetsize; char gidsetsize_[PAD_(int)]; 6036771Sbde ibcs2_gid_t * gidset; char gidset_[PAD_(ibcs2_gid_t *)]; 6111397Sswallace}; 6211397Sswallacestruct ibcs2_sysconf_args { 6336771Sbde int name; char name_[PAD_(int)]; 6411397Sswallace}; 6511397Sswallacestruct ibcs2_pathconf_args { 6636771Sbde char * path; char path_[PAD_(char *)]; 6736771Sbde int name; char name_[PAD_(int)]; 6811397Sswallace}; 6911397Sswallacestruct ibcs2_fpathconf_args { 7036771Sbde int fd; char fd_[PAD_(int)]; 7136771Sbde int name; char name_[PAD_(int)]; 7211397Sswallace}; 7311397Sswallacestruct ibcs2_rename_args { 7436771Sbde char * from; char from_[PAD_(char *)]; 7536771Sbde char * to; char to_[PAD_(char *)]; 7611397Sswallace}; 7711397Sswallacestruct xenix_utsname_args { 7836771Sbde long addr; char addr_[PAD_(long)]; 7911397Sswallace}; 8030994Sphkint xenix_rdchk __P((struct proc *, struct xenix_rdchk_args *)); 8130994Sphkint xenix_chsize __P((struct proc *, struct xenix_chsize_args *)); 8230994Sphkint xenix_ftime __P((struct proc *, struct xenix_ftime_args *)); 8330994Sphkint xenix_nap __P((struct proc *, struct xenix_nap_args *)); 8430994Sphkint xenix_scoinfo __P((struct proc *, struct xenix_scoinfo_args *)); 8530994Sphkint xenix_eaccess __P((struct proc *, struct xenix_eaccess_args *)); 8630994Sphkint ibcs2_sigaction __P((struct proc *, struct ibcs2_sigaction_args *)); 8730994Sphkint ibcs2_sigprocmask __P((struct proc *, struct ibcs2_sigprocmask_args *)); 8830994Sphkint ibcs2_sigpending __P((struct proc *, struct ibcs2_sigpending_args *)); 8930994Sphkint ibcs2_sigsuspend __P((struct proc *, struct ibcs2_sigsuspend_args *)); 9030994Sphkint ibcs2_getgroups __P((struct proc *, struct ibcs2_getgroups_args *)); 9130994Sphkint ibcs2_setgroups __P((struct proc *, struct ibcs2_setgroups_args *)); 9230994Sphkint ibcs2_sysconf __P((struct proc *, struct ibcs2_sysconf_args *)); 9330994Sphkint ibcs2_pathconf __P((struct proc *, struct ibcs2_pathconf_args *)); 9430994Sphkint ibcs2_fpathconf __P((struct proc *, struct ibcs2_fpathconf_args *)); 9530994Sphkint ibcs2_rename __P((struct proc *, struct ibcs2_rename_args *)); 9630994Sphkint xenix_utsname __P((struct proc *, struct xenix_utsname_args *)); 9711397Sswallace 9836735Sdfr#ifdef COMPAT_43 9936735Sdfr 10036735Sdfr 10136735Sdfr#endif /* COMPAT_43 */ 10236735Sdfr 10336735Sdfr#undef PAD_ 10436735Sdfr 10511397Sswallace#endif /* !_IBCS2_XENIX_H_ */ 106