1998-07-01 03:32:07 +04:00
|
|
|
/* $NetBSD: svr4_syscall.h,v 1.48 1998/06/30 23:32:07 thorpej Exp $ */
|
1998-01-09 09:19:02 +03:00
|
|
|
|
1994-05-22 14:04:26 +04:00
|
|
|
/*
|
|
|
|
* System call numbers.
|
|
|
|
*
|
|
|
|
* DO NOT EDIT-- this file is automatically generated.
|
1998-07-01 03:32:07 +04:00
|
|
|
* created from NetBSD: syscalls.master,v 1.33 1998/06/30 23:31:28 thorpej Exp
|
1994-05-22 14:04:26 +04:00
|
|
|
*/
|
|
|
|
|
1997-01-13 21:49:02 +03:00
|
|
|
/* syscall: "syscall" ret: "int" args: */
|
1994-10-28 23:46:17 +03:00
|
|
|
#define SVR4_SYS_syscall 0
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "exit" ret: "int" args: "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_exit 1
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fork" ret: "int" args: */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_fork 2
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_read 3
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_write 4
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "open" ret: "int" args: "char *" "int" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_open 5
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "close" ret: "int" args: "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_close 6
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "wait" ret: "int" args: "int *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_wait 7
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "creat" ret: "int" args: "char *" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_creat 8
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "link" ret: "int" args: "char *" "char *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_link 9
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "unlink" ret: "int" args: "char *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_unlink 10
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "execv" ret: "int" args: "char *" "char **" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_execv 11
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "chdir" ret: "int" args: "char *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_chdir 12
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "time" ret: "int" args: "svr4_time_t *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_time 13
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_mknod 14
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "chmod" ret: "int" args: "char *" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_chmod 15
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1998-02-15 00:43:35 +03:00
|
|
|
/* syscall: "__posix_chown" ret: "int" args: "char *" "int" "int" */
|
|
|
|
#define SVR4_SYS___posix_chown 16
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "break" ret: "int" args: "caddr_t" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_break 17
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "stat" ret: "int" args: "char *" "struct svr4_stat *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_stat 18
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "lseek" ret: "long" args: "int" "long" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_lseek 19
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getpid" ret: "pid_t" args: */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_getpid 20
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setuid" ret: "int" args: "uid_t" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_setuid 23
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getuid" ret: "uid_t" args: */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_getuid 24
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "alarm" ret: "int" args: "unsigned" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_alarm 27
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fstat" ret: "int" args: "int" "struct svr4_stat *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_fstat 28
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "pause" ret: "int" args: */
|
1996-12-06 06:26:33 +03:00
|
|
|
#define SVR4_SYS_pause 29
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "utime" ret: "int" args: "char *" "struct svr4_utimbuf *" */
|
1995-12-19 10:12:53 +03:00
|
|
|
#define SVR4_SYS_utime 30
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "access" ret: "int" args: "char *" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_access 33
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-03-15 03:06:47 +03:00
|
|
|
/* syscall: "nice" ret: "int" args: "int" */
|
|
|
|
#define SVR4_SYS_nice 34
|
|
|
|
|
1997-01-13 21:49:02 +03:00
|
|
|
/* syscall: "sync" ret: "int" args: */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_sync 36
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "kill" ret: "int" args: "int" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_kill 37
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "pgrpsys" ret: "int" args: "int" "int" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_pgrpsys 39
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "dup" ret: "int" args: "u_int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_dup 41
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "pipe" ret: "int" args: */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_pipe 42
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "times" ret: "int" args: "struct tms *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_times 43
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setgid" ret: "int" args: "gid_t" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_setgid 46
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getgid" ret: "gid_t" args: */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_getgid 47
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "signal" ret: "int" args: "int" "svr4_sig_t" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_signal 48
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_msgsys 49
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sysarch" ret: "int" args: "int" "void *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_sysarch 50
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_shmsys 52
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_semsys 53
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_ioctl 54
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "utssys" ret: "int" args: "void *" "void *" "int" "void *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_utssys 57
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fsync" ret: "int" args: "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_fsync 58
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_execve 59
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "umask" ret: "int" args: "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_umask 60
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "chroot" ret: "int" args: "char *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_chroot 61
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fcntl" ret: "int" args: "int" "int" "char *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_fcntl 62
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "ulimit" ret: "long" args: "int" "long" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_ulimit 63
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1995-10-07 09:41:34 +03:00
|
|
|
/* 70 is obsolete advfs */
|
|
|
|
/* 71 is obsolete unadvfs */
|
|
|
|
/* 72 is obsolete rmount */
|
|
|
|
/* 73 is obsolete rumount */
|
|
|
|
/* 74 is obsolete rfstart */
|
|
|
|
/* 75 is obsolete sigret */
|
|
|
|
/* 76 is obsolete rdebug */
|
|
|
|
/* 77 is obsolete rfstop */
|
1997-01-13 21:49:02 +03:00
|
|
|
/* syscall: "rmdir" ret: "int" args: "char *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_rmdir 79
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "mkdir" ret: "int" args: "char *" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_mkdir 80
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getdents" ret: "int" args: "int" "char *" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_getdents 81
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1995-10-07 09:41:34 +03:00
|
|
|
/* 82 is obsolete libattach */
|
|
|
|
/* 83 is obsolete libdetach */
|
1997-01-13 21:49:02 +03:00
|
|
|
/* syscall: "getmsg" ret: "int" args: "int" "struct svr4_strbuf *" "struct svr4_strbuf *" "int *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_getmsg 85
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "putmsg" ret: "int" args: "int" "struct svr4_strbuf *" "struct svr4_strbuf *" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_putmsg 86
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_poll 87
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "lstat" ret: "int" args: "char *" "struct svr4_stat *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_lstat 88
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "symlink" ret: "int" args: "char *" "char *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_symlink 89
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_readlink 90
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_getgroups 91
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_setgroups 92
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fchmod" ret: "int" args: "int" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_fchmod 93
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1998-02-15 00:43:35 +03:00
|
|
|
/* syscall: "__posix_fchown" ret: "int" args: "int" "int" "int" */
|
|
|
|
#define SVR4_SYS___posix_fchown 94
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sigprocmask" ret: "int" args: "int" "svr4_sigset_t *" "svr4_sigset_t *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_sigprocmask 95
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sigsuspend" ret: "int" args: "svr4_sigset_t *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_sigsuspend 96
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sigaltstack" ret: "int" args: "struct svr4_sigaltstack *" "struct svr4_sigaltstack *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_sigaltstack 97
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sigaction" ret: "int" args: "int" "struct svr4_sigaction *" "struct svr4_sigaction *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_sigaction 98
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sigpending" ret: "int" args: "int" "svr4_sigset_t *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_sigpending 99
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "context" ret: "int" args: "int" "struct svr4_ucontext *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_context 100
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "statvfs" ret: "int" args: "char *" "struct svr4_statvfs *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_statvfs 103
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fstatvfs" ret: "int" args: "int" "struct svr4_statvfs *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_fstatvfs 104
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "waitsys" ret: "int" args: "int" "int" "union svr4_siginfo *" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_waitsys 107
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "hrtsys" ret: "int" args: "int" "int" "int" "void *" "void *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_hrtsys 109
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "pathconf" ret: "int" args: "char *" "int" */
|
1996-02-10 20:12:31 +03:00
|
|
|
#define SVR4_SYS_pathconf 113
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-10-19 22:45:46 +04:00
|
|
|
/* syscall: "mmap" ret: "void *" args: "void *" "svr4_size_t" "int" "int" "int" "svr4_off_t" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_mmap 115
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-10-19 22:45:46 +04:00
|
|
|
/* syscall: "mprotect" ret: "int" args: "void *" "int" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_mprotect 116
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-10-19 22:45:46 +04:00
|
|
|
/* syscall: "munmap" ret: "int" args: "void *" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_munmap 117
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fpathconf" ret: "int" args: "int" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_fpathconf 118
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "vfork" ret: "int" args: */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_vfork 119
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fchdir" ret: "int" args: "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_fchdir 120
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_readv 121
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_writev 122
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "xstat" ret: "int" args: "int" "char *" "struct svr4_xstat *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_xstat 123
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "lxstat" ret: "int" args: "int" "char *" "struct svr4_xstat *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_lxstat 124
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "fxstat" ret: "int" args: "int" "int" "struct svr4_xstat *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_fxstat 125
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "xmknod" ret: "int" args: "int" "char *" "svr4_mode_t" "svr4_dev_t" */
|
1996-02-02 04:18:09 +03:00
|
|
|
#define SVR4_SYS_xmknod 126
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-10-17 06:04:28 +04:00
|
|
|
/* syscall: "setrlimit" ret: "int" args: "int" "const struct orlimit *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_setrlimit 128
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-10-16 07:36:14 +04:00
|
|
|
/* syscall: "getrlimit" ret: "int" args: "int" "struct orlimit *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_getrlimit 129
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1998-02-15 00:43:35 +03:00
|
|
|
/* syscall: "__posix_lchown" ret: "int" args: "char *" "int" "int" */
|
|
|
|
#define SVR4_SYS___posix_lchown 130
|
|
|
|
|
1997-10-19 22:45:46 +04:00
|
|
|
/* syscall: "memcntl" ret: "int" args: "void *" "svr4_size_t" "int" "void *" "int" "int" */
|
1996-12-06 06:26:33 +03:00
|
|
|
#define SVR4_SYS_memcntl 131
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1998-02-15 00:43:35 +03:00
|
|
|
/* syscall: "__posix_rename" ret: "int" args: "char *" "char *" */
|
|
|
|
#define SVR4_SYS___posix_rename 134
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "uname" ret: "int" args: "struct svr4_utsname *" "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_uname 135
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setegid" ret: "int" args: "gid_t" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_setegid 136
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "sysconfig" ret: "int" args: "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_sysconfig 137
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "adjtime" ret: "int" args: "struct timeval *" "struct timeval *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_adjtime 138
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "systeminfo" ret: "long" args: "int" "char *" "long" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_systeminfo 139
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "seteuid" ret: "int" args: "uid_t" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_seteuid 141
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-11-17 01:51:15 +03:00
|
|
|
/* syscall: "fork1" ret: "int" args: */
|
|
|
|
#define SVR4_SYS_fork1 143
|
|
|
|
|
1997-01-13 21:49:02 +03:00
|
|
|
/* syscall: "fchroot" ret: "int" args: "int" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_fchroot 153
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */
|
1995-12-19 10:12:53 +03:00
|
|
|
#define SVR4_SYS_utimes 154
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "vhangup" ret: "int" args: */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_vhangup 155
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_gettimeofday 156
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_getitimer 157
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_setitimer 158
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-07-22 03:02:34 +04:00
|
|
|
/* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "svr4_off_t" */
|
|
|
|
#define SVR4_SYS_pread 173
|
|
|
|
|
|
|
|
/* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "svr4_off_t" */
|
|
|
|
#define SVR4_SYS_pwrite 174
|
|
|
|
|
|
|
|
/* syscall: "llseek" ret: "svr4_off64_t" args: "int" "long" "long" "int" */
|
|
|
|
#define SVR4_SYS_llseek 175
|
|
|
|
|
1997-01-13 21:49:02 +03:00
|
|
|
/* syscall: "acl" ret: "int" args: "char *" "int" "int" "struct svr4_aclent *" */
|
1996-12-06 06:26:33 +03:00
|
|
|
#define SVR4_SYS_acl 185
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-10-28 22:02:52 +03:00
|
|
|
/* syscall: "auditsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
|
|
|
|
#define SVR4_SYS_auditsys 186
|
|
|
|
|
1998-02-01 16:25:00 +03:00
|
|
|
/* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
|
|
|
|
#define SVR4_SYS_nanosleep 199
|
|
|
|
|
1997-01-13 21:49:02 +03:00
|
|
|
/* syscall: "facl" ret: "int" args: "int" "int" "int" "struct svr4_aclent *" */
|
1996-12-06 06:26:33 +03:00
|
|
|
#define SVR4_SYS_facl 200
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setreuid" ret: "int" args: "int" "int" */
|
1996-12-06 06:26:33 +03:00
|
|
|
#define SVR4_SYS_setreuid 202
|
1997-01-13 21:49:02 +03:00
|
|
|
|
|
|
|
/* syscall: "setregid" ret: "int" args: "int" "int" */
|
1996-12-06 06:26:33 +03:00
|
|
|
#define SVR4_SYS_setregid 203
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1997-07-22 03:02:34 +04:00
|
|
|
/* syscall: "getdents64" ret: "int" args: "int" "struct svr4_dirent64 *" "int" */
|
|
|
|
#define SVR4_SYS_getdents64 213
|
|
|
|
|
1997-10-19 22:45:46 +04:00
|
|
|
/* syscall: "mmap64" ret: "void *" args: "void *" "svr4_size_t" "int" "int" "int" "svr4_off64_t" */
|
1997-07-22 03:02:34 +04:00
|
|
|
#define SVR4_SYS_mmap64 214
|
|
|
|
|
|
|
|
/* syscall: "stat64" ret: "int" args: "char *" "struct svr4_stat64 *" */
|
|
|
|
#define SVR4_SYS_stat64 215
|
|
|
|
|
|
|
|
/* syscall: "lstat64" ret: "int" args: "char *" "struct svr4_stat64 *" */
|
|
|
|
#define SVR4_SYS_lstat64 216
|
|
|
|
|
|
|
|
/* syscall: "fstat64" ret: "int" args: "int" "struct svr4_stat64 *" */
|
|
|
|
#define SVR4_SYS_fstat64 217
|
|
|
|
|
|
|
|
/* syscall: "statvfs64" ret: "int" args: "char *" "struct svr4_statvfs64 *" */
|
|
|
|
#define SVR4_SYS_statvfs64 218
|
|
|
|
|
|
|
|
/* syscall: "fstatvfs64" ret: "int" args: "int" "struct svr4_statvfs64 *" */
|
|
|
|
#define SVR4_SYS_fstatvfs64 219
|
|
|
|
|
1997-10-17 06:04:28 +04:00
|
|
|
/* syscall: "setrlimit64" ret: "int" args: "int" "const struct rlimit *" */
|
1997-07-22 03:02:34 +04:00
|
|
|
#define SVR4_SYS_setrlimit64 220
|
|
|
|
|
|
|
|
/* syscall: "getrlimit64" ret: "int" args: "int" "struct rlimit *" */
|
|
|
|
#define SVR4_SYS_getrlimit64 221
|
|
|
|
|
1998-07-01 03:32:07 +04:00
|
|
|
/* syscall: "pread64" ret: "ssize_t" args: "int" "void *" "size_t" "svr4_off64_t" */
|
|
|
|
#define SVR4_SYS_pread64 222
|
1997-07-22 03:02:34 +04:00
|
|
|
|
1998-07-01 03:32:07 +04:00
|
|
|
/* syscall: "pwrite64" ret: "ssize_t" args: "int" "const void *" "size_t" "svr4_off64_t" */
|
|
|
|
#define SVR4_SYS_pwrite64 223
|
1997-07-22 03:02:34 +04:00
|
|
|
|
|
|
|
/* syscall: "creat64" ret: "int" args: "char *" "int" */
|
|
|
|
#define SVR4_SYS_creat64 224
|
|
|
|
|
|
|
|
/* syscall: "open64" ret: "int" args: "char *" "int" "int" */
|
|
|
|
#define SVR4_SYS_open64 225
|
|
|
|
|
|
|
|
/* syscall: "socket" ret: "int" args: "int" "int" "int" */
|
|
|
|
#define SVR4_SYS_socket 230
|
|
|
|
|
|
|
|
/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
|
|
|
|
#define SVR4_SYS_socketpair 231
|
|
|
|
|
|
|
|
/* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "int" */
|
|
|
|
#define SVR4_SYS_bind 232
|
|
|
|
|
|
|
|
/* syscall: "listen" ret: "int" args: "int" "int" */
|
|
|
|
#define SVR4_SYS_listen 233
|
|
|
|
|
|
|
|
/* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "int *" */
|
|
|
|
#define SVR4_SYS_accept 234
|
|
|
|
|
|
|
|
/* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "int" */
|
|
|
|
#define SVR4_SYS_connect 235
|
|
|
|
|
|
|
|
/* syscall: "shutdown" ret: "int" args: "int" "int" */
|
|
|
|
#define SVR4_SYS_shutdown 236
|
|
|
|
|
|
|
|
/* syscall: "recv" ret: "int" args: "int" "caddr_t" "int" "int" */
|
|
|
|
#define SVR4_SYS_recv 237
|
|
|
|
|
|
|
|
/* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "int *" */
|
|
|
|
#define SVR4_SYS_recvfrom 238
|
|
|
|
|
|
|
|
/* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct msghdr *" "int" */
|
|
|
|
#define SVR4_SYS_recvmsg 239
|
|
|
|
|
|
|
|
/* syscall: "send" ret: "int" args: "int" "caddr_t" "int" "int" */
|
|
|
|
#define SVR4_SYS_send 240
|
|
|
|
|
|
|
|
/* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct msghdr *" "int" */
|
|
|
|
#define SVR4_SYS_sendmsg 241
|
|
|
|
|
|
|
|
/* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "int" */
|
|
|
|
#define SVR4_SYS_sendto 242
|
|
|
|
|
|
|
|
/* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "int *" */
|
|
|
|
#define SVR4_SYS_getpeername 243
|
|
|
|
|
|
|
|
/* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "int *" */
|
|
|
|
#define SVR4_SYS_getsockname 244
|
|
|
|
|
|
|
|
/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */
|
|
|
|
#define SVR4_SYS_getsockopt 245
|
|
|
|
|
|
|
|
/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "int" */
|
|
|
|
#define SVR4_SYS_setsockopt 246
|
|
|
|
|
|
|
|
/* syscall: "ntp_gettime" ret: "int" args: "struct ntptimeval *" */
|
|
|
|
#define SVR4_SYS_ntp_gettime 248
|
|
|
|
|
|
|
|
/* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */
|
|
|
|
#define SVR4_SYS_ntp_adjtime 249
|
|
|
|
|
|
|
|
#define SVR4_SYS_MAXSYSCALL 250
|