ibcs2_xenix.h revision 83366
111397Sswallace/* 211397Sswallace * System call prototypes. 311397Sswallace * 411397Sswallace * DO NOT EDIT-- this file is automatically generated. 560290Sbde * $FreeBSD: head/sys/i386/ibcs2/ibcs2_xenix.h 83366 2001-09-12 08:38:13Z julian $ 650482Speter * created from FreeBSD: src/sys/i386/ibcs2/syscalls.xenix,v 1.6 1999/08/28 00:44:02 peter Exp 711397Sswallace */ 811397Sswallace 911397Sswallace#ifndef _IBCS2_XENIX_H_ 1011397Sswallace#define _IBCS2_XENIX_H_ 1111397Sswallace 1224384Speter#include <sys/signal.h> 1311397Sswallace 1460290Sbde#include <sys/acl.h> 1560290Sbde 1636735Sdfrstruct proc; 1736735Sdfr 1883366Sjulianstruct thread; 1983366Sjulian 2036771Sbde#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 2136771Sbde 0 : sizeof(register_t) - sizeof(t)) 2236735Sdfr 2311397Sswallacestruct xenix_rdchk_args { 2436771Sbde int fd; char fd_[PAD_(int)]; 2511397Sswallace}; 2611397Sswallacestruct xenix_chsize_args { 2736771Sbde int fd; char fd_[PAD_(int)]; 2836771Sbde long size; char size_[PAD_(long)]; 2911397Sswallace}; 3011397Sswallacestruct xenix_ftime_args { 3136771Sbde struct timeb * tp; char tp_[PAD_(struct timeb *)]; 3211397Sswallace}; 3311397Sswallacestruct xenix_nap_args { 3436771Sbde int millisec; char millisec_[PAD_(int)]; 3511397Sswallace}; 3611397Sswallacestruct xenix_scoinfo_args { 3736735Sdfr register_t dummy; 3811397Sswallace}; 3914885Sswallacestruct xenix_eaccess_args { 4036771Sbde char * path; char path_[PAD_(char *)]; 4136771Sbde int flags; char flags_[PAD_(int)]; 4214885Sswallace}; 4311397Sswallacestruct ibcs2_sigaction_args { 4436771Sbde int sig; char sig_[PAD_(int)]; 4536771Sbde struct ibcs2_sigaction * act; char act_[PAD_(struct ibcs2_sigaction *)]; 4636771Sbde struct ibcs2_sigaction * oact; char oact_[PAD_(struct ibcs2_sigaction *)]; 4711397Sswallace}; 4811397Sswallacestruct ibcs2_sigprocmask_args { 4936771Sbde int how; char how_[PAD_(int)]; 5036771Sbde ibcs2_sigset_t * set; char set_[PAD_(ibcs2_sigset_t *)]; 5136771Sbde ibcs2_sigset_t * oset; char oset_[PAD_(ibcs2_sigset_t *)]; 5211397Sswallace}; 5311397Sswallacestruct ibcs2_sigpending_args { 5436771Sbde ibcs2_sigset_t * mask; char mask_[PAD_(ibcs2_sigset_t *)]; 5511397Sswallace}; 5611397Sswallacestruct ibcs2_sigsuspend_args { 5736771Sbde ibcs2_sigset_t * mask; char mask_[PAD_(ibcs2_sigset_t *)]; 5811397Sswallace}; 5911397Sswallacestruct ibcs2_getgroups_args { 6036771Sbde int gidsetsize; char gidsetsize_[PAD_(int)]; 6136771Sbde ibcs2_gid_t * gidset; char gidset_[PAD_(ibcs2_gid_t *)]; 6211397Sswallace}; 6311397Sswallacestruct ibcs2_setgroups_args { 6436771Sbde int gidsetsize; char gidsetsize_[PAD_(int)]; 6536771Sbde ibcs2_gid_t * gidset; char gidset_[PAD_(ibcs2_gid_t *)]; 6611397Sswallace}; 6711397Sswallacestruct ibcs2_sysconf_args { 6836771Sbde int name; char name_[PAD_(int)]; 6911397Sswallace}; 7011397Sswallacestruct ibcs2_pathconf_args { 7136771Sbde char * path; char path_[PAD_(char *)]; 7236771Sbde int name; char name_[PAD_(int)]; 7311397Sswallace}; 7411397Sswallacestruct ibcs2_fpathconf_args { 7536771Sbde int fd; char fd_[PAD_(int)]; 7636771Sbde int name; char name_[PAD_(int)]; 7711397Sswallace}; 7811397Sswallacestruct ibcs2_rename_args { 7936771Sbde char * from; char from_[PAD_(char *)]; 8036771Sbde char * to; char to_[PAD_(char *)]; 8111397Sswallace}; 8211397Sswallacestruct xenix_utsname_args { 8336771Sbde long addr; char addr_[PAD_(long)]; 8411397Sswallace}; 8583366Sjulianint xenix_rdchk __P((struct thread *, struct xenix_rdchk_args *)); 8683366Sjulianint xenix_chsize __P((struct thread *, struct xenix_chsize_args *)); 8783366Sjulianint xenix_ftime __P((struct thread *, struct xenix_ftime_args *)); 8883366Sjulianint xenix_nap __P((struct thread *, struct xenix_nap_args *)); 8983366Sjulianint xenix_scoinfo __P((struct thread *, struct xenix_scoinfo_args *)); 9083366Sjulianint xenix_eaccess __P((struct thread *, struct xenix_eaccess_args *)); 9183366Sjulianint ibcs2_sigaction __P((struct thread *, struct ibcs2_sigaction_args *)); 9283366Sjulianint ibcs2_sigprocmask __P((struct thread *, struct ibcs2_sigprocmask_args *)); 9383366Sjulianint ibcs2_sigpending __P((struct thread *, struct ibcs2_sigpending_args *)); 9483366Sjulianint ibcs2_sigsuspend __P((struct thread *, struct ibcs2_sigsuspend_args *)); 9583366Sjulianint ibcs2_getgroups __P((struct thread *, struct ibcs2_getgroups_args *)); 9683366Sjulianint ibcs2_setgroups __P((struct thread *, struct ibcs2_setgroups_args *)); 9783366Sjulianint ibcs2_sysconf __P((struct thread *, struct ibcs2_sysconf_args *)); 9883366Sjulianint ibcs2_pathconf __P((struct thread *, struct ibcs2_pathconf_args *)); 9983366Sjulianint ibcs2_fpathconf __P((struct thread *, struct ibcs2_fpathconf_args *)); 10083366Sjulianint ibcs2_rename __P((struct thread *, struct ibcs2_rename_args *)); 10183366Sjulianint xenix_utsname __P((struct thread *, struct xenix_utsname_args *)); 10211397Sswallace 10336735Sdfr#ifdef COMPAT_43 10436735Sdfr 10536735Sdfr 10636735Sdfr#endif /* COMPAT_43 */ 10736735Sdfr 10836735Sdfr#undef PAD_ 10936735Sdfr 11011397Sswallace#endif /* !_IBCS2_XENIX_H_ */ 111