331 lines
7.8 KiB
C
331 lines
7.8 KiB
C
/*
|
|
* System call prototypes.
|
|
*
|
|
* DO NOT EDIT-- this file is automatically generated.
|
|
* created from Id: syscalls.master,v 1.8 1997/04/09 15:44:46 bde Exp
|
|
*/
|
|
|
|
#ifndef _IBCS2_SYSPROTO_H_
|
|
#define _IBCS2_SYSPROTO_H_
|
|
|
|
#include <sys/signal.h>
|
|
|
|
struct ibcs2_read_args {
|
|
int fd;
|
|
char * buf;
|
|
u_int nbytes;
|
|
};
|
|
struct ibcs2_open_args {
|
|
char * path;
|
|
int flags;
|
|
int mode;
|
|
};
|
|
struct ibcs2_wait_args {
|
|
int a1;
|
|
int a2;
|
|
int a3;
|
|
};
|
|
struct ibcs2_creat_args {
|
|
char * path;
|
|
int mode;
|
|
};
|
|
struct ibcs2_unlink_args {
|
|
char * path;
|
|
};
|
|
struct ibcs2_execv_args {
|
|
char * path;
|
|
char ** argp;
|
|
};
|
|
struct ibcs2_chdir_args {
|
|
char * path;
|
|
};
|
|
struct ibcs2_time_args {
|
|
ibcs2_time_t * tp;
|
|
};
|
|
struct ibcs2_mknod_args {
|
|
char * path;
|
|
int mode;
|
|
int dev;
|
|
};
|
|
struct ibcs2_chmod_args {
|
|
char * path;
|
|
int mode;
|
|
};
|
|
struct ibcs2_chown_args {
|
|
char * path;
|
|
int uid;
|
|
int gid;
|
|
};
|
|
struct ibcs2_stat_args {
|
|
char * path;
|
|
struct ibcs2_stat * st;
|
|
};
|
|
struct ibcs2_lseek_args {
|
|
int fd;
|
|
long offset;
|
|
int whence;
|
|
};
|
|
struct ibcs2_mount_args {
|
|
char * special;
|
|
char * dir;
|
|
int flags;
|
|
int fstype;
|
|
char * data;
|
|
int len;
|
|
};
|
|
struct ibcs2_umount_args {
|
|
char * name;
|
|
};
|
|
struct ibcs2_setuid_args {
|
|
int uid;
|
|
};
|
|
struct ibcs2_stime_args {
|
|
long * timep;
|
|
};
|
|
struct ibcs2_alarm_args {
|
|
unsigned sec;
|
|
};
|
|
struct ibcs2_fstat_args {
|
|
int fd;
|
|
struct ibcs2_stat * st;
|
|
};
|
|
struct ibcs2_pause_args {
|
|
int dummy;
|
|
};
|
|
struct ibcs2_utime_args {
|
|
char * path;
|
|
struct ibcs2_utimbuf * buf;
|
|
};
|
|
struct ibcs2_stty_args {
|
|
int fd;
|
|
struct sgttyb * buf;
|
|
};
|
|
struct ibcs2_gtty_args {
|
|
int fd;
|
|
struct sgttyb * buf;
|
|
};
|
|
struct ibcs2_access_args {
|
|
char * path;
|
|
int flags;
|
|
};
|
|
struct ibcs2_nice_args {
|
|
int incr;
|
|
};
|
|
struct ibcs2_statfs_args {
|
|
char * path;
|
|
struct ibcs2_statfs * buf;
|
|
int len;
|
|
int fstype;
|
|
};
|
|
struct ibcs2_kill_args {
|
|
int pid;
|
|
int signo;
|
|
};
|
|
struct ibcs2_fstatfs_args {
|
|
int fd;
|
|
struct ibcs2_statfs * buf;
|
|
int len;
|
|
int fstype;
|
|
};
|
|
struct ibcs2_pgrpsys_args {
|
|
int type;
|
|
caddr_t dummy;
|
|
int pid;
|
|
int pgid;
|
|
};
|
|
struct ibcs2_xenix_args {
|
|
int a1;
|
|
int a2;
|
|
int a3;
|
|
int a4;
|
|
int a5;
|
|
};
|
|
struct ibcs2_times_args {
|
|
struct tms * tp;
|
|
};
|
|
struct ibcs2_plock_args {
|
|
int cmd;
|
|
};
|
|
struct ibcs2_setgid_args {
|
|
int gid;
|
|
};
|
|
struct ibcs2_sigsys_args {
|
|
int sig;
|
|
ibcs2_sig_t fp;
|
|
};
|
|
struct ibcs2_msgsys_args {
|
|
int which;
|
|
int a2;
|
|
int a3;
|
|
int a4;
|
|
int a5;
|
|
int a6;
|
|
};
|
|
struct ibcs2_sysi86_args {
|
|
int cmd;
|
|
int * arg;
|
|
};
|
|
struct ibcs2_shmsys_args {
|
|
int which;
|
|
int a2;
|
|
int a3;
|
|
int a4;
|
|
};
|
|
struct ibcs2_semsys_args {
|
|
int which;
|
|
int a2;
|
|
int a3;
|
|
int a4;
|
|
int a5;
|
|
};
|
|
struct ibcs2_ioctl_args {
|
|
int fd;
|
|
int cmd;
|
|
caddr_t data;
|
|
};
|
|
struct ibcs2_uadmin_args {
|
|
int cmd;
|
|
int func;
|
|
caddr_t data;
|
|
};
|
|
struct ibcs2_utssys_args {
|
|
int a1;
|
|
int a2;
|
|
int flag;
|
|
};
|
|
struct ibcs2_execve_args {
|
|
char * path;
|
|
char ** argp;
|
|
char ** envp;
|
|
};
|
|
struct ibcs2_fcntl_args {
|
|
int fd;
|
|
int cmd;
|
|
char * arg;
|
|
};
|
|
struct ibcs2_ulimit_args {
|
|
int cmd;
|
|
int newlimit;
|
|
};
|
|
struct ibcs2_rmdir_args {
|
|
char * path;
|
|
};
|
|
struct ibcs2_mkdir_args {
|
|
char * path;
|
|
int mode;
|
|
};
|
|
struct ibcs2_getdents_args {
|
|
int fd;
|
|
char * buf;
|
|
int nbytes;
|
|
};
|
|
struct ibcs2_sysfs_args {
|
|
int cmd;
|
|
caddr_t d1;
|
|
char * buf;
|
|
};
|
|
struct ibcs2_getmsg_args {
|
|
int fd;
|
|
struct ibcs2_stropts * ctl;
|
|
struct ibcs2_stropts * dat;
|
|
int * flags;
|
|
};
|
|
struct ibcs2_putmsg_args {
|
|
int fd;
|
|
struct ibcs2_stropts * ctl;
|
|
struct ibcs2_stropts * dat;
|
|
int flags;
|
|
};
|
|
struct ibcs2_poll_args {
|
|
struct ibcs2_poll * fds;
|
|
long nfds;
|
|
int timeout;
|
|
};
|
|
struct ibcs2_secure_args {
|
|
int cmd;
|
|
int a1;
|
|
int a2;
|
|
int a3;
|
|
int a4;
|
|
int a5;
|
|
};
|
|
struct ibcs2_symlink_args {
|
|
char * path;
|
|
char * link;
|
|
};
|
|
struct ibcs2_lstat_args {
|
|
char * path;
|
|
struct ibcs2_stat * st;
|
|
};
|
|
struct ibcs2_readlink_args {
|
|
char * path;
|
|
char * buf;
|
|
int count;
|
|
};
|
|
struct ibcs2_isc_args {
|
|
int dummy;
|
|
};
|
|
int ibcs2_read __P((struct proc *, struct ibcs2_read_args *, int []));
|
|
int ibcs2_open __P((struct proc *, struct ibcs2_open_args *, int []));
|
|
int ibcs2_wait __P((struct proc *, struct ibcs2_wait_args *, int []));
|
|
int ibcs2_creat __P((struct proc *, struct ibcs2_creat_args *, int []));
|
|
int ibcs2_unlink __P((struct proc *, struct ibcs2_unlink_args *, int []));
|
|
int ibcs2_execv __P((struct proc *, struct ibcs2_execv_args *, int []));
|
|
int ibcs2_chdir __P((struct proc *, struct ibcs2_chdir_args *, int []));
|
|
int ibcs2_time __P((struct proc *, struct ibcs2_time_args *, int []));
|
|
int ibcs2_mknod __P((struct proc *, struct ibcs2_mknod_args *, int []));
|
|
int ibcs2_chmod __P((struct proc *, struct ibcs2_chmod_args *, int []));
|
|
int ibcs2_chown __P((struct proc *, struct ibcs2_chown_args *, int []));
|
|
int ibcs2_stat __P((struct proc *, struct ibcs2_stat_args *, int []));
|
|
int ibcs2_lseek __P((struct proc *, struct ibcs2_lseek_args *, int []));
|
|
int ibcs2_mount __P((struct proc *, struct ibcs2_mount_args *, int []));
|
|
int ibcs2_umount __P((struct proc *, struct ibcs2_umount_args *, int []));
|
|
int ibcs2_setuid __P((struct proc *, struct ibcs2_setuid_args *, int []));
|
|
int ibcs2_stime __P((struct proc *, struct ibcs2_stime_args *, int []));
|
|
int ibcs2_alarm __P((struct proc *, struct ibcs2_alarm_args *, int []));
|
|
int ibcs2_fstat __P((struct proc *, struct ibcs2_fstat_args *, int []));
|
|
int ibcs2_pause __P((struct proc *, struct ibcs2_pause_args *, int []));
|
|
int ibcs2_utime __P((struct proc *, struct ibcs2_utime_args *, int []));
|
|
int ibcs2_stty __P((struct proc *, struct ibcs2_stty_args *, int []));
|
|
int ibcs2_gtty __P((struct proc *, struct ibcs2_gtty_args *, int []));
|
|
int ibcs2_access __P((struct proc *, struct ibcs2_access_args *, int []));
|
|
int ibcs2_nice __P((struct proc *, struct ibcs2_nice_args *, int []));
|
|
int ibcs2_statfs __P((struct proc *, struct ibcs2_statfs_args *, int []));
|
|
int ibcs2_kill __P((struct proc *, struct ibcs2_kill_args *, int []));
|
|
int ibcs2_fstatfs __P((struct proc *, struct ibcs2_fstatfs_args *, int []));
|
|
int ibcs2_pgrpsys __P((struct proc *, struct ibcs2_pgrpsys_args *, int []));
|
|
int ibcs2_xenix __P((struct proc *, struct ibcs2_xenix_args *, int []));
|
|
int ibcs2_times __P((struct proc *, struct ibcs2_times_args *, int []));
|
|
int ibcs2_plock __P((struct proc *, struct ibcs2_plock_args *, int []));
|
|
int ibcs2_setgid __P((struct proc *, struct ibcs2_setgid_args *, int []));
|
|
int ibcs2_sigsys __P((struct proc *, struct ibcs2_sigsys_args *, int []));
|
|
int ibcs2_msgsys __P((struct proc *, struct ibcs2_msgsys_args *, int []));
|
|
int ibcs2_sysi86 __P((struct proc *, struct ibcs2_sysi86_args *, int []));
|
|
int ibcs2_shmsys __P((struct proc *, struct ibcs2_shmsys_args *, int []));
|
|
int ibcs2_semsys __P((struct proc *, struct ibcs2_semsys_args *, int []));
|
|
int ibcs2_ioctl __P((struct proc *, struct ibcs2_ioctl_args *, int []));
|
|
int ibcs2_uadmin __P((struct proc *, struct ibcs2_uadmin_args *, int []));
|
|
int ibcs2_utssys __P((struct proc *, struct ibcs2_utssys_args *, int []));
|
|
int ibcs2_execve __P((struct proc *, struct ibcs2_execve_args *, int []));
|
|
int ibcs2_fcntl __P((struct proc *, struct ibcs2_fcntl_args *, int []));
|
|
int ibcs2_ulimit __P((struct proc *, struct ibcs2_ulimit_args *, int []));
|
|
int ibcs2_rmdir __P((struct proc *, struct ibcs2_rmdir_args *, int []));
|
|
int ibcs2_mkdir __P((struct proc *, struct ibcs2_mkdir_args *, int []));
|
|
int ibcs2_getdents __P((struct proc *, struct ibcs2_getdents_args *, int []));
|
|
int ibcs2_sysfs __P((struct proc *, struct ibcs2_sysfs_args *, int []));
|
|
int ibcs2_getmsg __P((struct proc *, struct ibcs2_getmsg_args *, int []));
|
|
int ibcs2_putmsg __P((struct proc *, struct ibcs2_putmsg_args *, int []));
|
|
int ibcs2_poll __P((struct proc *, struct ibcs2_poll_args *, int []));
|
|
int ibcs2_secure __P((struct proc *, struct ibcs2_secure_args *, int []));
|
|
int ibcs2_symlink __P((struct proc *, struct ibcs2_symlink_args *, int []));
|
|
int ibcs2_lstat __P((struct proc *, struct ibcs2_lstat_args *, int []));
|
|
int ibcs2_readlink __P((struct proc *, struct ibcs2_readlink_args *, int []));
|
|
int ibcs2_isc __P((struct proc *, struct ibcs2_isc_args *, int []));
|
|
|
|
#ifdef COMPAT_43
|
|
|
|
|
|
#endif /* COMPAT_43 */
|
|
|
|
#endif /* !_IBCS2_SYSPROTO_H_ */
|