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