2003-01-19 02:36:48 +03:00
|
|
|
/* $NetBSD: svr4_syscall.h,v 1.71 2003/01/18 23:42:57 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.
|
2003-01-19 02:36:48 +03:00
|
|
|
* created from NetBSD: syscalls.master,v 1.52 2003/01/18 08:44:27 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
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "open" ret: "int" args: "const 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
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "creat" ret: "int" args: "const 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
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "execv" ret: "int" args: "const 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
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "mknod" ret: "int" args: "const 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-09-12 04:10:33 +04:00
|
|
|
/* syscall: "chown" ret: "int" args: "char *" "int" "int" */
|
|
|
|
#define SVR4_SYS_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
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "stat" ret: "int" args: "const 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
|
|
|
|
2001-02-11 04:14:25 +03:00
|
|
|
/* syscall: "getuid_with_euid" ret: "uid_t" args: */
|
|
|
|
#define SVR4_SYS_getuid_with_euid 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
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "utime" ret: "int" args: "const 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
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "access" ret: "int" args: "const 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
|
|
|
|
2001-02-11 04:14:25 +03:00
|
|
|
/* syscall: "getgid_with_egid" ret: "gid_t" args: */
|
|
|
|
#define SVR4_SYS_getgid_with_egid 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
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "execve" ret: "int" args: "const 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
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "lstat" ret: "int" args: "const 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-09-12 04:10:33 +04:00
|
|
|
/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
|
|
|
|
#define SVR4_SYS_fchown 94
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1998-09-12 03:13:32 +04:00
|
|
|
/* syscall: "sigprocmask" ret: "int" args: "int" "const 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
|
|
|
|
1998-09-12 03:13:32 +04:00
|
|
|
/* syscall: "sigsuspend" ret: "int" args: "const svr4_sigset_t *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_sigsuspend 96
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1998-09-12 03:13:32 +04:00
|
|
|
/* syscall: "sigaltstack" ret: "int" args: "const 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
|
|
|
|
1998-09-12 03:13:32 +04:00
|
|
|
/* syscall: "sigaction" ret: "int" args: "int" "const 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
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "statvfs" ret: "int" args: "const 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
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "pathconf" ret: "int" args: "const 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
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "xstat" ret: "int" args: "int" "const 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
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "lxstat" ret: "int" args: "int" "const 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
|
|
|
|
1998-11-29 00:53:33 +03:00
|
|
|
/* syscall: "setrlimit" ret: "int" args: "int" "const struct svr4_rlimit *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_setrlimit 128
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1998-11-29 00:53:33 +03:00
|
|
|
/* syscall: "getrlimit" ret: "int" args: "int" "struct svr4_rlimit *" */
|
1995-10-15 09:13:56 +03:00
|
|
|
#define SVR4_SYS_getrlimit 129
|
1997-01-13 21:49:02 +03:00
|
|
|
|
1998-09-12 04:10:33 +04:00
|
|
|
/* syscall: "lchown" ret: "int" args: "char *" "int" "int" */
|
|
|
|
#define SVR4_SYS_lchown 130
|
1998-02-15 00:43:35 +03:00
|
|
|
|
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-09-12 04:10:33 +04:00
|
|
|
/* syscall: "rename" ret: "int" args: "char *" "char *" */
|
|
|
|
#define SVR4_SYS_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
|
|
|
|
|
1999-09-07 10:25:14 +04:00
|
|
|
/* syscall: "_lwp_info" ret: "int" args: "struct svr4_lwpinfo *" */
|
|
|
|
#define SVR4_SYS__lwp_info 145
|
|
|
|
|
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
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "utimes" ret: "int" args: "const 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
|
|
|
|
1999-09-07 10:25:14 +04:00
|
|
|
/* syscall: "_lwp_create" ret: "int" args: "svr4_ucontext_t *" "unsigned long" "svr4_lwpid_t *" */
|
|
|
|
#define SVR4_SYS__lwp_create 159
|
|
|
|
|
|
|
|
/* syscall: "_lwp_exit" ret: "int" args: */
|
|
|
|
#define SVR4_SYS__lwp_exit 160
|
|
|
|
|
|
|
|
/* syscall: "_lwp_suspend" ret: "int" args: "svr4_lwpid_t" */
|
|
|
|
#define SVR4_SYS__lwp_suspend 161
|
|
|
|
|
|
|
|
/* syscall: "_lwp_continue" ret: "int" args: "svr4_lwpid_t" */
|
|
|
|
#define SVR4_SYS__lwp_continue 162
|
|
|
|
|
|
|
|
/* syscall: "_lwp_kill" ret: "int" args: "svr4_lwpid_t" "int" */
|
|
|
|
#define SVR4_SYS__lwp_kill 163
|
|
|
|
|
|
|
|
/* syscall: "_lwp_self" ret: "svr4_lwpid_t" args: */
|
|
|
|
#define SVR4_SYS__lwp_self 164
|
|
|
|
|
|
|
|
/* syscall: "_lwp_getprivate" ret: "void *" args: */
|
|
|
|
#define SVR4_SYS__lwp_getprivate 165
|
|
|
|
|
|
|
|
/* syscall: "_lwp_setprivate" ret: "int" args: "void *" */
|
|
|
|
#define SVR4_SYS__lwp_setprivate 166
|
|
|
|
|
|
|
|
/* syscall: "_lwp_wait" ret: "int" args: "svr4_lwpid_t" "svr4_lwpid_t *" */
|
|
|
|
#define SVR4_SYS__lwp_wait 167
|
|
|
|
|
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
|
|
|
|
1998-11-27 18:22:44 +03:00
|
|
|
/* syscall: "resolvepath" ret: "int" args: "const char *" "char *" "size_t" */
|
|
|
|
#define SVR4_SYS_resolvepath 209
|
|
|
|
|
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
|
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "stat64" ret: "int" args: "const char *" "struct svr4_stat64 *" */
|
1997-07-22 03:02:34 +04:00
|
|
|
#define SVR4_SYS_stat64 215
|
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "lstat64" ret: "int" args: "const char *" "struct svr4_stat64 *" */
|
1997-07-22 03:02:34 +04:00
|
|
|
#define SVR4_SYS_lstat64 216
|
|
|
|
|
|
|
|
/* syscall: "fstat64" ret: "int" args: "int" "struct svr4_stat64 *" */
|
|
|
|
#define SVR4_SYS_fstat64 217
|
|
|
|
|
1999-02-09 23:48:20 +03:00
|
|
|
/* syscall: "statvfs64" ret: "int" args: "const char *" "struct svr4_statvfs64 *" */
|
1997-07-22 03:02:34 +04:00
|
|
|
#define SVR4_SYS_statvfs64 218
|
|
|
|
|
|
|
|
/* syscall: "fstatvfs64" ret: "int" args: "int" "struct svr4_statvfs64 *" */
|
|
|
|
#define SVR4_SYS_fstatvfs64 219
|
|
|
|
|
1998-11-29 00:53:33 +03:00
|
|
|
/* syscall: "setrlimit64" ret: "int" args: "int" "const struct svr4_rlimit64 *" */
|
1997-07-22 03:02:34 +04:00
|
|
|
#define SVR4_SYS_setrlimit64 220
|
|
|
|
|
1998-11-29 00:53:33 +03:00
|
|
|
/* syscall: "getrlimit64" ret: "int" args: "int" "struct svr4_rlimit64 *" */
|
1997-07-22 03:02:34 +04:00
|
|
|
#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
|
|
|
|
|
2000-08-07 22:10:20 +04:00
|
|
|
/* 249 is excluded ntp_adjtime */
|
2001-05-30 15:37:21 +04:00
|
|
|
#define SVR4_SYS_MAXSYSCALL 256
|
2000-12-09 09:19:40 +03:00
|
|
|
#define SVR4_SYS_NSYSENT 256
|