Regen; makesyscalls.sh emits comments now.

This commit is contained in:
thorpej 1997-01-13 18:49:02 +00:00
parent 76adbe2bd3
commit 8f8abcd69c
8 changed files with 2018 additions and 0 deletions

View File

@ -5,192 +5,550 @@
* created from NetBSD: syscalls.master,v 1.5 1996/09/20 16:19:27 christos Exp
*/
/* syscall: "syscall" ret: "int" args: */
#define FREEBSD_SYS_syscall 0
/* syscall: "exit" ret: "int" args: "int" */
#define FREEBSD_SYS_exit 1
/* syscall: "fork" ret: "int" args: */
#define FREEBSD_SYS_fork 2
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
#define FREEBSD_SYS_read 3
/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
#define FREEBSD_SYS_write 4
/* syscall: "open" ret: "int" args: "char *" "int" "int" */
#define FREEBSD_SYS_open 5
/* syscall: "close" ret: "int" args: "int" */
#define FREEBSD_SYS_close 6
/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
#define FREEBSD_SYS_wait4 7
/* syscall: "ocreat" ret: "int" args: "char *" "int" */
#define FREEBSD_SYS_ocreat 8
/* syscall: "link" ret: "int" args: "char *" "char *" */
#define FREEBSD_SYS_link 9
/* syscall: "unlink" ret: "int" args: "char *" */
#define FREEBSD_SYS_unlink 10
/* 11 is obsolete execv */
/* syscall: "chdir" ret: "int" args: "char *" */
#define FREEBSD_SYS_chdir 12
/* syscall: "fchdir" ret: "int" args: "int" */
#define FREEBSD_SYS_fchdir 13
/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
#define FREEBSD_SYS_mknod 14
/* syscall: "chmod" ret: "int" args: "char *" "int" */
#define FREEBSD_SYS_chmod 15
/* syscall: "chown" ret: "int" args: "char *" "int" "int" */
#define FREEBSD_SYS_chown 16
/* syscall: "break" ret: "int" args: "char *" */
#define FREEBSD_SYS_break 17
/* syscall: "getfsstat" ret: "int" args: "struct statfs *" "long" "int" */
#define FREEBSD_SYS_getfsstat 18
/* syscall: "olseek" ret: "long" args: "int" "long" "int" */
#define FREEBSD_SYS_olseek 19
/* syscall: "getpid" ret: "pid_t" args: */
#define FREEBSD_SYS_getpid 20
/* syscall: "mount" ret: "int" args: "int" "char *" "int" "caddr_t" */
#define FREEBSD_SYS_mount 21
/* syscall: "unmount" ret: "int" args: "char *" "int" */
#define FREEBSD_SYS_unmount 22
/* syscall: "setuid" ret: "int" args: "uid_t" */
#define FREEBSD_SYS_setuid 23
/* syscall: "getuid" ret: "uid_t" args: */
#define FREEBSD_SYS_getuid 24
/* syscall: "geteuid" ret: "uid_t" args: */
#define FREEBSD_SYS_geteuid 25
/* syscall: "ptrace" ret: "int" args: "int" "pid_t" "caddr_t" "int" */
#define FREEBSD_SYS_ptrace 26
/* syscall: "recvmsg" ret: "int" args: "int" "struct msghdr *" "int" */
#define FREEBSD_SYS_recvmsg 27
/* syscall: "sendmsg" ret: "int" args: "int" "caddr_t" "int" */
#define FREEBSD_SYS_sendmsg 28
/* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
#define FREEBSD_SYS_recvfrom 29
/* syscall: "accept" ret: "int" args: "int" "caddr_t" "int *" */
#define FREEBSD_SYS_accept 30
/* syscall: "getpeername" ret: "int" args: "int" "caddr_t" "int *" */
#define FREEBSD_SYS_getpeername 31
/* syscall: "getsockname" ret: "int" args: "int" "caddr_t" "int *" */
#define FREEBSD_SYS_getsockname 32
/* syscall: "access" ret: "int" args: "char *" "int" */
#define FREEBSD_SYS_access 33
/* syscall: "chflags" ret: "int" args: "char *" "int" */
#define FREEBSD_SYS_chflags 34
/* syscall: "fchflags" ret: "int" args: "int" "int" */
#define FREEBSD_SYS_fchflags 35
/* syscall: "sync" ret: "int" args: */
#define FREEBSD_SYS_sync 36
/* syscall: "kill" ret: "int" args: "int" "int" */
#define FREEBSD_SYS_kill 37
/* syscall: "ostat" ret: "int" args: "char *" "struct ostat *" */
#define FREEBSD_SYS_ostat 38
/* syscall: "getppid" ret: "pid_t" args: */
#define FREEBSD_SYS_getppid 39
/* syscall: "olstat" ret: "int" args: "char *" "struct ostat *" */
#define FREEBSD_SYS_olstat 40
/* syscall: "dup" ret: "int" args: "u_int" */
#define FREEBSD_SYS_dup 41
/* syscall: "pipe" ret: "int" args: */
#define FREEBSD_SYS_pipe 42
/* syscall: "getegid" ret: "gid_t" args: */
#define FREEBSD_SYS_getegid 43
/* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
#define FREEBSD_SYS_profil 44
/* syscall: "ktrace" ret: "int" args: "char *" "int" "int" "int" */
#define FREEBSD_SYS_ktrace 45
/* syscall: "sigaction" ret: "int" args: "int" "struct sigaction *" "struct sigaction *" */
#define FREEBSD_SYS_sigaction 46
/* syscall: "getgid" ret: "gid_t" args: */
#define FREEBSD_SYS_getgid 47
/* syscall: "sigprocmask" ret: "int" args: "int" "sigset_t" */
#define FREEBSD_SYS_sigprocmask 48
/* syscall: "__getlogin" ret: "int" args: "char *" "u_int" */
#define FREEBSD_SYS___getlogin 49
/* syscall: "setlogin" ret: "int" args: "char *" */
#define FREEBSD_SYS_setlogin 50
/* syscall: "acct" ret: "int" args: "char *" */
#define FREEBSD_SYS_acct 51
/* syscall: "sigpending" ret: "int" args: */
#define FREEBSD_SYS_sigpending 52
/* syscall: "sigaltstack" ret: "int" args: "struct sigaltstack *" "struct sigaltstack *" */
#define FREEBSD_SYS_sigaltstack 53
/* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
#define FREEBSD_SYS_ioctl 54
/* syscall: "reboot" ret: "int" args: "int" */
#define FREEBSD_SYS_reboot 55
/* syscall: "revoke" ret: "int" args: "char *" */
#define FREEBSD_SYS_revoke 56
/* syscall: "symlink" ret: "int" args: "char *" "char *" */
#define FREEBSD_SYS_symlink 57
/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
#define FREEBSD_SYS_readlink 58
/* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */
#define FREEBSD_SYS_execve 59
/* syscall: "umask" ret: "int" args: "int" */
#define FREEBSD_SYS_umask 60
/* syscall: "chroot" ret: "int" args: "char *" */
#define FREEBSD_SYS_chroot 61
/* syscall: "ofstat" ret: "int" args: "int" "struct ostat *" */
#define FREEBSD_SYS_ofstat 62
/* syscall: "ogetkerninfo" ret: "int" args: "int" "char *" "int *" "int" */
#define FREEBSD_SYS_ogetkerninfo 63
/* syscall: "ogetpagesize" ret: "int" args: */
#define FREEBSD_SYS_ogetpagesize 64
/* syscall: "msync" ret: "int" args: "caddr_t" "size_t" "int" */
#define FREEBSD_SYS_msync 65
/* syscall: "vfork" ret: "int" args: */
#define FREEBSD_SYS_vfork 66
/* 67 is obsolete vread */
/* 68 is obsolete vwrite */
/* syscall: "sbrk" ret: "int" args: "int" */
#define FREEBSD_SYS_sbrk 69
/* syscall: "sstk" ret: "int" args: "int" */
#define FREEBSD_SYS_sstk 70
/* syscall: "ommap" ret: "int" args: "caddr_t" "size_t" "int" "int" "int" "long" */
#define FREEBSD_SYS_ommap 71
/* syscall: "vadvise" ret: "int" args: "int" */
#define FREEBSD_SYS_vadvise 72
/* syscall: "munmap" ret: "int" args: "caddr_t" "size_t" */
#define FREEBSD_SYS_munmap 73
/* syscall: "mprotect" ret: "int" args: "caddr_t" "size_t" "int" */
#define FREEBSD_SYS_mprotect 74
/* syscall: "madvise" ret: "int" args: "caddr_t" "size_t" "int" */
#define FREEBSD_SYS_madvise 75
/* 76 is obsolete vhangup */
/* 77 is obsolete vlimit */
/* syscall: "mincore" ret: "int" args: "caddr_t" "size_t" "char *" */
#define FREEBSD_SYS_mincore 78
/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
#define FREEBSD_SYS_getgroups 79
/* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
#define FREEBSD_SYS_setgroups 80
/* syscall: "getpgrp" ret: "int" args: */
#define FREEBSD_SYS_getpgrp 81
/* syscall: "setpgid" ret: "int" args: "int" "int" */
#define FREEBSD_SYS_setpgid 82
/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
#define FREEBSD_SYS_setitimer 83
/* syscall: "owait" ret: "int" args: */
#define FREEBSD_SYS_owait 84
/* syscall: "swapon" ret: "int" args: "char *" */
#define FREEBSD_SYS_swapon 85
/* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
#define FREEBSD_SYS_getitimer 86
/* syscall: "ogethostname" ret: "int" args: "char *" "u_int" */
#define FREEBSD_SYS_ogethostname 87
/* syscall: "osethostname" ret: "int" args: "char *" "u_int" */
#define FREEBSD_SYS_osethostname 88
/* syscall: "ogetdtablesize" ret: "int" args: */
#define FREEBSD_SYS_ogetdtablesize 89
/* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
#define FREEBSD_SYS_dup2 90
/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
#define FREEBSD_SYS_fcntl 92
/* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
#define FREEBSD_SYS_select 93
/* syscall: "fsync" ret: "int" args: "int" */
#define FREEBSD_SYS_fsync 95
/* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
#define FREEBSD_SYS_setpriority 96
/* syscall: "socket" ret: "int" args: "int" "int" "int" */
#define FREEBSD_SYS_socket 97
/* syscall: "connect" ret: "int" args: "int" "caddr_t" "int" */
#define FREEBSD_SYS_connect 98
/* syscall: "oaccept" ret: "int" args: "int" "caddr_t" "int *" */
#define FREEBSD_SYS_oaccept 99
/* syscall: "getpriority" ret: "int" args: "int" "int" */
#define FREEBSD_SYS_getpriority 100
/* syscall: "osend" ret: "int" args: "int" "caddr_t" "int" "int" */
#define FREEBSD_SYS_osend 101
/* syscall: "orecv" ret: "int" args: "int" "caddr_t" "int" "int" */
#define FREEBSD_SYS_orecv 102
/* syscall: "sigreturn" ret: "int" args: "struct freebsd_sigcontext *" */
#define FREEBSD_SYS_sigreturn 103
/* syscall: "bind" ret: "int" args: "int" "caddr_t" "int" */
#define FREEBSD_SYS_bind 104
/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int" */
#define FREEBSD_SYS_setsockopt 105
/* syscall: "listen" ret: "int" args: "int" "int" */
#define FREEBSD_SYS_listen 106
/* 107 is obsolete vtimes */
/* syscall: "osigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
#define FREEBSD_SYS_osigvec 108
/* syscall: "osigblock" ret: "int" args: "int" */
#define FREEBSD_SYS_osigblock 109
/* syscall: "osigsetmask" ret: "int" args: "int" */
#define FREEBSD_SYS_osigsetmask 110
/* syscall: "sigsuspend" ret: "int" args: "int" */
#define FREEBSD_SYS_sigsuspend 111
/* syscall: "osigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
#define FREEBSD_SYS_osigstack 112
/* syscall: "orecvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */
#define FREEBSD_SYS_orecvmsg 113
/* syscall: "osendmsg" ret: "int" args: "int" "caddr_t" "int" */
#define FREEBSD_SYS_osendmsg 114
/* syscall: "vtrace" ret: "int" args: "int" "int" */
#define FREEBSD_SYS_vtrace 115
/* 115 is obsolete vtrace */
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define FREEBSD_SYS_gettimeofday 116
/* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
#define FREEBSD_SYS_getrusage 117
/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int *" */
#define FREEBSD_SYS_getsockopt 118
/* 119 is obsolete resuba */
/* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
#define FREEBSD_SYS_readv 120
/* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
#define FREEBSD_SYS_writev 121
/* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define FREEBSD_SYS_settimeofday 122
/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
#define FREEBSD_SYS_fchown 123
/* syscall: "fchmod" ret: "int" args: "int" "int" */
#define FREEBSD_SYS_fchmod 124
/* syscall: "orecvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
#define FREEBSD_SYS_orecvfrom 125
/* syscall: "setreuid" ret: "int" args: "int" "int" */
#define FREEBSD_SYS_setreuid 126
/* syscall: "setregid" ret: "int" args: "int" "int" */
#define FREEBSD_SYS_setregid 127
/* syscall: "rename" ret: "int" args: "char *" "char *" */
#define FREEBSD_SYS_rename 128
/* syscall: "otruncate" ret: "int" args: "char *" "long" */
#define FREEBSD_SYS_otruncate 129
/* syscall: "oftruncate" ret: "int" args: "int" "long" */
#define FREEBSD_SYS_oftruncate 130
/* syscall: "flock" ret: "int" args: "int" "int" */
#define FREEBSD_SYS_flock 131
/* syscall: "mkfifo" ret: "int" args: "char *" "int" */
#define FREEBSD_SYS_mkfifo 132
/* syscall: "sendto" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int" */
#define FREEBSD_SYS_sendto 133
/* syscall: "shutdown" ret: "int" args: "int" "int" */
#define FREEBSD_SYS_shutdown 134
/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
#define FREEBSD_SYS_socketpair 135
/* syscall: "mkdir" ret: "int" args: "char *" "int" */
#define FREEBSD_SYS_mkdir 136
/* syscall: "rmdir" ret: "int" args: "char *" */
#define FREEBSD_SYS_rmdir 137
/* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */
#define FREEBSD_SYS_utimes 138
/* 139 is obsolete 4.2 sigreturn */
/* syscall: "adjtime" ret: "int" args: "struct timeval *" "struct timeval *" */
#define FREEBSD_SYS_adjtime 140
/* syscall: "ogetpeername" ret: "int" args: "int" "caddr_t" "int *" */
#define FREEBSD_SYS_ogetpeername 141
/* syscall: "ogethostid" ret: "int32_t" args: */
#define FREEBSD_SYS_ogethostid 142
/* syscall: "osethostid" ret: "int" args: "int32_t" */
#define FREEBSD_SYS_osethostid 143
/* syscall: "ogetrlimit" ret: "int" args: "u_int" "struct ogetrlimit *" */
#define FREEBSD_SYS_ogetrlimit 144
/* syscall: "osetrlimit" ret: "int" args: "u_int" "struct ogetrlimit *" */
#define FREEBSD_SYS_osetrlimit 145
/* syscall: "okillpg" ret: "int" args: "int" "int" */
#define FREEBSD_SYS_okillpg 146
/* syscall: "setsid" ret: "int" args: */
#define FREEBSD_SYS_setsid 147
/* syscall: "quotactl" ret: "int" args: "char *" "int" "int" "caddr_t" */
#define FREEBSD_SYS_quotactl 148
/* syscall: "oquota" ret: "int" args: */
#define FREEBSD_SYS_oquota 149
/* syscall: "ogetsockname" ret: "int" args: "int" "caddr_t" "int *" */
#define FREEBSD_SYS_ogetsockname 150
/* syscall: "nfssvc" ret: "int" args: "int" "caddr_t" */
#define FREEBSD_SYS_nfssvc 155
/* syscall: "ogetdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
#define FREEBSD_SYS_ogetdirentries 156
/* syscall: "statfs" ret: "int" args: "char *" "struct statfs *" */
#define FREEBSD_SYS_statfs 157
/* syscall: "fstatfs" ret: "int" args: "int" "struct statfs *" */
#define FREEBSD_SYS_fstatfs 158
/* syscall: "getfh" ret: "int" args: "char *" "fhandle_t *" */
#define FREEBSD_SYS_getfh 161
/* syscall: "getdomainname" ret: "int" args: "char *" "int" */
#define FREEBSD_SYS_getdomainname 162
/* syscall: "setdomainname" ret: "int" args: "char *" "int" */
#define FREEBSD_SYS_setdomainname 163
/* syscall: "uname" ret: "int" args: "struct outsname *" */
#define FREEBSD_SYS_uname 164
/* syscall: "sysarch" ret: "int" args: "int" "char *" */
#define FREEBSD_SYS_sysarch 165
/* syscall: "rtprio" ret: "int" args: "int" "pid_t" "struct freebsd_rtprio *" */
#define FREEBSD_SYS_rtprio 166
/* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */
#define FREEBSD_SYS_semsys 169
/* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
#define FREEBSD_SYS_msgsys 170
/* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
#define FREEBSD_SYS_shmsys 171
/* syscall: "freebsd_ntp_adjtime" ret: "int" args: "struct freebsd_timex *" */
#define FREEBSD_SYS_freebsd_ntp_adjtime 176
/* syscall: "setgid" ret: "int" args: "gid_t" */
#define FREEBSD_SYS_setgid 181
/* syscall: "setegid" ret: "int" args: "gid_t" */
#define FREEBSD_SYS_setegid 182
/* syscall: "seteuid" ret: "int" args: "uid_t" */
#define FREEBSD_SYS_seteuid 183
/* syscall: "lfs_bmapv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
#define FREEBSD_SYS_lfs_bmapv 184
/* syscall: "lfs_markv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
#define FREEBSD_SYS_lfs_markv 185
/* syscall: "lfs_segclean" ret: "int" args: "fsid_t *" "u_long" */
#define FREEBSD_SYS_lfs_segclean 186
/* syscall: "lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval *" */
#define FREEBSD_SYS_lfs_segwait 187
/* syscall: "stat" ret: "int" args: "char *" "struct stat *" */
#define FREEBSD_SYS_stat 188
/* syscall: "fstat" ret: "int" args: "int" "struct stat *" */
#define FREEBSD_SYS_fstat 189
/* syscall: "lstat" ret: "int" args: "char *" "struct stat *" */
#define FREEBSD_SYS_lstat 190
/* syscall: "pathconf" ret: "int" args: "char *" "int" */
#define FREEBSD_SYS_pathconf 191
/* syscall: "fpathconf" ret: "int" args: "int" "int" */
#define FREEBSD_SYS_fpathconf 192
/* syscall: "getrlimit" ret: "int" args: "u_int" "struct rlimit *" */
#define FREEBSD_SYS_getrlimit 194
/* syscall: "setrlimit" ret: "int" args: "u_int" "struct rlimit *" */
#define FREEBSD_SYS_setrlimit 195
/* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
#define FREEBSD_SYS_getdirentries 196
/* syscall: "mmap" ret: "caddr_t" args: "caddr_t" "size_t" "int" "int" "int" "long" "off_t" */
#define FREEBSD_SYS_mmap 197
/* syscall: "__syscall" ret: "int" args: */
#define FREEBSD_SYS___syscall 198
/* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */
#define FREEBSD_SYS_lseek 199
/* syscall: "truncate" ret: "int" args: "char *" "int" "off_t" */
#define FREEBSD_SYS_truncate 200
/* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */
#define FREEBSD_SYS_ftruncate 201
/* syscall: "__sysctl" ret: "int" args: "int *" "u_int" "void *" "size_t *" "void *" "size_t" */
#define FREEBSD_SYS___sysctl 202
/* syscall: "mlock" ret: "int" args: "caddr_t" "size_t" */
#define FREEBSD_SYS_mlock 203
/* syscall: "munlock" ret: "int" args: "caddr_t" "size_t" */
#define FREEBSD_SYS_munlock 204
/* syscall: "undelete" ret: "int" args: "char *" */
#define FREEBSD_SYS_undelete 205
#define FREEBSD_SYS_MAXSYSCALL 220

View File

@ -5,148 +5,436 @@
* created from NetBSD: syscalls.master,v 1.12 1996/09/07 14:21:57 mycroft Exp
*/
/* syscall: "syscall" ret: "int" args: */
#define HPUX_SYS_syscall 0
/* syscall: "exit" ret: "int" args: "int" */
#define HPUX_SYS_exit 1
/* syscall: "fork" ret: "int" args: */
#define HPUX_SYS_fork 2
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
#define HPUX_SYS_read 3
/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
#define HPUX_SYS_write 4
/* syscall: "open" ret: "int" args: "char *" "int" "int" */
#define HPUX_SYS_open 5
/* syscall: "close" ret: "int" args: "int" */
#define HPUX_SYS_close 6
/* syscall: "wait" ret: "int" args: "int *" */
#define HPUX_SYS_wait 7
/* syscall: "creat" ret: "int" args: "char *" "int" */
#define HPUX_SYS_creat 8
/* syscall: "link" ret: "int" args: "char *" "char *" */
#define HPUX_SYS_link 9
/* syscall: "unlink" ret: "int" args: "char *" */
#define HPUX_SYS_unlink 10
/* syscall: "execv" ret: "int" args: "char *" "char **" */
#define HPUX_SYS_execv 11
/* syscall: "chdir" ret: "int" args: "char *" */
#define HPUX_SYS_chdir 12
/* syscall: "time_6x" ret: "int" args: "time_t *" */
#define HPUX_SYS_time_6x 13
/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
#define HPUX_SYS_mknod 14
/* syscall: "chmod" ret: "int" args: "char *" "int" */
#define HPUX_SYS_chmod 15
/* syscall: "chown" ret: "int" args: "char *" "int" "int" */
#define HPUX_SYS_chown 16
/* syscall: "obreak" ret: "int" args: "char *" */
#define HPUX_SYS_obreak 17
/* syscall: "stat_6x" ret: "int" args: "char *" "struct hpux_ostat *" */
#define HPUX_SYS_stat_6x 18
/* syscall: "lseek" ret: "long" args: "int" "long" "int" */
#define HPUX_SYS_lseek 19
/* syscall: "getpid" ret: "pid_t" args: */
#define HPUX_SYS_getpid 20
/* syscall: "setuid" ret: "int" args: "uid_t" */
#define HPUX_SYS_setuid 23
/* syscall: "getuid" ret: "uid_t" args: */
#define HPUX_SYS_getuid 24
/* syscall: "stime_6x" ret: "int" args: "int" */
#define HPUX_SYS_stime_6x 25
/* syscall: "ptrace" ret: "int" args: "int" "int" "int *" "int" */
#define HPUX_SYS_ptrace 26
/* syscall: "alarm_6x" ret: "int" args: "int" */
#define HPUX_SYS_alarm_6x 27
/* syscall: "fstat_6x" ret: "int" args: "int" "struct hpux_ostat *" */
#define HPUX_SYS_fstat_6x 28
/* syscall: "pause_6x" ret: "int" args: */
#define HPUX_SYS_pause_6x 29
/* syscall: "utime_6x" ret: "int" args: "char *" "time_t *" */
#define HPUX_SYS_utime_6x 30
/* syscall: "stty_6x" ret: "int" args: "int" "caddr_t" */
#define HPUX_SYS_stty_6x 31
/* syscall: "gtty_6x" ret: "int" args: "int" "caddr_t" */
#define HPUX_SYS_gtty_6x 32
/* syscall: "access" ret: "int" args: "char *" "int" */
#define HPUX_SYS_access 33
/* syscall: "nice_6x" ret: "int" args: "int" */
#define HPUX_SYS_nice_6x 34
/* syscall: "ftime_6x" ret: "int" args: "struct hpux_timeb *" */
#define HPUX_SYS_ftime_6x 35
/* syscall: "sync" ret: "int" args: */
#define HPUX_SYS_sync 36
/* syscall: "kill" ret: "int" args: "pid_t" "int" */
#define HPUX_SYS_kill 37
/* syscall: "stat" ret: "int" args: "char *" "struct hpux_stat *" */
#define HPUX_SYS_stat 38
/* syscall: "setpgrp_6x" ret: "int" args: */
#define HPUX_SYS_setpgrp_6x 39
/* syscall: "lstat" ret: "int" args: "char *" "struct hpux_stat *" */
#define HPUX_SYS_lstat 40
/* syscall: "dup" ret: "int" args: "int" */
#define HPUX_SYS_dup 41
/* syscall: "pipe" ret: "int" args: */
#define HPUX_SYS_pipe 42
/* syscall: "times_6x" ret: "int" args: "struct tms *" */
#define HPUX_SYS_times_6x 43
/* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
#define HPUX_SYS_profil 44
/* syscall: "setgid" ret: "int" args: "gid_t" */
#define HPUX_SYS_setgid 46
/* syscall: "getgid" ret: "gid_t" args: */
#define HPUX_SYS_getgid 47
/* syscall: "ssig_6x" ret: "int" args: "int" "sig_t" */
#define HPUX_SYS_ssig_6x 48
/* syscall: "ioctl" ret: "int" args: "int" "int" "caddr_t" */
#define HPUX_SYS_ioctl 54
/* syscall: "symlink" ret: "int" args: "char *" "char *" */
#define HPUX_SYS_symlink 56
/* syscall: "utssys" ret: "int" args: "struct hpux_utsname *" "int" "int" */
#define HPUX_SYS_utssys 57
/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
#define HPUX_SYS_readlink 58
/* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */
#define HPUX_SYS_execve 59
/* syscall: "umask" ret: "int" args: "int" */
#define HPUX_SYS_umask 60
/* syscall: "chroot" ret: "int" args: "char *" */
#define HPUX_SYS_chroot 61
/* syscall: "fcntl" ret: "int" args: "int" "int" "int" */
#define HPUX_SYS_fcntl 62
/* syscall: "ulimit" ret: "int" args: "int" "int" */
#define HPUX_SYS_ulimit 63
/* syscall: "vfork" ret: "int" args: */
#define HPUX_SYS_vfork 66
/* syscall: "vread" ret: "int" args: "int" "char *" "u_int" */
#define HPUX_SYS_vread 67
/* syscall: "vwrite" ret: "int" args: "int" "char *" "u_int" */
#define HPUX_SYS_vwrite 68
/* syscall: "mmap" ret: "int" args: "caddr_t" "size_t" "int" "int" "int" "long" */
#define HPUX_SYS_mmap 71
/* syscall: "munmap" ret: "int" args: "caddr_t" "size_t" */
#define HPUX_SYS_munmap 73
/* syscall: "mprotect" ret: "int" args: "caddr_t" "size_t" "int" */
#define HPUX_SYS_mprotect 74
/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
#define HPUX_SYS_getgroups 79
/* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
#define HPUX_SYS_setgroups 80
/* syscall: "getpgrp2" ret: "int" args: "pid_t" */
#define HPUX_SYS_getpgrp2 81
/* syscall: "setpgrp2" ret: "int" args: "pid_t" "pid_t" */
#define HPUX_SYS_setpgrp2 82
/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
#define HPUX_SYS_setitimer 83
/* syscall: "wait3" ret: "int" args: "int *" "int" "int" */
#define HPUX_SYS_wait3 84
/* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
#define HPUX_SYS_getitimer 86
/* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
#define HPUX_SYS_dup2 90
/* syscall: "fstat" ret: "int" args: "int" "struct hpux_stat *" */
#define HPUX_SYS_fstat 92
/* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
#define HPUX_SYS_select 93
/* syscall: "fsync" ret: "int" args: "int" */
#define HPUX_SYS_fsync 95
/* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */
#define HPUX_SYS_sigreturn 103
/* syscall: "sigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
#define HPUX_SYS_sigvec 108
/* syscall: "sigblock" ret: "int" args: "int" */
#define HPUX_SYS_sigblock 109
/* syscall: "sigsetmask" ret: "int" args: "int" */
#define HPUX_SYS_sigsetmask 110
/* syscall: "sigpause" ret: "int" args: "int" */
#define HPUX_SYS_sigpause 111
/* syscall: "sigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
#define HPUX_SYS_sigstack 112
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" */
#define HPUX_SYS_gettimeofday 116
/* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
#define HPUX_SYS_readv 120
/* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
#define HPUX_SYS_writev 121
/* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define HPUX_SYS_settimeofday 122
/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
#define HPUX_SYS_fchown 123
/* syscall: "fchmod" ret: "int" args: "int" "int" */
#define HPUX_SYS_fchmod 124
/* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
#define HPUX_SYS_setresuid 126
/* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
#define HPUX_SYS_setresgid 127
/* syscall: "rename" ret: "int" args: "char *" "char *" */
#define HPUX_SYS_rename 128
/* syscall: "truncate" ret: "int" args: "char *" "long" */
#define HPUX_SYS_truncate 129
/* syscall: "ftruncate" ret: "int" args: "int" "long" */
#define HPUX_SYS_ftruncate 130
/* syscall: "sysconf" ret: "int" args: "int" */
#define HPUX_SYS_sysconf 132
/* syscall: "mkdir" ret: "int" args: "char *" "int" */
#define HPUX_SYS_mkdir 136
/* syscall: "rmdir" ret: "int" args: "char *" */
#define HPUX_SYS_rmdir 137
/* syscall: "getrlimit" ret: "int" args: "u_int" "struct ogetrlimit *" */
#define HPUX_SYS_getrlimit 144
/* syscall: "setrlimit" ret: "int" args: "u_int" "struct ogetrlimit *" */
#define HPUX_SYS_setrlimit 145
/* syscall: "rtprio" ret: "int" args: "pid_t" "int" */
#define HPUX_SYS_rtprio 152
/* syscall: "netioctl" ret: "int" args: "int" "int *" */
#define HPUX_SYS_netioctl 154
/* syscall: "lockf" ret: "int" args: "int" "int" "long" */
#define HPUX_SYS_lockf 155
/* syscall: "semget" ret: "int" args: "key_t" "int" "int" */
#define HPUX_SYS_semget 156
/* syscall: "__semctl" ret: "int" args: "int" "int" "int" "union semun *" */
#define HPUX_SYS___semctl 157
/* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "u_int" */
#define HPUX_SYS_semop 158
/* syscall: "msgget" ret: "int" args: "key_t" "int" */
#define HPUX_SYS_msgget 159
/* syscall: "msgctl" ret: "int" args: "int" "int" "struct msqid_ds *" */
#define HPUX_SYS_msgctl 160
/* syscall: "msgsnd" ret: "int" args: "int" "void *" "size_t" "int" */
#define HPUX_SYS_msgsnd 161
/* syscall: "msgrcv" ret: "int" args: "int" "void *" "size_t" "long" "int" */
#define HPUX_SYS_msgrcv 162
/* syscall: "shmget" ret: "int" args: "key_t" "int" "int" */
#define HPUX_SYS_shmget 163
/* syscall: "shmctl" ret: "int" args: "int" "int" "caddr_t" */
#define HPUX_SYS_shmctl 164
/* syscall: "shmat" ret: "int" args: "int" "void *" "int" */
#define HPUX_SYS_shmat 165
/* syscall: "shmdt" ret: "int" args: "void *" */
#define HPUX_SYS_shmdt 166
/* syscall: "advise" ret: "int" args: "int" */
#define HPUX_SYS_advise 167
/* syscall: "getcontext" ret: "int" args: "char *" "int" */
#define HPUX_SYS_getcontext 174
/* syscall: "getaccess" ret: "int" args: "char *" "uid_t" "int" "gid_t *" "void *" "void *" */
#define HPUX_SYS_getaccess 190
/* syscall: "waitpid" ret: "int" args: "pid_t" "int *" "int" "struct rusage *" */
#define HPUX_SYS_waitpid 200
/* syscall: "pathconf" ret: "int" args: "char *" "int" */
#define HPUX_SYS_pathconf 225
/* syscall: "fpathconf" ret: "int" args: "int" "int" */
#define HPUX_SYS_fpathconf 226
/* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
#define HPUX_SYS_getdirentries 231
/* syscall: "getdomainname" ret: "int" args: "char *" "int" */
#define HPUX_SYS_getdomainname 232
/* syscall: "setdomainname" ret: "int" args: "char *" "int" */
#define HPUX_SYS_setdomainname 236
/* syscall: "sigaction" ret: "int" args: "int" "struct hpux_sigaction *" "struct hpux_sigaction *" */
#define HPUX_SYS_sigaction 239
/* syscall: "sigprocmask" ret: "int" args: "int" "hpux_sigset_t *" "hpux_sigset_t *" */
#define HPUX_SYS_sigprocmask 240
/* syscall: "sigpending" ret: "int" args: "hpux_sigset_t *" */
#define HPUX_SYS_sigpending 241
/* syscall: "sigsuspend" ret: "int" args: "hpux_sigset_t *" */
#define HPUX_SYS_sigsuspend 242
/* syscall: "getdtablesize" ret: "int" args: */
#define HPUX_SYS_getdtablesize 268
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
#define HPUX_SYS_poll 269
/* syscall: "fchdir" ret: "int" args: "int" */
#define HPUX_SYS_fchdir 272
/* syscall: "accept" ret: "int" args: "int" "caddr_t" "int *" */
#define HPUX_SYS_accept 275
/* syscall: "bind" ret: "int" args: "int" "caddr_t" "int" */
#define HPUX_SYS_bind 276
/* syscall: "connect" ret: "int" args: "int" "caddr_t" "int" */
#define HPUX_SYS_connect 277
/* syscall: "getpeername" ret: "int" args: "int" "caddr_t" "int *" */
#define HPUX_SYS_getpeername 278
/* syscall: "getsockname" ret: "int" args: "int" "caddr_t" "int *" */
#define HPUX_SYS_getsockname 279
/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int *" */
#define HPUX_SYS_getsockopt 280
/* syscall: "listen" ret: "int" args: "int" "int" */
#define HPUX_SYS_listen 281
/* syscall: "recv" ret: "int" args: "int" "caddr_t" "int" "int" */
#define HPUX_SYS_recv 282
/* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
#define HPUX_SYS_recvfrom 283
/* syscall: "recvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */
#define HPUX_SYS_recvmsg 284
/* syscall: "send" ret: "int" args: "int" "caddr_t" "int" "int" */
#define HPUX_SYS_send 285
/* syscall: "sendmsg" ret: "int" args: "int" "caddr_t" "int" */
#define HPUX_SYS_sendmsg 286
/* syscall: "sendto" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int" */
#define HPUX_SYS_sendto 287
/* syscall: "setsockopt2" ret: "int" args: "int" "int" "int" "caddr_t" "int" */
#define HPUX_SYS_setsockopt2 288
/* syscall: "shutdown" ret: "int" args: "int" "int" */
#define HPUX_SYS_shutdown 289
/* syscall: "socket" ret: "int" args: "int" "int" "int" */
#define HPUX_SYS_socket 290
/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
#define HPUX_SYS_socketpair 291
/* syscall: "nsemctl" ret: "int" args: "int" "int" "int" "union semun *" */
#define HPUX_SYS_nsemctl 312
/* syscall: "nmsgctl" ret: "int" args: "int" "int" "struct msqid_ds *" */
#define HPUX_SYS_nmsgctl 313
/* syscall: "nshmctl" ret: "int" args: "int" "int" "caddr_t" */
#define HPUX_SYS_nshmctl 314
#define HPUX_SYS_MAXSYSCALL 315

View File

@ -5,62 +5,174 @@
* created from NetBSD: syscalls.master,v 1.10 1996/09/07 14:21:59 mycroft Exp
*/
/* syscall: "syscall" ret: "int" args: */
#define IBCS2_SYS_syscall 0
/* syscall: "exit" ret: "int" args: "int" */
#define IBCS2_SYS_exit 1
/* syscall: "fork" ret: "int" args: */
#define IBCS2_SYS_fork 2
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
#define IBCS2_SYS_read 3
/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
#define IBCS2_SYS_write 4
/* syscall: "open" ret: "int" args: "char *" "int" "int" */
#define IBCS2_SYS_open 5
/* syscall: "close" ret: "int" args: "int" */
#define IBCS2_SYS_close 6
/* syscall: "waitsys" ret: "int" args: "int" "int" "int" */
#define IBCS2_SYS_waitsys 7
/* syscall: "creat" ret: "int" args: "char *" "int" */
#define IBCS2_SYS_creat 8
/* syscall: "link" ret: "int" args: "char *" "char *" */
#define IBCS2_SYS_link 9
/* syscall: "unlink" ret: "int" args: "char *" */
#define IBCS2_SYS_unlink 10
/* syscall: "execv" ret: "int" args: "char *" "char **" */
#define IBCS2_SYS_execv 11
/* syscall: "chdir" ret: "int" args: "char *" */
#define IBCS2_SYS_chdir 12
/* syscall: "time" ret: "int" args: "ibcs2_time_t *" */
#define IBCS2_SYS_time 13
/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
#define IBCS2_SYS_mknod 14
/* syscall: "chmod" ret: "int" args: "char *" "int" */
#define IBCS2_SYS_chmod 15
/* syscall: "chown" ret: "int" args: "char *" "int" "int" */
#define IBCS2_SYS_chown 16
/* syscall: "obreak" ret: "int" args: "caddr_t" */
#define IBCS2_SYS_obreak 17
/* syscall: "stat" ret: "int" args: "char *" "struct ibcs2_stat *" */
#define IBCS2_SYS_stat 18
/* syscall: "lseek" ret: "long" args: "int" "long" "int" */
#define IBCS2_SYS_lseek 19
/* syscall: "getpid" ret: "pid_t" args: */
#define IBCS2_SYS_getpid 20
/* syscall: "mount" ret: "int" args: "char *" "char *" "int" "int" "char *" "int" */
#define IBCS2_SYS_mount 21
/* syscall: "umount" ret: "int" args: "char *" */
#define IBCS2_SYS_umount 22
/* syscall: "setuid" ret: "int" args: "int" */
#define IBCS2_SYS_setuid 23
/* syscall: "getuid" ret: "uid_t" args: */
#define IBCS2_SYS_getuid 24
/* syscall: "stime" ret: "int" args: "long *" */
#define IBCS2_SYS_stime 25
/* syscall: "alarm" ret: "int" args: "unsigned" */
#define IBCS2_SYS_alarm 27
/* syscall: "fstat" ret: "int" args: "int" "struct ibcs2_stat *" */
#define IBCS2_SYS_fstat 28
/* syscall: "pause" ret: "int" args: */
#define IBCS2_SYS_pause 29
/* syscall: "utime" ret: "int" args: "char *" "struct ibcs2_utimbuf *" */
#define IBCS2_SYS_utime 30
/* syscall: "access" ret: "int" args: "char *" "int" */
#define IBCS2_SYS_access 33
/* syscall: "nice" ret: "int" args: "int" */
#define IBCS2_SYS_nice 34
/* syscall: "statfs" ret: "int" args: "char *" "struct ibcs2_statfs *" "int" "int" */
#define IBCS2_SYS_statfs 35
/* syscall: "sync" ret: "int" args: */
#define IBCS2_SYS_sync 36
/* syscall: "kill" ret: "int" args: "int" "int" */
#define IBCS2_SYS_kill 37
/* syscall: "fstatfs" ret: "int" args: "int" "struct ibcs2_statfs *" "int" "int" */
#define IBCS2_SYS_fstatfs 38
/* syscall: "pgrpsys" ret: "int" args: "int" "caddr_t" "int" "int" */
#define IBCS2_SYS_pgrpsys 39
/* syscall: "dup" ret: "int" args: "u_int" */
#define IBCS2_SYS_dup 41
/* syscall: "pipe" ret: "int" args: */
#define IBCS2_SYS_pipe 42
/* syscall: "times" ret: "int" args: "struct tms *" */
#define IBCS2_SYS_times 43
/* syscall: "plock" ret: "int" args: "int" */
#define IBCS2_SYS_plock 45
/* syscall: "setgid" ret: "int" args: "int" */
#define IBCS2_SYS_setgid 46
/* syscall: "getgid" ret: "gid_t" args: */
#define IBCS2_SYS_getgid 47
/* syscall: "sigsys" ret: "int" args: "int" "ibcs2_sig_t" */
#define IBCS2_SYS_sigsys 48
/* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
#define IBCS2_SYS_msgsys 49
/* syscall: "sysi86" ret: "int" args: "int" "int" */
#define IBCS2_SYS_sysi86 50
/* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
#define IBCS2_SYS_shmsys 52
/* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */
#define IBCS2_SYS_semsys 53
/* syscall: "ioctl" ret: "int" args: "int" "int" "caddr_t" */
#define IBCS2_SYS_ioctl 54
/* syscall: "uadmin" ret: "int" args: "int" "int" "caddr_t" */
#define IBCS2_SYS_uadmin 55
/* syscall: "utssys" ret: "int" args: "int" "int" "int" */
#define IBCS2_SYS_utssys 57
/* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */
#define IBCS2_SYS_execve 59
/* syscall: "umask" ret: "int" args: "int" */
#define IBCS2_SYS_umask 60
/* syscall: "chroot" ret: "int" args: "char *" */
#define IBCS2_SYS_chroot 61
/* syscall: "fcntl" ret: "int" args: "int" "int" "char *" */
#define IBCS2_SYS_fcntl 62
/* syscall: "ulimit" ret: "long" args: "int" "int" */
#define IBCS2_SYS_ulimit 63
/* 70 is obsolete rfs_advfs */
/* 71 is obsolete rfs_unadvfs */
/* 72 is obsolete rfs_rmount */
@ -69,31 +181,85 @@
/* 75 is obsolete rfs_sigret */
/* 76 is obsolete rfs_rdebug */
/* 77 is obsolete rfs_rfstop */
/* syscall: "rmdir" ret: "int" args: "char *" */
#define IBCS2_SYS_rmdir 79
/* syscall: "mkdir" ret: "int" args: "char *" "int" */
#define IBCS2_SYS_mkdir 80
/* syscall: "getdents" ret: "int" args: "int" "char *" "int" */
#define IBCS2_SYS_getdents 81
/* syscall: "sysfs" ret: "int" args: "int" "caddr_t" "char *" */
#define IBCS2_SYS_sysfs 84
/* syscall: "getmsg" ret: "int" args: "int" "struct ibcs2_stropts *" "struct ibcs2_stropts *" "int *" */
#define IBCS2_SYS_getmsg 85
/* syscall: "putmsg" ret: "int" args: "int" "struct ibcs2_stropts *" "struct ibcs2_stropts *" "int" */
#define IBCS2_SYS_putmsg 86
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
#define IBCS2_SYS_poll 87
/* syscall: "symlink" ret: "int" args: "char *" "char *" */
#define IBCS2_SYS_symlink 90
/* syscall: "lstat" ret: "int" args: "char *" "struct ibcs2_stat *" */
#define IBCS2_SYS_lstat 91
/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
#define IBCS2_SYS_readlink 92
/* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */
#define IBCS2_SYS_sigreturn 103
/* syscall: "rdchk" ret: "int" args: "int" */
#define IBCS2_SYS_rdchk 135
/* syscall: "chsize" ret: "int" args: "int" "long" */
#define IBCS2_SYS_chsize 138
/* syscall: "ftime" ret: "int" args: "struct xenix_timeb *" */
#define IBCS2_SYS_ftime 139
/* syscall: "nap" ret: "int" args: "int" */
#define IBCS2_SYS_nap 140
/* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
#define IBCS2_SYS_select 164
/* syscall: "eaccess" ret: "int" args: "char *" "int" */
#define IBCS2_SYS_eaccess 165
/* syscall: "sigaction" ret: "int" args: "int" "struct ibcs2_sigaction *" "struct ibcs2_sigaction *" */
#define IBCS2_SYS_sigaction 167
/* syscall: "sigprocmask" ret: "int" args: "int" "ibcs2_sigset_t *" "ibcs2_sigset_t *" */
#define IBCS2_SYS_sigprocmask 168
/* syscall: "sigpending" ret: "int" args: "ibcs2_sigset_t *" */
#define IBCS2_SYS_sigpending 169
/* syscall: "sigsuspend" ret: "int" args: "ibcs2_sigset_t *" */
#define IBCS2_SYS_sigsuspend 170
/* syscall: "getgroups" ret: "int" args: "int" "ibcs2_gid_t *" */
#define IBCS2_SYS_getgroups 171
/* syscall: "setgroups" ret: "int" args: "int" "ibcs2_gid_t *" */
#define IBCS2_SYS_setgroups 172
/* syscall: "sysconf" ret: "int" args: "int" */
#define IBCS2_SYS_sysconf 173
/* syscall: "pathconf" ret: "int" args: "char *" "int" */
#define IBCS2_SYS_pathconf 174
/* syscall: "fpathconf" ret: "int" args: "int" "int" */
#define IBCS2_SYS_fpathconf 175
/* syscall: "rename" ret: "int" args: "char *" "char *" */
#define IBCS2_SYS_rename 176
#define IBCS2_SYS_MAXSYSCALL 177

View File

@ -5,124 +5,360 @@
* created from NetBSD: syscalls.master,v 1.16 1996/05/20 01:59:35 fvdl Exp
*/
/* syscall: "syscall" ret: "int" args: */
#define LINUX_SYS_syscall 0
/* syscall: "exit" ret: "int" args: "int" */
#define LINUX_SYS_exit 1
/* syscall: "fork" ret: "int" args: */
#define LINUX_SYS_fork 2
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
#define LINUX_SYS_read 3
/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
#define LINUX_SYS_write 4
/* syscall: "open" ret: "int" args: "char *" "int" "int" */
#define LINUX_SYS_open 5
/* syscall: "close" ret: "int" args: "int" */
#define LINUX_SYS_close 6
/* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */
#define LINUX_SYS_waitpid 7
/* syscall: "creat" ret: "int" args: "char *" "int" */
#define LINUX_SYS_creat 8
/* syscall: "link" ret: "int" args: "char *" "char *" */
#define LINUX_SYS_link 9
/* syscall: "unlink" ret: "int" args: "char *" */
#define LINUX_SYS_unlink 10
/* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */
#define LINUX_SYS_execve 11
/* syscall: "chdir" ret: "int" args: "char *" */
#define LINUX_SYS_chdir 12
/* syscall: "time" ret: "int" args: "linux_time_t *" */
#define LINUX_SYS_time 13
/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
#define LINUX_SYS_mknod 14
/* syscall: "chmod" ret: "int" args: "char *" "int" */
#define LINUX_SYS_chmod 15
/* syscall: "chown" ret: "int" args: "char *" "int" "int" */
#define LINUX_SYS_chown 16
/* syscall: "break" ret: "int" args: "char *" */
#define LINUX_SYS_break 17
/* 18 is obsolete ostat */
/* syscall: "lseek" ret: "long" args: "int" "long" "int" */
#define LINUX_SYS_lseek 19
/* syscall: "getpid" ret: "pid_t" args: */
#define LINUX_SYS_getpid 20
/* syscall: "setuid" ret: "int" args: "uid_t" */
#define LINUX_SYS_setuid 23
/* syscall: "getuid" ret: "uid_t" args: */
#define LINUX_SYS_getuid 24
/* syscall: "alarm" ret: "int" args: "unsigned int" */
#define LINUX_SYS_alarm 27
/* 28 is obsolete ofstat */
/* syscall: "pause" ret: "int" args: */
#define LINUX_SYS_pause 29
/* syscall: "utime" ret: "int" args: "char *" "struct linux_utimbuf *" */
#define LINUX_SYS_utime 30
/* syscall: "access" ret: "int" args: "char *" "int" */
#define LINUX_SYS_access 33
/* syscall: "sync" ret: "int" args: */
#define LINUX_SYS_sync 36
/* syscall: "kill" ret: "int" args: "int" "int" */
#define LINUX_SYS_kill 37
/* syscall: "rename" ret: "int" args: "char *" "char *" */
#define LINUX_SYS_rename 38
/* syscall: "mkdir" ret: "int" args: "char *" "int" */
#define LINUX_SYS_mkdir 39
/* syscall: "rmdir" ret: "int" args: "char *" */
#define LINUX_SYS_rmdir 40
/* syscall: "dup" ret: "int" args: "u_int" */
#define LINUX_SYS_dup 41
/* syscall: "pipe" ret: "int" args: "int *" */
#define LINUX_SYS_pipe 42
/* syscall: "times" ret: "int" args: "struct times *" */
#define LINUX_SYS_times 43
/* syscall: "brk" ret: "int" args: "char *" */
#define LINUX_SYS_brk 45
/* syscall: "setgid" ret: "int" args: "gid_t" */
#define LINUX_SYS_setgid 46
/* syscall: "getgid" ret: "gid_t" args: */
#define LINUX_SYS_getgid 47
/* syscall: "signal" ret: "int" args: "int" "linux_handler_t" */
#define LINUX_SYS_signal 48
/* syscall: "geteuid" ret: "uid_t" args: */
#define LINUX_SYS_geteuid 49
/* syscall: "getegid" ret: "gid_t" args: */
#define LINUX_SYS_getegid 50
/* syscall: "acct" ret: "int" args: "char *" */
#define LINUX_SYS_acct 51
/* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
#define LINUX_SYS_ioctl 54
/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
#define LINUX_SYS_fcntl 55
/* syscall: "setpgid" ret: "int" args: "int" "int" */
#define LINUX_SYS_setpgid 57
/* syscall: "oldolduname" ret: "int" args: "struct linux_oldold_utsname *" */
#define LINUX_SYS_oldolduname 59
/* syscall: "umask" ret: "int" args: "int" */
#define LINUX_SYS_umask 60
/* syscall: "chroot" ret: "int" args: "char *" */
#define LINUX_SYS_chroot 61
/* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
#define LINUX_SYS_dup2 63
/* syscall: "getppid" ret: "pid_t" args: */
#define LINUX_SYS_getppid 64
/* syscall: "getpgrp" ret: "int" args: */
#define LINUX_SYS_getpgrp 65
/* syscall: "setsid" ret: "int" args: */
#define LINUX_SYS_setsid 66
/* syscall: "sigaction" ret: "int" args: "int" "struct linux_sigaction *" "struct linux_sigaction *" */
#define LINUX_SYS_sigaction 67
/* syscall: "siggetmask" ret: "int" args: */
#define LINUX_SYS_siggetmask 68
/* syscall: "sigsetmask" ret: "int" args: "linux_sigset_t" */
#define LINUX_SYS_sigsetmask 69
/* syscall: "setreuid" ret: "int" args: "int" "int" */
#define LINUX_SYS_setreuid 70
/* syscall: "setregid" ret: "int" args: "int" "int" */
#define LINUX_SYS_setregid 71
/* syscall: "sigsuspend" ret: "int" args: "caddr_t" "int" "int" */
#define LINUX_SYS_sigsuspend 72
/* syscall: "sigpending" ret: "int" args: "linux_sigset_t *" */
#define LINUX_SYS_sigpending 73
/* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
#define LINUX_SYS_sethostname 74
/* syscall: "setrlimit" ret: "int" args: "u_int" "struct ogetrlimit *" */
#define LINUX_SYS_setrlimit 75
/* syscall: "getrlimit" ret: "int" args: "u_int" "struct ogetrlimit *" */
#define LINUX_SYS_getrlimit 76
/* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
#define LINUX_SYS_getrusage 77
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define LINUX_SYS_gettimeofday 78
/* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define LINUX_SYS_settimeofday 79
/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
#define LINUX_SYS_getgroups 80
/* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
#define LINUX_SYS_setgroups 81
/* syscall: "oldselect" ret: "int" args: "struct linux_select *" */
#define LINUX_SYS_oldselect 82
/* syscall: "symlink" ret: "int" args: "char *" "char *" */
#define LINUX_SYS_symlink 83
/* syscall: "olstat" ret: "int" args: "char *" "struct ostat *" */
#define LINUX_SYS_olstat 84
/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
#define LINUX_SYS_readlink 85
/* syscall: "uselib" ret: "int" args: "char *" */
#define LINUX_SYS_uselib 86
/* syscall: "swapon" ret: "int" args: "char *" */
#define LINUX_SYS_swapon 87
/* syscall: "reboot" ret: "int" args: "int" */
#define LINUX_SYS_reboot 88
/* syscall: "readdir" ret: "int" args: "int" "caddr_t" "unsigned int" */
#define LINUX_SYS_readdir 89
/* syscall: "mmap" ret: "int" args: "struct linux_mmap *" */
#define LINUX_SYS_mmap 90
/* syscall: "munmap" ret: "int" args: "caddr_t" "int" */
#define LINUX_SYS_munmap 91
/* syscall: "truncate" ret: "int" args: "char *" "long" */
#define LINUX_SYS_truncate 92
/* syscall: "ftruncate" ret: "int" args: "int" "long" */
#define LINUX_SYS_ftruncate 93
/* syscall: "fchmod" ret: "int" args: "int" "int" */
#define LINUX_SYS_fchmod 94
/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
#define LINUX_SYS_fchown 95
/* syscall: "getpriority" ret: "int" args: "int" "int" */
#define LINUX_SYS_getpriority 96
/* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
#define LINUX_SYS_setpriority 97
/* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
#define LINUX_SYS_profil 98
/* syscall: "statfs" ret: "int" args: "char *" "struct linux_statfs *" */
#define LINUX_SYS_statfs 99
/* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
#define LINUX_SYS_fstatfs 100
/* syscall: "ioperm" ret: "int" args: "unsigned int" "unsigned int" "int" */
#define LINUX_SYS_ioperm 101
/* syscall: "socketcall" ret: "int" args: "int" "void *" */
#define LINUX_SYS_socketcall 102
/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
#define LINUX_SYS_setitimer 104
/* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
#define LINUX_SYS_getitimer 105
/* syscall: "stat" ret: "int" args: "char *" "struct linux_stat *" */
#define LINUX_SYS_stat 106
/* syscall: "lstat" ret: "int" args: "char *" "struct linux_stat *" */
#define LINUX_SYS_lstat 107
/* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */
#define LINUX_SYS_fstat 108
/* syscall: "olduname" ret: "int" args: "struct linux_old_utsname *" */
#define LINUX_SYS_olduname 109
/* syscall: "iopl" ret: "int" args: "int" */
#define LINUX_SYS_iopl 110
/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
#define LINUX_SYS_wait4 114
/* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "caddr_t" */
#define LINUX_SYS_ipc 117
/* syscall: "fsync" ret: "int" args: "int" */
#define LINUX_SYS_fsync 118
/* syscall: "sigreturn" ret: "int" args: "struct linux_sigcontext *" */
#define LINUX_SYS_sigreturn 119
/* syscall: "setdomainname" ret: "int" args: "char *" "int" */
#define LINUX_SYS_setdomainname 121
/* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
#define LINUX_SYS_uname 122
/* syscall: "modify_ldt" ret: "int" args: "int" "void *" "size_t" */
#define LINUX_SYS_modify_ldt 123
/* syscall: "mprotect" ret: "int" args: "caddr_t" "int" "int" */
#define LINUX_SYS_mprotect 125
/* syscall: "sigprocmask" ret: "int" args: "int" "linux_sigset_t *" "linux_sigset_t *" */
#define LINUX_SYS_sigprocmask 126
/* syscall: "getpgid" ret: "int" args: "int" */
#define LINUX_SYS_getpgid 132
/* syscall: "fchdir" ret: "int" args: "int" */
#define LINUX_SYS_fchdir 133
/* syscall: "personality" ret: "int" args: "int" */
#define LINUX_SYS_personality 136
/* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "caddr_t" "int" */
#define LINUX_SYS_llseek 140
/* syscall: "getdents" ret: "int" args: "int" "void *" "unsigned" */
#define LINUX_SYS_getdents 141
/* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
#define LINUX_SYS_select 142
/* syscall: "flock" ret: "int" args: "int" "int" */
#define LINUX_SYS_flock 143
/* syscall: "msync" ret: "int" args: "caddr_t" "int" "int" */
#define LINUX_SYS_msync 144
/* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
#define LINUX_SYS_readv 145
/* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
#define LINUX_SYS_writev 146
/* syscall: "getsid" ret: "int" args: "int" */
#define LINUX_SYS_getsid 147
/* syscall: "fdatasync" ret: "int" args: "int" */
#define LINUX_SYS_fdatasync 148
/* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
#define LINUX_SYS___sysctl 149
/* syscall: "mlock" ret: "int" args: "caddr_t" "size_t" */
#define LINUX_SYS_mlock 150
/* syscall: "munlock" ret: "int" args: "caddr_t" "size_t" */
#define LINUX_SYS_munlock 151
#define LINUX_SYS_MAXSYSCALL 164

View File

@ -5,112 +5,324 @@
* created from NetBSD: syscalls.master,v 1.5 1996/09/07 14:22:00 mycroft Exp
*/
/* syscall: "syscall" ret: "int" args: */
#define OSF1_SYS_syscall 0
/* syscall: "exit" ret: "int" args: "int" */
#define OSF1_SYS_exit 1
/* syscall: "fork" ret: "int" args: */
#define OSF1_SYS_fork 2
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
#define OSF1_SYS_read 3
/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
#define OSF1_SYS_write 4
/* syscall: "close" ret: "int" args: "int" */
#define OSF1_SYS_close 6
/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
#define OSF1_SYS_wait4 7
/* syscall: "link" ret: "int" args: "char *" "char *" */
#define OSF1_SYS_link 9
/* syscall: "unlink" ret: "int" args: "char *" */
#define OSF1_SYS_unlink 10
/* syscall: "chdir" ret: "int" args: "char *" */
#define OSF1_SYS_chdir 12
/* syscall: "fchdir" ret: "int" args: "int" */
#define OSF1_SYS_fchdir 13
/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
#define OSF1_SYS_mknod 14
/* syscall: "chmod" ret: "int" args: "char *" "int" */
#define OSF1_SYS_chmod 15
/* syscall: "chown" ret: "int" args: "char *" "int" "int" */
#define OSF1_SYS_chown 16
/* syscall: "obreak" ret: "int" args: "char *" */
#define OSF1_SYS_obreak 17
/* syscall: "getfsstat" ret: "int" args: "struct osf1_statfs *" "long" "int" */
#define OSF1_SYS_getfsstat 18
/* syscall: "lseek" ret: "off_t" args: "int" "off_t" "int" */
#define OSF1_SYS_lseek 19
/* syscall: "getpid" ret: "pid_t" args: */
#define OSF1_SYS_getpid 20
/* syscall: "mount" ret: "int" args: "int" "char *" "int" "caddr_t" */
#define OSF1_SYS_mount 21
/* syscall: "unmount" ret: "int" args: "char *" "int" */
#define OSF1_SYS_unmount 22
/* syscall: "setuid" ret: "int" args: "uid_t" */
#define OSF1_SYS_setuid 23
/* syscall: "getuid" ret: "uid_t" args: */
#define OSF1_SYS_getuid 24
/* syscall: "access" ret: "int" args: "char *" "int" */
#define OSF1_SYS_access 33
/* syscall: "sync" ret: "int" args: */
#define OSF1_SYS_sync 36
/* syscall: "kill" ret: "int" args: "int" "int" */
#define OSF1_SYS_kill 37
/* syscall: "setpgid" ret: "int" args: "int" "int" */
#define OSF1_SYS_setpgid 39
/* syscall: "dup" ret: "int" args: "u_int" */
#define OSF1_SYS_dup 41
/* syscall: "pipe" ret: "int" args: */
#define OSF1_SYS_pipe 42
/* syscall: "open" ret: "int" args: "char *" "int" "int" */
#define OSF1_SYS_open 45
/* 46 is obsolete sigaction */
/* syscall: "getgid" ret: "gid_t" args: */
#define OSF1_SYS_getgid 47
/* syscall: "sigprocmask" ret: "int" args: "int" "sigset_t" */
#define OSF1_SYS_sigprocmask 48
/* syscall: "getlogin" ret: "int" args: "char *" "u_int" */
#define OSF1_SYS_getlogin 49
/* syscall: "setlogin" ret: "int" args: "char *" */
#define OSF1_SYS_setlogin 50
/* syscall: "acct" ret: "int" args: "char *" */
#define OSF1_SYS_acct 51
/* syscall: "ioctl" ret: "int" args: "int" "int" "caddr_t" */
#define OSF1_SYS_ioctl 54
/* syscall: "reboot" ret: "int" args: "int" */
#define OSF1_SYS_reboot 55
/* syscall: "revoke" ret: "int" args: "char *" */
#define OSF1_SYS_revoke 56
/* syscall: "symlink" ret: "int" args: "char *" "char *" */
#define OSF1_SYS_symlink 57
/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
#define OSF1_SYS_readlink 58
/* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */
#define OSF1_SYS_execve 59
/* syscall: "umask" ret: "int" args: "int" */
#define OSF1_SYS_umask 60
/* syscall: "chroot" ret: "int" args: "char *" */
#define OSF1_SYS_chroot 61
/* syscall: "getpgrp" ret: "int" args: */
#define OSF1_SYS_getpgrp 63
/* syscall: "getpagesize" ret: "int" args: */
#define OSF1_SYS_getpagesize 64
/* syscall: "vfork" ret: "int" args: */
#define OSF1_SYS_vfork 66
/* syscall: "stat" ret: "int" args: "char *" "struct osf1_stat *" */
#define OSF1_SYS_stat 67
/* syscall: "lstat" ret: "int" args: "char *" "struct osf1_stat *" */
#define OSF1_SYS_lstat 68
/* syscall: "mmap" ret: "caddr_t" args: "caddr_t" "size_t" "int" "int" "int" "off_t" */
#define OSF1_SYS_mmap 71
/* syscall: "munmap" ret: "int" args: "caddr_t" "size_t" */
#define OSF1_SYS_munmap 73
/* syscall: "madvise" ret: "int" args: */
#define OSF1_SYS_madvise 75
/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
#define OSF1_SYS_getgroups 79
/* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
#define OSF1_SYS_setgroups 80
/* syscall: "setpgrp" ret: "int" args: "int" "int" */
#define OSF1_SYS_setpgrp 82
/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
#define OSF1_SYS_setitimer 83
/* syscall: "gethostname" ret: "int" args: "char *" "u_int" */
#define OSF1_SYS_gethostname 87
/* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
#define OSF1_SYS_sethostname 88
/* syscall: "getdtablesize" ret: "int" args: */
#define OSF1_SYS_getdtablesize 89
/* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
#define OSF1_SYS_dup2 90
/* syscall: "fstat" ret: "int" args: "int" "void *" */
#define OSF1_SYS_fstat 91
/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
#define OSF1_SYS_fcntl 92
/* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
#define OSF1_SYS_select 93
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
#define OSF1_SYS_poll 94
/* syscall: "fsync" ret: "int" args: "int" */
#define OSF1_SYS_fsync 95
/* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
#define OSF1_SYS_setpriority 96
/* syscall: "socket" ret: "int" args: "int" "int" "int" */
#define OSF1_SYS_socket 97
/* syscall: "connect" ret: "int" args: "int" "caddr_t" "int" */
#define OSF1_SYS_connect 98
/* syscall: "getpriority" ret: "int" args: "int" "int" */
#define OSF1_SYS_getpriority 100
/* syscall: "send" ret: "int" args: "int" "caddr_t" "int" "int" */
#define OSF1_SYS_send 101
/* syscall: "recv" ret: "int" args: "int" "caddr_t" "int" "int" */
#define OSF1_SYS_recv 102
/* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */
#define OSF1_SYS_sigreturn 103
/* syscall: "bind" ret: "int" args: "int" "caddr_t" "int" */
#define OSF1_SYS_bind 104
/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int" */
#define OSF1_SYS_setsockopt 105
/* syscall: "sigsuspend" ret: "int" args: "int" */
#define OSF1_SYS_sigsuspend 111
/* syscall: "sigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
#define OSF1_SYS_sigstack 112
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define OSF1_SYS_gettimeofday 116
/* syscall: "getrusage" ret: "int" args: */
#define OSF1_SYS_getrusage 117
/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int *" */
#define OSF1_SYS_getsockopt 118
/* syscall: "readv" ret: "int" args: "int" "struct osf1_iovec *" "u_int" */
#define OSF1_SYS_readv 120
/* syscall: "writev" ret: "int" args: "int" "struct osf1_iovec *" "u_int" */
#define OSF1_SYS_writev 121
/* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define OSF1_SYS_settimeofday 122
/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
#define OSF1_SYS_fchown 123
/* syscall: "fchmod" ret: "int" args: "int" "int" */
#define OSF1_SYS_fchmod 124
/* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
#define OSF1_SYS_recvfrom 125
/* syscall: "rename" ret: "int" args: "char *" "char *" */
#define OSF1_SYS_rename 128
/* syscall: "truncate" ret: "int" args: "char *" "off_t" */
#define OSF1_SYS_truncate 129
/* syscall: "ftruncate" ret: "int" args: "int" "off_t" */
#define OSF1_SYS_ftruncate 130
/* syscall: "setgid" ret: "int" args: "gid_t" */
#define OSF1_SYS_setgid 132
/* syscall: "sendto" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int" */
#define OSF1_SYS_sendto 133
/* syscall: "shutdown" ret: "int" args: "int" "int" */
#define OSF1_SYS_shutdown 134
/* syscall: "mkdir" ret: "int" args: "char *" "int" */
#define OSF1_SYS_mkdir 136
/* syscall: "rmdir" ret: "int" args: "char *" */
#define OSF1_SYS_rmdir 137
/* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */
#define OSF1_SYS_utimes 138
/* 139 is obsolete 4.2 sigreturn */
/* syscall: "gethostid" ret: "int32_t" args: */
#define OSF1_SYS_gethostid 142
/* syscall: "sethostid" ret: "int" args: "int32_t" */
#define OSF1_SYS_sethostid 143
/* syscall: "getrlimit" ret: "int" args: "u_int" "struct rlimit *" */
#define OSF1_SYS_getrlimit 144
/* syscall: "setrlimit" ret: "int" args: "u_int" "struct rlimit *" */
#define OSF1_SYS_setrlimit 145
/* syscall: "setsid" ret: "int" args: */
#define OSF1_SYS_setsid 147
/* syscall: "quota" ret: "int" args: */
#define OSF1_SYS_quota 149
/* syscall: "sigaction" ret: "int" args: "int" "struct osf1_sigaction *" "struct osf1_sigaction *" */
#define OSF1_SYS_sigaction 156
/* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
#define OSF1_SYS_getdirentries 159
/* syscall: "statfs" ret: "int" args: "char *" "struct osf1_statfs *" "int" */
#define OSF1_SYS_statfs 160
/* syscall: "fstatfs" ret: "int" args: "int" "struct osf1_statfs *" "int" */
#define OSF1_SYS_fstatfs 161
/* syscall: "getsid" ret: "pid_t" args: "pid_t" */
#define OSF1_SYS_getsid 234
/* syscall: "sigaltstack" ret: "int" args: "struct osf1_sigaltstack *" "struct osf1_sigaltstack *" */
#define OSF1_SYS_sigaltstack 235
/* syscall: "usleep_thread" ret: "int" args: "struct timeval *" "struct timeval *" */
#define OSF1_SYS_usleep_thread 251
/* syscall: "setsysinfo" ret: "int" args: "u_long" "caddr_t" "u_long" "caddr_t" "u_long" */
#define OSF1_SYS_setsysinfo 257
#define OSF1_SYS_MAXSYSCALL 261

View File

@ -5,154 +5,440 @@
* created from NetBSD: syscalls.master,v 1.38 1996/09/07 14:22:01 mycroft Exp
*/
/* syscall: "syscall" ret: "int" args: */
#define SUNOS_SYS_syscall 0
/* syscall: "exit" ret: "int" args: "int" */
#define SUNOS_SYS_exit 1
/* syscall: "fork" ret: "int" args: */
#define SUNOS_SYS_fork 2
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
#define SUNOS_SYS_read 3
/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
#define SUNOS_SYS_write 4
/* syscall: "open" ret: "int" args: "char *" "int" "int" */
#define SUNOS_SYS_open 5
/* syscall: "close" ret: "int" args: "int" */
#define SUNOS_SYS_close 6
/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
#define SUNOS_SYS_wait4 7
/* syscall: "creat" ret: "int" args: "char *" "int" */
#define SUNOS_SYS_creat 8
/* syscall: "link" ret: "int" args: "char *" "char *" */
#define SUNOS_SYS_link 9
/* syscall: "unlink" ret: "int" args: "char *" */
#define SUNOS_SYS_unlink 10
/* syscall: "execv" ret: "int" args: "char *" "char **" */
#define SUNOS_SYS_execv 11
/* syscall: "chdir" ret: "int" args: "char *" */
#define SUNOS_SYS_chdir 12
/* 13 is obsolete time */
/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
#define SUNOS_SYS_mknod 14
/* syscall: "chmod" ret: "int" args: "char *" "int" */
#define SUNOS_SYS_chmod 15
/* syscall: "chown" ret: "int" args: "char *" "int" "int" */
#define SUNOS_SYS_chown 16
/* syscall: "break" ret: "int" args: "char *" */
#define SUNOS_SYS_break 17
/* 18 is obsolete stat */
/* syscall: "lseek" ret: "long" args: "int" "long" "int" */
#define SUNOS_SYS_lseek 19
/* syscall: "getpid" ret: "pid_t" args: */
#define SUNOS_SYS_getpid 20
/* 21 is obsolete sunos_old_mount */
/* syscall: "setuid" ret: "int" args: "uid_t" */
#define SUNOS_SYS_setuid 23
/* syscall: "getuid" ret: "uid_t" args: */
#define SUNOS_SYS_getuid 24
/* syscall: "stime" ret: "int" args: "time_t *" */
#define SUNOS_SYS_stime 25
/* syscall: "ptrace" ret: "long" args: "int" "pid_t" "caddr_t" "int" "char *" */
#define SUNOS_SYS_ptrace 26
/* syscall: "access" ret: "int" args: "char *" "int" */
#define SUNOS_SYS_access 33
/* syscall: "sync" ret: "int" args: */
#define SUNOS_SYS_sync 36
/* syscall: "kill" ret: "int" args: "int" "int" */
#define SUNOS_SYS_kill 37
/* syscall: "stat" ret: "int" args: "char *" "struct ostat *" */
#define SUNOS_SYS_stat 38
/* syscall: "lstat" ret: "int" args: "char *" "struct ostat *" */
#define SUNOS_SYS_lstat 40
/* syscall: "dup" ret: "int" args: "u_int" */
#define SUNOS_SYS_dup 41
/* syscall: "pipe" ret: "int" args: */
#define SUNOS_SYS_pipe 42
/* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
#define SUNOS_SYS_profil 44
/* syscall: "setgid" ret: "int" args: "uid_t" */
#define SUNOS_SYS_setgid 46
/* syscall: "getgid" ret: "gid_t" args: */
#define SUNOS_SYS_getgid 47
/* syscall: "acct" ret: "int" args: "char *" */
#define SUNOS_SYS_acct 51
/* syscall: "mctl" ret: "int" args: "caddr_t" "int" "int" "void *" */
#define SUNOS_SYS_mctl 53
/* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
#define SUNOS_SYS_ioctl 54
/* syscall: "reboot" ret: "int" args: "int" "char *" */
#define SUNOS_SYS_reboot 55
/* 56 is obsolete sunos_owait3 */
/* syscall: "symlink" ret: "int" args: "char *" "char *" */
#define SUNOS_SYS_symlink 57
/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
#define SUNOS_SYS_readlink 58
/* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */
#define SUNOS_SYS_execve 59
/* syscall: "umask" ret: "int" args: "int" */
#define SUNOS_SYS_umask 60
/* syscall: "chroot" ret: "int" args: "char *" */
#define SUNOS_SYS_chroot 61
/* syscall: "fstat" ret: "int" args: "int" "struct ostat *" */
#define SUNOS_SYS_fstat 62
/* syscall: "getpagesize" ret: "int" args: */
#define SUNOS_SYS_getpagesize 64
/* syscall: "omsync" ret: "int" args: "caddr_t" "size_t" "int" */
#define SUNOS_SYS_omsync 65
/* syscall: "vfork" ret: "int" args: */
#define SUNOS_SYS_vfork 66
/* 67 is obsolete vread */
/* 68 is obsolete vwrite */
/* syscall: "sbrk" ret: "int" args: "int" */
#define SUNOS_SYS_sbrk 69
/* syscall: "sstk" ret: "int" args: "int" */
#define SUNOS_SYS_sstk 70
/* syscall: "mmap" ret: "int" args: "caddr_t" "size_t" "int" "int" "int" "long" */
#define SUNOS_SYS_mmap 71
/* syscall: "vadvise" ret: "int" args: "int" */
#define SUNOS_SYS_vadvise 72
/* syscall: "munmap" ret: "int" args: "caddr_t" "size_t" */
#define SUNOS_SYS_munmap 73
/* syscall: "mprotect" ret: "int" args: "caddr_t" "size_t" "int" */
#define SUNOS_SYS_mprotect 74
/* syscall: "madvise" ret: "int" args: "caddr_t" "size_t" "int" */
#define SUNOS_SYS_madvise 75
/* syscall: "vhangup" ret: "int" args: */
#define SUNOS_SYS_vhangup 76
/* syscall: "mincore" ret: "int" args: "caddr_t" "size_t" "char *" */
#define SUNOS_SYS_mincore 78
/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
#define SUNOS_SYS_getgroups 79
/* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
#define SUNOS_SYS_setgroups 80
/* syscall: "getpgrp" ret: "int" args: */
#define SUNOS_SYS_getpgrp 81
/* syscall: "setpgrp" ret: "int" args: "int" "int" */
#define SUNOS_SYS_setpgrp 82
/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
#define SUNOS_SYS_setitimer 83
/* syscall: "swapon" ret: "int" args: "char *" */
#define SUNOS_SYS_swapon 85
/* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
#define SUNOS_SYS_getitimer 86
/* syscall: "gethostname" ret: "int" args: "char *" "u_int" */
#define SUNOS_SYS_gethostname 87
/* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
#define SUNOS_SYS_sethostname 88
/* syscall: "getdtablesize" ret: "int" args: */
#define SUNOS_SYS_getdtablesize 89
/* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
#define SUNOS_SYS_dup2 90
/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
#define SUNOS_SYS_fcntl 92
/* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
#define SUNOS_SYS_select 93
/* syscall: "fsync" ret: "int" args: "int" */
#define SUNOS_SYS_fsync 95
/* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
#define SUNOS_SYS_setpriority 96
/* syscall: "socket" ret: "int" args: "int" "int" "int" */
#define SUNOS_SYS_socket 97
/* syscall: "connect" ret: "int" args: "int" "caddr_t" "int" */
#define SUNOS_SYS_connect 98
/* syscall: "accept" ret: "int" args: "int" "caddr_t" "int *" */
#define SUNOS_SYS_accept 99
/* syscall: "getpriority" ret: "int" args: "int" "int" */
#define SUNOS_SYS_getpriority 100
/* syscall: "send" ret: "int" args: "int" "caddr_t" "int" "int" */
#define SUNOS_SYS_send 101
/* syscall: "recv" ret: "int" args: "int" "caddr_t" "int" "int" */
#define SUNOS_SYS_recv 102
/* syscall: "bind" ret: "int" args: "int" "caddr_t" "int" */
#define SUNOS_SYS_bind 104
/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int" */
#define SUNOS_SYS_setsockopt 105
/* syscall: "listen" ret: "int" args: "int" "int" */
#define SUNOS_SYS_listen 106
/* syscall: "sigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
#define SUNOS_SYS_sigvec 108
/* syscall: "sigblock" ret: "int" args: "int" */
#define SUNOS_SYS_sigblock 109
/* syscall: "sigsetmask" ret: "int" args: "int" */
#define SUNOS_SYS_sigsetmask 110
/* syscall: "sigsuspend" ret: "int" args: "int" */
#define SUNOS_SYS_sigsuspend 111
/* syscall: "sigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
#define SUNOS_SYS_sigstack 112
/* syscall: "recvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */
#define SUNOS_SYS_recvmsg 113
/* syscall: "sendmsg" ret: "int" args: "int" "caddr_t" "int" */
#define SUNOS_SYS_sendmsg 114
/* 115 is obsolete vtrace */
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define SUNOS_SYS_gettimeofday 116
/* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
#define SUNOS_SYS_getrusage 117
/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int *" */
#define SUNOS_SYS_getsockopt 118
/* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
#define SUNOS_SYS_readv 120
/* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
#define SUNOS_SYS_writev 121
/* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define SUNOS_SYS_settimeofday 122
/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
#define SUNOS_SYS_fchown 123
/* syscall: "fchmod" ret: "int" args: "int" "int" */
#define SUNOS_SYS_fchmod 124
/* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
#define SUNOS_SYS_recvfrom 125
/* syscall: "setreuid" ret: "int" args: "int" "int" */
#define SUNOS_SYS_setreuid 126
/* syscall: "setregid" ret: "int" args: "int" "int" */
#define SUNOS_SYS_setregid 127
/* syscall: "rename" ret: "int" args: "char *" "char *" */
#define SUNOS_SYS_rename 128
/* syscall: "truncate" ret: "int" args: "char *" "long" */
#define SUNOS_SYS_truncate 129
/* syscall: "ftruncate" ret: "int" args: "int" "long" */
#define SUNOS_SYS_ftruncate 130
/* syscall: "flock" ret: "int" args: "int" "int" */
#define SUNOS_SYS_flock 131
/* syscall: "sendto" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int" */
#define SUNOS_SYS_sendto 133
/* syscall: "shutdown" ret: "int" args: "int" "int" */
#define SUNOS_SYS_shutdown 134
/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
#define SUNOS_SYS_socketpair 135
/* syscall: "mkdir" ret: "int" args: "char *" "int" */
#define SUNOS_SYS_mkdir 136
/* syscall: "rmdir" ret: "int" args: "char *" */
#define SUNOS_SYS_rmdir 137
/* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */
#define SUNOS_SYS_utimes 138
/* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */
#define SUNOS_SYS_sigreturn 139
/* syscall: "adjtime" ret: "int" args: "struct timeval *" "struct timeval *" */
#define SUNOS_SYS_adjtime 140
/* syscall: "getpeername" ret: "int" args: "int" "caddr_t" "int *" */
#define SUNOS_SYS_getpeername 141
/* syscall: "gethostid" ret: "int" args: */
#define SUNOS_SYS_gethostid 142
/* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
#define SUNOS_SYS_getrlimit 144
/* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
#define SUNOS_SYS_setrlimit 145
/* syscall: "killpg" ret: "int" args: "int" "int" */
#define SUNOS_SYS_killpg 146
/* syscall: "getsockname" ret: "int" args: "int" "caddr_t" "int *" */
#define SUNOS_SYS_getsockname 150
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
#define SUNOS_SYS_poll 153
/* syscall: "nfssvc" ret: "int" args: "int" */
#define SUNOS_SYS_nfssvc 155
/* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
#define SUNOS_SYS_getdirentries 156
/* syscall: "statfs" ret: "int" args: "char *" "struct sunos_statfs *" */
#define SUNOS_SYS_statfs 157
/* syscall: "fstatfs" ret: "int" args: "int" "struct sunos_statfs *" */
#define SUNOS_SYS_fstatfs 158
/* syscall: "unmount" ret: "int" args: "char *" */
#define SUNOS_SYS_unmount 159
/* syscall: "async_daemon" ret: "int" args: */
#define SUNOS_SYS_async_daemon 160
/* syscall: "getfh" ret: "int" args: "char *" "fhandle_t *" */
#define SUNOS_SYS_getfh 161
/* syscall: "getdomainname" ret: "int" args: "char *" "int" */
#define SUNOS_SYS_getdomainname 162
/* syscall: "setdomainname" ret: "int" args: "char *" "int" */
#define SUNOS_SYS_setdomainname 163
/* syscall: "quotactl" ret: "int" args: "int" "char *" "int" "caddr_t" */
#define SUNOS_SYS_quotactl 165
/* syscall: "exportfs" ret: "int" args: "char *" "char *" */
#define SUNOS_SYS_exportfs 166
/* syscall: "mount" ret: "int" args: "char *" "char *" "int" "caddr_t" */
#define SUNOS_SYS_mount 167
/* syscall: "ustat" ret: "int" args: "int" "struct sunos_ustat *" */
#define SUNOS_SYS_ustat 168
/* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */
#define SUNOS_SYS_semsys 169
/* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
#define SUNOS_SYS_msgsys 170
/* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
#define SUNOS_SYS_shmsys 171
/* syscall: "auditsys" ret: "int" args: "char *" */
#define SUNOS_SYS_auditsys 172
/* syscall: "getdents" ret: "int" args: "int" "char *" "int" */
#define SUNOS_SYS_getdents 174
/* syscall: "setsid" ret: "int" args: */
#define SUNOS_SYS_setsid 175
/* syscall: "fchdir" ret: "int" args: "int" */
#define SUNOS_SYS_fchdir 176
/* syscall: "fchroot" ret: "int" args: "int" */
#define SUNOS_SYS_fchroot 177
/* syscall: "sigpending" ret: "int" args: "int *" */
#define SUNOS_SYS_sigpending 183
/* syscall: "setpgid" ret: "int" args: "int" "int" */
#define SUNOS_SYS_setpgid 185
/* syscall: "pathconf" ret: "long" args: "char *" "int" */
#define SUNOS_SYS_pathconf 186
/* syscall: "fpathconf" ret: "long" args: "int" "int" */
#define SUNOS_SYS_fpathconf 187
/* syscall: "sysconf" ret: "int" args: "int" */
#define SUNOS_SYS_sysconf 188
/* syscall: "uname" ret: "int" args: "struct sunos_utsname *" */
#define SUNOS_SYS_uname 189
#define SUNOS_SYS_MAXSYSCALL 190

View File

@ -5,55 +5,153 @@
* created from NetBSD: syscalls.master,v 1.20 1996/12/06 03:25:07 christos Exp
*/
/* syscall: "syscall" ret: "int" args: */
#define SVR4_SYS_syscall 0
/* syscall: "exit" ret: "int" args: "int" */
#define SVR4_SYS_exit 1
/* syscall: "fork" ret: "int" args: */
#define SVR4_SYS_fork 2
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
#define SVR4_SYS_read 3
/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
#define SVR4_SYS_write 4
/* syscall: "open" ret: "int" args: "char *" "int" "int" */
#define SVR4_SYS_open 5
/* syscall: "close" ret: "int" args: "int" */
#define SVR4_SYS_close 6
/* syscall: "wait" ret: "int" args: "int *" */
#define SVR4_SYS_wait 7
/* syscall: "creat" ret: "int" args: "char *" "int" */
#define SVR4_SYS_creat 8
/* syscall: "link" ret: "int" args: "char *" "char *" */
#define SVR4_SYS_link 9
/* syscall: "unlink" ret: "int" args: "char *" */
#define SVR4_SYS_unlink 10
/* syscall: "execv" ret: "int" args: "char *" "char **" */
#define SVR4_SYS_execv 11
/* syscall: "chdir" ret: "int" args: "char *" */
#define SVR4_SYS_chdir 12
/* syscall: "time" ret: "int" args: "svr4_time_t *" */
#define SVR4_SYS_time 13
/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
#define SVR4_SYS_mknod 14
/* syscall: "chmod" ret: "int" args: "char *" "int" */
#define SVR4_SYS_chmod 15
/* syscall: "chown" ret: "int" args: "char *" "int" "int" */
#define SVR4_SYS_chown 16
/* syscall: "break" ret: "int" args: "caddr_t" */
#define SVR4_SYS_break 17
/* syscall: "stat" ret: "int" args: "char *" "struct svr4_stat *" */
#define SVR4_SYS_stat 18
/* syscall: "lseek" ret: "long" args: "int" "long" "int" */
#define SVR4_SYS_lseek 19
/* syscall: "getpid" ret: "pid_t" args: */
#define SVR4_SYS_getpid 20
/* syscall: "setuid" ret: "int" args: "uid_t" */
#define SVR4_SYS_setuid 23
/* syscall: "getuid" ret: "uid_t" args: */
#define SVR4_SYS_getuid 24
/* syscall: "alarm" ret: "int" args: "unsigned" */
#define SVR4_SYS_alarm 27
/* syscall: "fstat" ret: "int" args: "int" "struct svr4_stat *" */
#define SVR4_SYS_fstat 28
/* syscall: "pause" ret: "int" args: */
#define SVR4_SYS_pause 29
/* syscall: "utime" ret: "int" args: "char *" "struct svr4_utimbuf *" */
#define SVR4_SYS_utime 30
/* syscall: "access" ret: "int" args: "char *" "int" */
#define SVR4_SYS_access 33
/* syscall: "sync" ret: "int" args: */
#define SVR4_SYS_sync 36
/* syscall: "kill" ret: "int" args: "int" "int" */
#define SVR4_SYS_kill 37
/* syscall: "pgrpsys" ret: "int" args: "int" "int" "int" */
#define SVR4_SYS_pgrpsys 39
/* syscall: "dup" ret: "int" args: "u_int" */
#define SVR4_SYS_dup 41
/* syscall: "pipe" ret: "int" args: */
#define SVR4_SYS_pipe 42
/* syscall: "times" ret: "int" args: "struct tms *" */
#define SVR4_SYS_times 43
/* syscall: "setgid" ret: "int" args: "gid_t" */
#define SVR4_SYS_setgid 46
/* syscall: "getgid" ret: "gid_t" args: */
#define SVR4_SYS_getgid 47
/* syscall: "signal" ret: "int" args: "int" "svr4_sig_t" */
#define SVR4_SYS_signal 48
/* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" */
#define SVR4_SYS_msgsys 49
/* syscall: "sysarch" ret: "int" args: "int" "void *" */
#define SVR4_SYS_sysarch 50
/* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
#define SVR4_SYS_shmsys 52
/* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */
#define SVR4_SYS_semsys 53
/* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
#define SVR4_SYS_ioctl 54
/* syscall: "utssys" ret: "int" args: "void *" "void *" "int" "void *" */
#define SVR4_SYS_utssys 57
/* syscall: "fsync" ret: "int" args: "int" */
#define SVR4_SYS_fsync 58
/* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */
#define SVR4_SYS_execve 59
/* syscall: "umask" ret: "int" args: "int" */
#define SVR4_SYS_umask 60
/* syscall: "chroot" ret: "int" args: "char *" */
#define SVR4_SYS_chroot 61
/* syscall: "fcntl" ret: "int" args: "int" "int" "char *" */
#define SVR4_SYS_fcntl 62
/* syscall: "ulimit" ret: "long" args: "int" "long" */
#define SVR4_SYS_ulimit 63
/* 70 is obsolete advfs */
/* 71 is obsolete unadvfs */
/* 72 is obsolete rmount */
@ -62,62 +160,174 @@
/* 75 is obsolete sigret */
/* 76 is obsolete rdebug */
/* 77 is obsolete rfstop */
/* syscall: "rmdir" ret: "int" args: "char *" */
#define SVR4_SYS_rmdir 79
/* syscall: "mkdir" ret: "int" args: "char *" "int" */
#define SVR4_SYS_mkdir 80
/* syscall: "getdents" ret: "int" args: "int" "char *" "int" */
#define SVR4_SYS_getdents 81
/* 82 is obsolete libattach */
/* 83 is obsolete libdetach */
/* syscall: "getmsg" ret: "int" args: "int" "struct svr4_strbuf *" "struct svr4_strbuf *" "int *" */
#define SVR4_SYS_getmsg 85
/* syscall: "putmsg" ret: "int" args: "int" "struct svr4_strbuf *" "struct svr4_strbuf *" "int" */
#define SVR4_SYS_putmsg 86
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
#define SVR4_SYS_poll 87
/* syscall: "lstat" ret: "int" args: "char *" "struct svr4_stat *" */
#define SVR4_SYS_lstat 88
/* syscall: "symlink" ret: "int" args: "char *" "char *" */
#define SVR4_SYS_symlink 89
/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
#define SVR4_SYS_readlink 90
/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
#define SVR4_SYS_getgroups 91
/* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
#define SVR4_SYS_setgroups 92
/* syscall: "fchmod" ret: "int" args: "int" "int" */
#define SVR4_SYS_fchmod 93
/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
#define SVR4_SYS_fchown 94
/* syscall: "sigprocmask" ret: "int" args: "int" "svr4_sigset_t *" "svr4_sigset_t *" */
#define SVR4_SYS_sigprocmask 95
/* syscall: "sigsuspend" ret: "int" args: "svr4_sigset_t *" */
#define SVR4_SYS_sigsuspend 96
/* syscall: "sigaltstack" ret: "int" args: "struct svr4_sigaltstack *" "struct svr4_sigaltstack *" */
#define SVR4_SYS_sigaltstack 97
/* syscall: "sigaction" ret: "int" args: "int" "struct svr4_sigaction *" "struct svr4_sigaction *" */
#define SVR4_SYS_sigaction 98
/* syscall: "sigpending" ret: "int" args: "int" "svr4_sigset_t *" */
#define SVR4_SYS_sigpending 99
/* syscall: "context" ret: "int" args: "int" "struct svr4_ucontext *" */
#define SVR4_SYS_context 100
/* syscall: "statvfs" ret: "int" args: "char *" "struct svr4_statvfs *" */
#define SVR4_SYS_statvfs 103
/* syscall: "fstatvfs" ret: "int" args: "int" "struct svr4_statvfs *" */
#define SVR4_SYS_fstatvfs 104
/* syscall: "waitsys" ret: "int" args: "int" "int" "union svr4_siginfo *" "int" */
#define SVR4_SYS_waitsys 107
/* syscall: "hrtsys" ret: "int" args: "int" "int" "int" "void *" "void *" */
#define SVR4_SYS_hrtsys 109
/* syscall: "pathconf" ret: "int" args: "char *" "int" */
#define SVR4_SYS_pathconf 113
/* syscall: "mmap" ret: "int" args: "svr4_caddr_t" "svr4_size_t" "int" "int" "int" "svr4_off_t" */
#define SVR4_SYS_mmap 115
/* syscall: "mprotect" ret: "int" args: "caddr_t" "int" "int" */
#define SVR4_SYS_mprotect 116
/* syscall: "munmap" ret: "int" args: "caddr_t" "int" */
#define SVR4_SYS_munmap 117
/* syscall: "fpathconf" ret: "int" args: "int" "int" */
#define SVR4_SYS_fpathconf 118
/* syscall: "vfork" ret: "int" args: */
#define SVR4_SYS_vfork 119
/* syscall: "fchdir" ret: "int" args: "int" */
#define SVR4_SYS_fchdir 120
/* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
#define SVR4_SYS_readv 121
/* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
#define SVR4_SYS_writev 122
/* syscall: "xstat" ret: "int" args: "int" "char *" "struct svr4_xstat *" */
#define SVR4_SYS_xstat 123
/* syscall: "lxstat" ret: "int" args: "int" "char *" "struct svr4_xstat *" */
#define SVR4_SYS_lxstat 124
/* syscall: "fxstat" ret: "int" args: "int" "int" "struct svr4_xstat *" */
#define SVR4_SYS_fxstat 125
/* syscall: "xmknod" ret: "int" args: "int" "char *" "svr4_mode_t" "svr4_dev_t" */
#define SVR4_SYS_xmknod 126
/* syscall: "setrlimit" ret: "int" args: "int" "struct ogetrlimit *" */
#define SVR4_SYS_setrlimit 128
/* syscall: "getrlimit" ret: "int" args: "int" "struct ogetrlimit *" */
#define SVR4_SYS_getrlimit 129
/* syscall: "memcntl" ret: "int" args: "svr4_caddr_t" "svr4_size_t" "int" "svr4_caddr_t" "int" "int" */
#define SVR4_SYS_memcntl 131
/* syscall: "rename" ret: "int" args: "char *" "char *" */
#define SVR4_SYS_rename 134
/* syscall: "uname" ret: "int" args: "struct svr4_utsname *" "int" */
#define SVR4_SYS_uname 135
/* syscall: "setegid" ret: "int" args: "gid_t" */
#define SVR4_SYS_setegid 136
/* syscall: "sysconfig" ret: "int" args: "int" */
#define SVR4_SYS_sysconfig 137
/* syscall: "adjtime" ret: "int" args: "struct timeval *" "struct timeval *" */
#define SVR4_SYS_adjtime 138
/* syscall: "systeminfo" ret: "long" args: "int" "char *" "long" */
#define SVR4_SYS_systeminfo 139
/* syscall: "seteuid" ret: "int" args: "uid_t" */
#define SVR4_SYS_seteuid 141
/* syscall: "fchroot" ret: "int" args: "int" */
#define SVR4_SYS_fchroot 153
/* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */
#define SVR4_SYS_utimes 154
/* syscall: "vhangup" ret: "int" args: */
#define SVR4_SYS_vhangup 155
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" */
#define SVR4_SYS_gettimeofday 156
/* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
#define SVR4_SYS_getitimer 157
/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
#define SVR4_SYS_setitimer 158
/* syscall: "acl" ret: "int" args: "char *" "int" "int" "struct svr4_aclent *" */
#define SVR4_SYS_acl 185
/* syscall: "facl" ret: "int" args: "int" "int" "int" "struct svr4_aclent *" */
#define SVR4_SYS_facl 200
/* syscall: "setreuid" ret: "int" args: "int" "int" */
#define SVR4_SYS_setreuid 202
/* syscall: "setregid" ret: "int" args: "int" "int" */
#define SVR4_SYS_setregid 203
#define SVR4_SYS_MAXSYSCALL 213

View File

@ -5,31 +5,75 @@
* created from NetBSD: syscalls.master,v 1.17 1996/09/03 03:12:42 mycroft Exp
*/
/* syscall: "syscall" ret: "int" args: */
#define ULTRIX_SYS_syscall 0
/* syscall: "exit" ret: "int" args: "int" */
#define ULTRIX_SYS_exit 1
/* syscall: "fork" ret: "int" args: */
#define ULTRIX_SYS_fork 2
/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
#define ULTRIX_SYS_read 3
/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
#define ULTRIX_SYS_write 4
/* syscall: "open" ret: "int" args: "char *" "int" "int" */
#define ULTRIX_SYS_open 5
/* syscall: "close" ret: "int" args: "int" */
#define ULTRIX_SYS_close 6
/* syscall: "owait" ret: "int" args: */
#define ULTRIX_SYS_owait 7
/* syscall: "creat" ret: "int" args: "char *" "int" */
#define ULTRIX_SYS_creat 8
/* syscall: "link" ret: "int" args: "char *" "char *" */
#define ULTRIX_SYS_link 9
/* syscall: "unlink" ret: "int" args: "char *" */
#define ULTRIX_SYS_unlink 10
/* syscall: "execv" ret: "int" args: "char *" "char **" */
#define ULTRIX_SYS_execv 11
/* syscall: "chdir" ret: "int" args: "char *" */
#define ULTRIX_SYS_chdir 12
/* 13 is obsolete time */
/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
#define ULTRIX_SYS_mknod 14
/* syscall: "chmod" ret: "int" args: "char *" "int" */
#define ULTRIX_SYS_chmod 15
/* syscall: "chown" ret: "int" args: "char *" "int" "int" */
#define ULTRIX_SYS_chown 16
/* syscall: "break" ret: "int" args: "char *" */
#define ULTRIX_SYS_break 17
/* 18 is obsolete stat */
/* syscall: "lseek" ret: "long" args: "int" "long" "int" */
#define ULTRIX_SYS_lseek 19
/* syscall: "getpid" ret: "pid_t" args: */
#define ULTRIX_SYS_getpid 20
/* syscall: "mount" ret: "int" args: "char *" "char *" "int" "int" "caddr_t" */
#define ULTRIX_SYS_mount 21
/* 22 is obsolete sysV_unmount */
/* syscall: "setuid" ret: "int" args: "uid_t" */
#define ULTRIX_SYS_setuid 23
/* syscall: "getuid" ret: "uid_t" args: */
#define ULTRIX_SYS_getuid 24
/* 25 is obsolete v7 stime */
/* 26 is obsolete v7 ptrace */
/* 27 is obsolete v7 alarm */
@ -38,121 +82,339 @@
/* 30 is obsolete v7 utime */
/* 31 is obsolete v7 stty */
/* 32 is obsolete v7 gtty */
/* syscall: "access" ret: "int" args: "char *" "int" */
#define ULTRIX_SYS_access 33
/* 34 is obsolete v7 nice */
/* 35 is obsolete v7 ftime */
/* syscall: "sync" ret: "int" args: */
#define ULTRIX_SYS_sync 36
/* syscall: "kill" ret: "int" args: "int" "int" */
#define ULTRIX_SYS_kill 37
/* syscall: "ostat" ret: "int" args: "char *" "struct ostat *" */
#define ULTRIX_SYS_ostat 38
/* 39 is obsolete v7 setpgrp */
/* syscall: "olstat" ret: "int" args: "char *" "struct ostat *" */
#define ULTRIX_SYS_olstat 40
/* syscall: "dup" ret: "int" args: "u_int" */
#define ULTRIX_SYS_dup 41
/* syscall: "pipe" ret: "int" args: */
#define ULTRIX_SYS_pipe 42
/* 43 is obsolete v7 times */
/* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
#define ULTRIX_SYS_profil 44
/* 46 is obsolete v7 setgid */
/* syscall: "getgid" ret: "gid_t" args: */
#define ULTRIX_SYS_getgid 47
/* syscall: "acct" ret: "int" args: "char *" */
#define ULTRIX_SYS_acct 51
/* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
#define ULTRIX_SYS_ioctl 54
/* syscall: "reboot" ret: "int" args: "int" */
#define ULTRIX_SYS_reboot 55
/* syscall: "symlink" ret: "int" args: "char *" "char *" */
#define ULTRIX_SYS_symlink 57
/* syscall: "readlink" ret: "int" args: "char *" "char *" "int" */
#define ULTRIX_SYS_readlink 58
/* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */
#define ULTRIX_SYS_execve 59
/* syscall: "umask" ret: "int" args: "int" */
#define ULTRIX_SYS_umask 60
/* syscall: "chroot" ret: "int" args: "char *" */
#define ULTRIX_SYS_chroot 61
/* syscall: "fstat" ret: "int" args: "int" "struct ostat *" */
#define ULTRIX_SYS_fstat 62
/* syscall: "getpagesize" ret: "int" args: */
#define ULTRIX_SYS_getpagesize 64
/* syscall: "vfork" ret: "int" args: */
#define ULTRIX_SYS_vfork 66
/* 67 is obsolete vread */
/* 68 is obsolete vwrite */
/* syscall: "sbrk" ret: "int" args: "int" */
#define ULTRIX_SYS_sbrk 69
/* syscall: "sstk" ret: "int" args: "int" */
#define ULTRIX_SYS_sstk 70
/* syscall: "mmap" ret: "int" args: "caddr_t" "size_t" "int" "u_int" "int" "long" */
#define ULTRIX_SYS_mmap 71
/* syscall: "vadvise" ret: "int" args: "int" */
#define ULTRIX_SYS_vadvise 72
/* syscall: "munmap" ret: "int" args: "caddr_t" "size_t" */
#define ULTRIX_SYS_munmap 73
/* syscall: "mprotect" ret: "int" args: "caddr_t" "size_t" "int" */
#define ULTRIX_SYS_mprotect 74
/* syscall: "madvise" ret: "int" args: "caddr_t" "size_t" "int" */
#define ULTRIX_SYS_madvise 75
/* syscall: "vhangup" ret: "int" args: */
#define ULTRIX_SYS_vhangup 76
/* syscall: "mincore" ret: "int" args: "caddr_t" "int" "char *" */
#define ULTRIX_SYS_mincore 78
/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
#define ULTRIX_SYS_getgroups 79
/* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
#define ULTRIX_SYS_setgroups 80
/* syscall: "getpgrp" ret: "int" args: */
#define ULTRIX_SYS_getpgrp 81
/* syscall: "setpgrp" ret: "int" args: "int" "int" */
#define ULTRIX_SYS_setpgrp 82
/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
#define ULTRIX_SYS_setitimer 83
/* syscall: "wait3" ret: "int" args: "int *" "int" "struct rusage *" */
#define ULTRIX_SYS_wait3 84
/* syscall: "swapon" ret: "int" args: "char *" */
#define ULTRIX_SYS_swapon 85
/* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
#define ULTRIX_SYS_getitimer 86
/* syscall: "gethostname" ret: "int" args: "char *" "u_int" */
#define ULTRIX_SYS_gethostname 87
/* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
#define ULTRIX_SYS_sethostname 88
/* syscall: "getdtablesize" ret: "int" args: */
#define ULTRIX_SYS_getdtablesize 89
/* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
#define ULTRIX_SYS_dup2 90
/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
#define ULTRIX_SYS_fcntl 92
/* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
#define ULTRIX_SYS_select 93
/* syscall: "fsync" ret: "int" args: "int" */
#define ULTRIX_SYS_fsync 95
/* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
#define ULTRIX_SYS_setpriority 96
/* syscall: "socket" ret: "int" args: "int" "int" "int" */
#define ULTRIX_SYS_socket 97
/* syscall: "connect" ret: "int" args: "int" "caddr_t" "int" */
#define ULTRIX_SYS_connect 98
/* syscall: "accept" ret: "int" args: "int" "caddr_t" "int *" */
#define ULTRIX_SYS_accept 99
/* syscall: "getpriority" ret: "int" args: "int" "int" */
#define ULTRIX_SYS_getpriority 100
/* syscall: "send" ret: "int" args: "int" "caddr_t" "int" "int" */
#define ULTRIX_SYS_send 101
/* syscall: "recv" ret: "int" args: "int" "caddr_t" "int" "int" */
#define ULTRIX_SYS_recv 102
/* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */
#define ULTRIX_SYS_sigreturn 103
/* syscall: "bind" ret: "int" args: "int" "caddr_t" "int" */
#define ULTRIX_SYS_bind 104
/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int" */
#define ULTRIX_SYS_setsockopt 105
/* syscall: "listen" ret: "int" args: "int" "int" */
#define ULTRIX_SYS_listen 106
/* syscall: "sigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
#define ULTRIX_SYS_sigvec 108
/* syscall: "sigblock" ret: "int" args: "int" */
#define ULTRIX_SYS_sigblock 109
/* syscall: "sigsetmask" ret: "int" args: "int" */
#define ULTRIX_SYS_sigsetmask 110
/* syscall: "sigsuspend" ret: "int" args: "int" */
#define ULTRIX_SYS_sigsuspend 111
/* syscall: "sigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
#define ULTRIX_SYS_sigstack 112
/* syscall: "recvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */
#define ULTRIX_SYS_recvmsg 113
/* syscall: "sendmsg" ret: "int" args: "int" "caddr_t" "int" */
#define ULTRIX_SYS_sendmsg 114
/* 115 is obsolete vtrace */
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define ULTRIX_SYS_gettimeofday 116
/* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
#define ULTRIX_SYS_getrusage 117
/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "caddr_t" "int *" */
#define ULTRIX_SYS_getsockopt 118
/* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
#define ULTRIX_SYS_readv 120
/* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
#define ULTRIX_SYS_writev 121
/* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define ULTRIX_SYS_settimeofday 122
/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
#define ULTRIX_SYS_fchown 123
/* syscall: "fchmod" ret: "int" args: "int" "int" */
#define ULTRIX_SYS_fchmod 124
/* syscall: "recvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
#define ULTRIX_SYS_recvfrom 125
/* syscall: "setreuid" ret: "int" args: "int" "int" */
#define ULTRIX_SYS_setreuid 126
/* syscall: "setregid" ret: "int" args: "int" "int" */
#define ULTRIX_SYS_setregid 127
/* syscall: "rename" ret: "int" args: "char *" "char *" */
#define ULTRIX_SYS_rename 128
/* syscall: "truncate" ret: "int" args: "char *" "long" */
#define ULTRIX_SYS_truncate 129
/* syscall: "ftruncate" ret: "int" args: "int" "long" */
#define ULTRIX_SYS_ftruncate 130
/* syscall: "flock" ret: "int" args: "int" "int" */
#define ULTRIX_SYS_flock 131
/* syscall: "sendto" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int" */
#define ULTRIX_SYS_sendto 133
/* syscall: "shutdown" ret: "int" args: "int" "int" */
#define ULTRIX_SYS_shutdown 134
/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
#define ULTRIX_SYS_socketpair 135
/* syscall: "mkdir" ret: "int" args: "char *" "int" */
#define ULTRIX_SYS_mkdir 136
/* syscall: "rmdir" ret: "int" args: "char *" */
#define ULTRIX_SYS_rmdir 137
/* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */
#define ULTRIX_SYS_utimes 138
/* syscall: "sigcleanup" ret: "int" args: "struct sigcontext *" */
#define ULTRIX_SYS_sigcleanup 139
/* syscall: "adjtime" ret: "int" args: "struct timeval *" "struct timeval *" */
#define ULTRIX_SYS_adjtime 140
/* syscall: "getpeername" ret: "int" args: "int" "caddr_t" "int *" */
#define ULTRIX_SYS_getpeername 141
/* syscall: "gethostid" ret: "int" args: */
#define ULTRIX_SYS_gethostid 142
/* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
#define ULTRIX_SYS_getrlimit 144
/* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
#define ULTRIX_SYS_setrlimit 145
/* syscall: "killpg" ret: "int" args: "int" "int" */
#define ULTRIX_SYS_killpg 146
/* syscall: "getsockname" ret: "int" args: "int" "caddr_t" "int *" */
#define ULTRIX_SYS_getsockname 150
/* syscall: "nfssvc" ret: "int" args: "int" */
#define ULTRIX_SYS_nfssvc 158
/* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
#define ULTRIX_SYS_getdirentries 159
/* syscall: "statfs" ret: "int" args: "char *" "struct ultrix_statfs *" */
#define ULTRIX_SYS_statfs 160
/* syscall: "fstatfs" ret: "int" args: "int" "struct ultrix_statfs *" */
#define ULTRIX_SYS_fstatfs 161
/* syscall: "async_daemon" ret: "int" args: */
#define ULTRIX_SYS_async_daemon 163
/* syscall: "getfh" ret: "int" args: "char *" "fhandle_t *" */
#define ULTRIX_SYS_getfh 164
/* syscall: "getdomainname" ret: "int" args: "char *" "int" */
#define ULTRIX_SYS_getdomainname 165
/* syscall: "setdomainname" ret: "int" args: "char *" "int" */
#define ULTRIX_SYS_setdomainname 166
/* syscall: "quotactl" ret: "int" args: "int" "char *" "int" "caddr_t" */
#define ULTRIX_SYS_quotactl 168
/* syscall: "exportfs" ret: "int" args: "char *" "char *" */
#define ULTRIX_SYS_exportfs 169
/* syscall: "uname" ret: "int" args: "struct ultrix_utsname *" */
#define ULTRIX_SYS_uname 179
/* syscall: "ustat" ret: "int" args: "int" "struct ultrix_ustat *" */
#define ULTRIX_SYS_ustat 183
/* syscall: "getmnt" ret: "int" args: "int *" "struct ultrix_fs_data *" "int" "int" "char *" */
#define ULTRIX_SYS_getmnt 184
/* syscall: "sigpending" ret: "int" args: "int *" */
#define ULTRIX_SYS_sigpending 187
/* syscall: "setsid" ret: "int" args: */
#define ULTRIX_SYS_setsid 188
/* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */
#define ULTRIX_SYS_waitpid 189
/* syscall: "getsysinfo" ret: "int" args: "unsigned" "char *" "unsigned" "int *" "char *" */
#define ULTRIX_SYS_getsysinfo 256
/* syscall: "setsysinfo" ret: "int" args: "unsigned" "char *" "unsigned" "unsigned" "unsigned" */
#define ULTRIX_SYS_setsysinfo 257
#define ULTRIX_SYS_MAXSYSCALL 258