2002-11-01 22:30:28 +03:00
|
|
|
/* $NetBSD: irix_syscall.h,v 1.50 2002/11/01 19:30:28 jdolecek Exp $ */
|
2001-09-22 22:51:35 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* System call numbers.
|
|
|
|
*
|
|
|
|
* DO NOT EDIT-- this file is automatically generated.
|
2002-11-01 22:30:28 +03:00
|
|
|
* created from NetBSD: syscalls.master,v 1.46 2002/10/05 23:17:30 manu Exp
|
2001-09-22 22:51:35 +04:00
|
|
|
*/
|
|
|
|
|
2001-11-27 00:36:24 +03:00
|
|
|
/* syscall: "syscall" ret: "int" args: */
|
|
|
|
#define IRIX_SYS_syscall 0
|
|
|
|
|
|
|
|
/* syscall: "exit" ret: "int" args: "int" */
|
|
|
|
#define IRIX_SYS_exit 1
|
|
|
|
|
|
|
|
/* syscall: "fork" ret: "int" args: */
|
|
|
|
#define IRIX_SYS_fork 2
|
|
|
|
|
|
|
|
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
|
|
|
|
#define IRIX_SYS_read 3
|
|
|
|
|
|
|
|
/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
|
|
|
|
#define IRIX_SYS_write 4
|
|
|
|
|
2001-11-28 15:00:53 +03:00
|
|
|
/* syscall: "open" ret: "int" args: "const char *" "int" "int" */
|
|
|
|
#define IRIX_SYS_open 5
|
|
|
|
|
|
|
|
/* syscall: "close" ret: "int" args: "int" */
|
|
|
|
#define IRIX_SYS_close 6
|
|
|
|
|
|
|
|
/* 7 is obsolete wait */
|
|
|
|
/* syscall: "creat" ret: "int" args: "const char *" "int" */
|
|
|
|
#define IRIX_SYS_creat 8
|
|
|
|
|
|
|
|
/* syscall: "link" ret: "int" args: "char *" "char *" */
|
|
|
|
#define IRIX_SYS_link 9
|
|
|
|
|
|
|
|
/* syscall: "unlink" ret: "int" args: "char *" */
|
|
|
|
#define IRIX_SYS_unlink 10
|
|
|
|
|
|
|
|
/* syscall: "execv" ret: "int" args: "const char *" "char **" */
|
|
|
|
#define IRIX_SYS_execv 11
|
|
|
|
|
|
|
|
/* syscall: "chdir" ret: "int" args: "char *" */
|
|
|
|
#define IRIX_SYS_chdir 12
|
|
|
|
|
|
|
|
/* syscall: "time" ret: "int" args: "svr4_time_t *" */
|
|
|
|
#define IRIX_SYS_time 13
|
|
|
|
|
|
|
|
/* 14 is obsolete mknod */
|
|
|
|
/* syscall: "chmod" ret: "int" args: "char *" "int" */
|
|
|
|
#define IRIX_SYS_chmod 15
|
|
|
|
|
|
|
|
/* syscall: "chown" ret: "int" args: "char *" "int" "int" */
|
|
|
|
#define IRIX_SYS_chown 16
|
|
|
|
|
|
|
|
/* syscall: "break" ret: "int" args: "caddr_t" */
|
|
|
|
#define IRIX_SYS_break 17
|
|
|
|
|
|
|
|
/* 18 is obsolete stat */
|
|
|
|
/* syscall: "lseek" ret: "long" args: "int" "long" "int" */
|
|
|
|
#define IRIX_SYS_lseek 19
|
|
|
|
|
|
|
|
/* syscall: "getpid" ret: "pid_t" args: */
|
|
|
|
#define IRIX_SYS_getpid 20
|
|
|
|
|
|
|
|
/* syscall: "setuid" ret: "int" args: "uid_t" */
|
|
|
|
#define IRIX_SYS_setuid 23
|
|
|
|
|
|
|
|
/* syscall: "getuid_with_euid" ret: "uid_t" args: */
|
|
|
|
#define IRIX_SYS_getuid_with_euid 24
|
|
|
|
|
2002-02-03 04:21:47 +03:00
|
|
|
/* syscall: "alarm" ret: "int" args: "unsigned" */
|
|
|
|
#define IRIX_SYS_alarm 27
|
|
|
|
|
2001-11-28 15:00:53 +03:00
|
|
|
/* syscall: "fstat" ret: "int" args: "int" "struct svr4_stat *" */
|
|
|
|
#define IRIX_SYS_fstat 28
|
|
|
|
|
|
|
|
/* syscall: "pause" ret: "int" args: */
|
|
|
|
#define IRIX_SYS_pause 29
|
|
|
|
|
|
|
|
/* syscall: "utime" ret: "int" args: "const char *" "struct svr4_utimbuf *" */
|
|
|
|
#define IRIX_SYS_utime 30
|
|
|
|
|
|
|
|
/* syscall: "access" ret: "int" args: "const char *" "int" */
|
|
|
|
#define IRIX_SYS_access 33
|
|
|
|
|
|
|
|
/* syscall: "nice" ret: "int" args: "int" */
|
|
|
|
#define IRIX_SYS_nice 34
|
|
|
|
|
|
|
|
/* syscall: "sync" ret: "int" args: */
|
|
|
|
#define IRIX_SYS_sync 36
|
|
|
|
|
|
|
|
/* syscall: "kill" ret: "int" args: "int" "int" */
|
|
|
|
#define IRIX_SYS_kill 37
|
|
|
|
|
|
|
|
/* syscall: "pgrpsys" ret: "int" args: "int" "int" "int" */
|
|
|
|
#define IRIX_SYS_pgrpsys 39
|
|
|
|
|
|
|
|
/* syscall: "syssgi" ret: "ptrdiff_t" args: "int" "void *" "void *" "void *" "void *" "void *" */
|
|
|
|
#define IRIX_SYS_syssgi 40
|
|
|
|
|
|
|
|
/* syscall: "dup" ret: "int" args: "u_int" */
|
|
|
|
#define IRIX_SYS_dup 41
|
|
|
|
|
|
|
|
/* syscall: "pipe" ret: "int" args: */
|
|
|
|
#define IRIX_SYS_pipe 42
|
|
|
|
|
|
|
|
/* syscall: "times" ret: "int" args: "struct tms *" */
|
|
|
|
#define IRIX_SYS_times 43
|
|
|
|
|
|
|
|
/* syscall: "setgid" ret: "int" args: "gid_t" */
|
|
|
|
#define IRIX_SYS_setgid 46
|
|
|
|
|
|
|
|
/* syscall: "getgid_with_egid" ret: "gid_t" args: */
|
|
|
|
#define IRIX_SYS_getgid_with_egid 47
|
|
|
|
|
|
|
|
/* 48 is obsolete ssig */
|
|
|
|
/* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" */
|
|
|
|
#define IRIX_SYS_msgsys 49
|
|
|
|
|
|
|
|
/* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
|
|
|
|
#define IRIX_SYS_shmsys 52
|
|
|
|
|
|
|
|
/* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */
|
|
|
|
#define IRIX_SYS_semsys 53
|
|
|
|
|
|
|
|
/* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
|
|
|
|
#define IRIX_SYS_ioctl 54
|
|
|
|
|
2001-12-02 11:30:10 +03:00
|
|
|
/* syscall: "sysmp" ret: "int" args: "int" "void *" "void *" "void *" "void *" */
|
|
|
|
#define IRIX_SYS_sysmp 56
|
|
|
|
|
2001-11-28 15:00:53 +03:00
|
|
|
/* syscall: "utssys" ret: "int" args: "void *" "void *" "int" "void *" */
|
|
|
|
#define IRIX_SYS_utssys 57
|
|
|
|
|
|
|
|
/* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
|
|
|
|
#define IRIX_SYS_execve 59
|
|
|
|
|
|
|
|
/* syscall: "umask" ret: "int" args: "int" */
|
|
|
|
#define IRIX_SYS_umask 60
|
|
|
|
|
|
|
|
/* syscall: "chroot" ret: "int" args: "char *" */
|
|
|
|
#define IRIX_SYS_chroot 61
|
|
|
|
|
|
|
|
/* syscall: "fcntl" ret: "int" args: "int" "int" "char *" */
|
|
|
|
#define IRIX_SYS_fcntl 62
|
|
|
|
|
|
|
|
/* syscall: "ulimit" ret: "long" args: "int" "long" */
|
|
|
|
#define IRIX_SYS_ulimit 63
|
|
|
|
|
|
|
|
/* 70 is obsolete advfs */
|
|
|
|
/* 71 is obsolete unadvfs */
|
|
|
|
/* 72 is obsolete rmount */
|
|
|
|
/* 73 is obsolete rumount */
|
|
|
|
/* 74 is obsolete rfstart */
|
2002-06-13 00:33:20 +04:00
|
|
|
/* syscall: "getrlimit64" ret: "int" args: "int" "struct irix_rlimit64 *" */
|
|
|
|
#define IRIX_SYS_getrlimit64 75
|
|
|
|
|
|
|
|
/* syscall: "setrlimit64" ret: "int" args: "int" "const struct irix_rlimit64 *" */
|
|
|
|
#define IRIX_SYS_setrlimit64 76
|
|
|
|
|
|
|
|
/* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
|
|
|
|
#define IRIX_SYS_nanosleep 77
|
|
|
|
|
2001-12-25 19:40:48 +03:00
|
|
|
/* syscall: "lseek64" ret: "irix_off64_t" args: "int" "int" "irix_off64_t" "int" "int" "int" "int" */
|
|
|
|
#define IRIX_SYS_lseek64 78
|
|
|
|
|
2001-11-28 15:00:53 +03:00
|
|
|
/* syscall: "rmdir" ret: "int" args: "char *" */
|
|
|
|
#define IRIX_SYS_rmdir 79
|
|
|
|
|
|
|
|
/* syscall: "mkdir" ret: "int" args: "char *" "int" */
|
|
|
|
#define IRIX_SYS_mkdir 80
|
|
|
|
|
2001-12-23 23:15:03 +03:00
|
|
|
/* syscall: "getdents" ret: "int" args: "int" "irix_dirent_t *" "int" */
|
2001-11-28 15:00:53 +03:00
|
|
|
#define IRIX_SYS_getdents 81
|
|
|
|
|
2001-12-08 14:17:37 +03:00
|
|
|
/* syscall: "sginap" ret: "long" args: "long" */
|
|
|
|
#define IRIX_SYS_sginap 82
|
|
|
|
|
2001-11-28 15:00:53 +03:00
|
|
|
/* syscall: "getmsg" ret: "int" args: "int" "struct svr4_strbuf *" "struct svr4_strbuf *" "int *" */
|
|
|
|
#define IRIX_SYS_getmsg 85
|
|
|
|
|
|
|
|
/* syscall: "putmsg" ret: "int" args: "int" "struct svr4_strbuf *" "struct svr4_strbuf *" "int" */
|
|
|
|
#define IRIX_SYS_putmsg 86
|
|
|
|
|
|
|
|
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
|
|
|
|
#define IRIX_SYS_poll 87
|
|
|
|
|
2002-04-12 22:44:57 +04:00
|
|
|
/* syscall: "sigreturn" ret: "int" args: "struct irix_sigcontext *" "struct irix_ucontext *" "int" */
|
2001-12-08 14:17:37 +03:00
|
|
|
#define IRIX_SYS_sigreturn 88
|
|
|
|
|
Added accept, bind, connect, getpeername, getsockname, listen, recv, recvfrom,
recvmsg, select, send, sendmsg, sendto, setsockopt, shutdown, socket, readv,
and writev. IRIX's telnet now works.
2001-12-26 00:32:30 +03:00
|
|
|
/* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "int *" */
|
|
|
|
#define IRIX_SYS_accept 89
|
|
|
|
|
|
|
|
/* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "int" */
|
|
|
|
#define IRIX_SYS_bind 90
|
|
|
|
|
|
|
|
/* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "int" */
|
|
|
|
#define IRIX_SYS_connect 91
|
|
|
|
|
2002-02-21 14:09:43 +03:00
|
|
|
/* syscall: "gethostid" ret: "int32_t" args: */
|
|
|
|
#define IRIX_SYS_gethostid 92
|
|
|
|
|
Added accept, bind, connect, getpeername, getsockname, listen, recv, recvfrom,
recvmsg, select, send, sendmsg, sendto, setsockopt, shutdown, socket, readv,
and writev. IRIX's telnet now works.
2001-12-26 00:32:30 +03:00
|
|
|
/* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "int *" */
|
|
|
|
#define IRIX_SYS_getpeername 93
|
|
|
|
|
|
|
|
/* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "int *" */
|
|
|
|
#define IRIX_SYS_getsockname 94
|
|
|
|
|
|
|
|
/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */
|
|
|
|
#define IRIX_SYS_getsockopt 95
|
|
|
|
|
|
|
|
/* syscall: "listen" ret: "int" args: "int" "int" */
|
|
|
|
#define IRIX_SYS_listen 96
|
|
|
|
|
|
|
|
/* syscall: "recv" ret: "int" args: "int" "caddr_t" "int" "int" */
|
|
|
|
#define IRIX_SYS_recv 97
|
|
|
|
|
|
|
|
/* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "int *" */
|
|
|
|
#define IRIX_SYS_recvfrom 98
|
|
|
|
|
|
|
|
/* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct msghdr *" "int" */
|
|
|
|
#define IRIX_SYS_recvmsg 99
|
|
|
|
|
|
|
|
/* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
|
|
|
|
#define IRIX_SYS_select 100
|
|
|
|
|
|
|
|
/* syscall: "send" ret: "int" args: "int" "caddr_t" "int" "int" */
|
|
|
|
#define IRIX_SYS_send 101
|
|
|
|
|
|
|
|
/* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct msghdr *" "int" */
|
|
|
|
#define IRIX_SYS_sendmsg 102
|
|
|
|
|
|
|
|
/* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "int" */
|
|
|
|
#define IRIX_SYS_sendto 103
|
|
|
|
|
2002-02-21 14:09:43 +03:00
|
|
|
/* syscall: "sethostid" ret: "int" args: "int32_t" */
|
|
|
|
#define IRIX_SYS_sethostid 104
|
|
|
|
|
Added accept, bind, connect, getpeername, getsockname, listen, recv, recvfrom,
recvmsg, select, send, sendmsg, sendto, setsockopt, shutdown, socket, readv,
and writev. IRIX's telnet now works.
2001-12-26 00:32:30 +03:00
|
|
|
/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "int" */
|
|
|
|
#define IRIX_SYS_setsockopt 105
|
|
|
|
|
|
|
|
/* syscall: "shutdown" ret: "int" args: "int" "int" */
|
|
|
|
#define IRIX_SYS_shutdown 106
|
|
|
|
|
|
|
|
/* syscall: "socket" ret: "int" args: "int" "int" "int" */
|
|
|
|
#define IRIX_SYS_socket 107
|
|
|
|
|
2002-02-03 04:21:47 +03:00
|
|
|
/* syscall: "gethostname" ret: "int" args: "char *" "u_int" */
|
|
|
|
#define IRIX_SYS_gethostname 108
|
|
|
|
|
|
|
|
/* syscall: "sethostname" ret: "int" args: "const char *" "u_int" */
|
|
|
|
#define IRIX_SYS_sethostname 109
|
|
|
|
|
|
|
|
/* syscall: "getdomainname" ret: "int" args: "char *" "int" */
|
|
|
|
#define IRIX_SYS_getdomainname 110
|
|
|
|
|
|
|
|
/* syscall: "setdomainname" ret: "int" args: "char *" "int" */
|
|
|
|
#define IRIX_SYS_setdomainname 111
|
|
|
|
|
2002-03-26 13:52:52 +03:00
|
|
|
/* syscall: "truncate" ret: "int" args: "const char *" "long" */
|
|
|
|
#define IRIX_SYS_truncate 112
|
|
|
|
|
|
|
|
/* syscall: "ftruncate" ret: "int" args: "int" "long" */
|
|
|
|
#define IRIX_SYS_ftruncate 113
|
|
|
|
|
2001-12-27 14:07:23 +03:00
|
|
|
/* syscall: "rename" ret: "int" args: "const char *" "const char *" */
|
|
|
|
#define IRIX_SYS_rename 114
|
|
|
|
|
|
|
|
/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
|
|
|
|
#define IRIX_SYS_symlink 115
|
|
|
|
|
|
|
|
/* syscall: "readlink" ret: "int" args: "const char *" "char *" "size_t" */
|
|
|
|
#define IRIX_SYS_readlink 116
|
|
|
|
|
2002-03-05 01:19:02 +03:00
|
|
|
/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
|
|
|
|
#define IRIX_SYS_setregid 123
|
|
|
|
|
|
|
|
/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
|
|
|
|
#define IRIX_SYS_setreuid 124
|
|
|
|
|
2002-02-03 20:39:54 +03:00
|
|
|
/* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
|
|
|
|
#define IRIX_SYS_getitimer 125
|
|
|
|
|
|
|
|
/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
|
|
|
|
#define IRIX_SYS_setitimer 126
|
|
|
|
|
|
|
|
/* syscall: "adjtime" ret: "int" args: "struct timeval *" "struct timeval *" */
|
|
|
|
#define IRIX_SYS_adjtime 127
|
|
|
|
|
|
|
|
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" */
|
|
|
|
#define IRIX_SYS_gettimeofday 128
|
|
|
|
|
2002-04-28 21:21:58 +04:00
|
|
|
/* syscall: "sproc" ret: "irix_pid_t" args: "void *" "unsigned int" "void *" */
|
|
|
|
#define IRIX_SYS_sproc 129
|
|
|
|
|
2001-12-02 12:23:58 +03:00
|
|
|
/* syscall: "prctl" ret: "ptrdiff_t" args: "unsigned int" "void *" */
|
|
|
|
#define IRIX_SYS_prctl 130
|
|
|
|
|
2002-06-05 21:27:11 +04:00
|
|
|
/* syscall: "procblk" ret: "int" args: "int" "pid_t" "int" */
|
|
|
|
#define IRIX_SYS_procblk 131
|
|
|
|
|
2002-04-28 21:21:58 +04:00
|
|
|
/* syscall: "sprocsp" ret: "irix_pid_t" args: "void *" "unsigned int" "void *" "caddr_t" "irix_size_t" */
|
|
|
|
#define IRIX_SYS_sprocsp 132
|
|
|
|
|
2002-04-22 09:58:46 +04:00
|
|
|
/* syscall: "mmap" ret: "void *" args: "void *" "irix_size_t" "int" "int" "int" "irix_off_t" */
|
2001-12-02 11:47:17 +03:00
|
|
|
#define IRIX_SYS_mmap 134
|
|
|
|
|
2002-02-22 01:15:28 +03:00
|
|
|
/* syscall: "munmap" ret: "int" args: "void *" "int" */
|
|
|
|
#define IRIX_SYS_munmap 135
|
|
|
|
|
|
|
|
/* syscall: "mprotect" ret: "int" args: "void *" "int" "int" */
|
|
|
|
#define IRIX_SYS_mprotect 136
|
|
|
|
|
2002-04-20 20:56:28 +04:00
|
|
|
/* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
|
|
|
|
#define IRIX_SYS___msync13 137
|
|
|
|
|
2002-04-17 00:15:47 +04:00
|
|
|
/* syscall: "getpgrp" ret: "int" args: */
|
|
|
|
#define IRIX_SYS_getpgrp 143
|
|
|
|
|
|
|
|
/* syscall: "setpgrp" ret: "int" args: "int" "int" */
|
|
|
|
#define IRIX_SYS_setpgrp 144
|
|
|
|
|
2002-04-03 00:29:52 +04:00
|
|
|
/* syscall: "fsync" ret: "int" args: "int" */
|
|
|
|
#define IRIX_SYS_fsync 146
|
|
|
|
|
2002-04-23 09:47:38 +04:00
|
|
|
/* syscall: "fchdir" ret: "int" args: "int" */
|
|
|
|
#define IRIX_SYS_fchdir 147
|
|
|
|
|
2002-06-13 00:33:20 +04:00
|
|
|
/* syscall: "getrlimit" ret: "int" args: "int" "struct irix_rlimit *" */
|
|
|
|
#define IRIX_SYS_getrlimit 148
|
|
|
|
|
|
|
|
/* syscall: "setrlimit" ret: "int" args: "int" "const struct irix_rlimit *" */
|
|
|
|
#define IRIX_SYS_setrlimit 149
|
|
|
|
|
2002-04-23 09:47:38 +04:00
|
|
|
/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
|
|
|
|
#define IRIX_SYS_fchown 152
|
|
|
|
|
|
|
|
/* syscall: "fchmod" ret: "int" args: "int" "int" */
|
|
|
|
#define IRIX_SYS_fchmod 153
|
|
|
|
|
2002-02-18 01:49:53 +03:00
|
|
|
/* syscall: "systeminfo" ret: "long" args: "int" "char *" "long" */
|
|
|
|
#define IRIX_SYS_systeminfo 156
|
|
|
|
|
2002-10-06 03:17:29 +04:00
|
|
|
/* syscall: "uname" ret: "int" args: "struct irix_utsname *" */
|
|
|
|
#define IRIX_SYS_uname 157
|
|
|
|
|
2001-12-08 21:08:04 +03:00
|
|
|
/* syscall: "xstat" ret: "int" args: "const int" "const char *" "struct stat *" */
|
|
|
|
#define IRIX_SYS_xstat 158
|
|
|
|
|
2001-12-22 15:09:20 +03:00
|
|
|
/* syscall: "lxstat" ret: "int" args: "const int" "const char *" "struct stat *" */
|
|
|
|
#define IRIX_SYS_lxstat 159
|
|
|
|
|
|
|
|
/* syscall: "fxstat" ret: "int" args: "const int" "const int" "struct stat *" */
|
|
|
|
#define IRIX_SYS_fxstat 160
|
|
|
|
|
2002-04-15 01:50:49 +04:00
|
|
|
/* syscall: "sigaction" ret: "int" args: "int" "const struct svr4_sigaction *" "struct svr4_sigaction *" "void *" */
|
2001-12-08 14:17:37 +03:00
|
|
|
#define IRIX_SYS_sigaction 162
|
|
|
|
|
|
|
|
/* syscall: "sigpending" ret: "int" args: "int" "svr4_sigset_t *" */
|
|
|
|
#define IRIX_SYS_sigpending 163
|
|
|
|
|
2002-03-28 13:36:14 +03:00
|
|
|
/* syscall: "sigprocmask" ret: "int" args: "int" "const irix_sigset_t *" "irix_sigset_t *" */
|
2001-12-08 14:17:37 +03:00
|
|
|
#define IRIX_SYS_sigprocmask 164
|
|
|
|
|
|
|
|
/* syscall: "sigsuspend" ret: "int" args: "const svr4_sigset_t *" */
|
|
|
|
#define IRIX_SYS_sigsuspend 165
|
|
|
|
|
2002-03-16 16:29:42 +03:00
|
|
|
/* syscall: "swapctl" ret: "int" args: "int" "void *" */
|
|
|
|
#define IRIX_SYS_swapctl 167
|
|
|
|
|
2001-12-25 22:04:18 +03:00
|
|
|
/* syscall: "getcontext" ret: "int" args: "irix_ucontext_t *" */
|
|
|
|
#define IRIX_SYS_getcontext 168
|
|
|
|
|
|
|
|
/* syscall: "setcontext" ret: "int" args: "const irix_ucontext_t *" */
|
|
|
|
#define IRIX_SYS_setcontext 169
|
|
|
|
|
2001-12-26 14:04:20 +03:00
|
|
|
/* syscall: "waitsys" ret: "int" args: "int" "int" "struct irix_irix5_siginfo *" "int" "struct rusage *" */
|
|
|
|
#define IRIX_SYS_waitsys 170
|
|
|
|
|
2002-03-11 00:56:24 +03:00
|
|
|
/* syscall: "statvfs" ret: "int" args: "const char *" "struct svr4_statvfs *" */
|
|
|
|
#define IRIX_SYS_statvfs 174
|
|
|
|
|
|
|
|
/* syscall: "fstatvfs" ret: "int" args: "int" "struct svr4_statvfs *" */
|
|
|
|
#define IRIX_SYS_fstatvfs 175
|
|
|
|
|
Added accept, bind, connect, getpeername, getsockname, listen, recv, recvfrom,
recvmsg, select, send, sendmsg, sendto, setsockopt, shutdown, socket, readv,
and writev. IRIX's telnet now works.
2001-12-26 00:32:30 +03:00
|
|
|
/* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
|
|
|
|
#define IRIX_SYS_readv 181
|
|
|
|
|
|
|
|
/* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
|
|
|
|
#define IRIX_SYS_writev 182
|
|
|
|
|
2002-03-26 13:52:52 +03:00
|
|
|
/* syscall: "truncate64" ret: "int" args: "const char *" "int" "off_t" */
|
|
|
|
#define IRIX_SYS_truncate64 183
|
|
|
|
|
|
|
|
/* syscall: "ftruncate64" ret: "int" args: "int" "int" "off_t" */
|
|
|
|
#define IRIX_SYS_ftruncate64 184
|
|
|
|
|
2002-04-22 09:58:46 +04:00
|
|
|
/* syscall: "mmap64" ret: "void *" args: "void *" "irix_size_t" "int" "int" "int" "int" "irix_off_t" */
|
|
|
|
#define IRIX_SYS_mmap64 185
|
|
|
|
|
2002-04-29 00:23:21 +04:00
|
|
|
/* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "svr4_off_t" */
|
|
|
|
#define IRIX_SYS_pread 187
|
|
|
|
|
|
|
|
/* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "svr4_off_t" */
|
|
|
|
#define IRIX_SYS_pwrite 188
|
|
|
|
|
2001-12-22 17:43:43 +03:00
|
|
|
/* syscall: "getmountid" ret: "int" args: "const char *" "irix_mountid_t *" */
|
|
|
|
#define IRIX_SYS_getmountid 203
|
|
|
|
|
2002-02-04 23:26:34 +03:00
|
|
|
/* syscall: "getdents64" ret: "int" args: "int" "irix_dirent64_t *" "int" */
|
|
|
|
#define IRIX_SYS_getdents64 205
|
|
|
|
|
2001-12-23 23:15:03 +03:00
|
|
|
/* syscall: "ngetdents" ret: "int" args: "int" "irix_dirent_t *" "unsigned short" "int *" */
|
|
|
|
#define IRIX_SYS_ngetdents 207
|
|
|
|
|
2002-02-04 23:26:34 +03:00
|
|
|
/* syscall: "ngetdents64" ret: "int" args: "int" "irix_dirent64_t *" "unsigned short" "int *" */
|
|
|
|
#define IRIX_SYS_ngetdents64 208
|
|
|
|
|
2002-04-28 21:21:58 +04:00
|
|
|
/* syscall: "pidsprocsp" ret: "irix_pid_t" args: "void *" "unsigned int" "void *" "caddr_t" "irix_size_t" "irix_pid_t" */
|
|
|
|
#define IRIX_SYS_pidsprocsp 210
|
|
|
|
|
2002-04-29 18:40:23 +04:00
|
|
|
/* syscall: "usync_cntl" ret: "int" args: "int" "void *" */
|
|
|
|
#define IRIX_SYS_usync_cntl 223
|
|
|
|
|
2001-12-23 23:57:30 +03:00
|
|
|
#define IRIX_SYS_MAXSYSCALL 236
|
2002-11-01 22:30:28 +03:00
|
|
|
#define IRIX_SYS_NSYSENT 256
|