1994-06-02 10:25:37 +04:00
|
|
|
/*
|
|
|
|
* System call numbers.
|
|
|
|
*
|
|
|
|
* DO NOT EDIT-- this file is automatically generated.
|
1995-04-22 23:48:19 +04:00
|
|
|
* created from NetBSD: syscalls.master,v 1.9 1995/02/01 05:09:14 mellon Exp
|
1994-06-02 10:25:37 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
#define ULTRIX_SYS_syscall 0
|
|
|
|
#define ULTRIX_SYS_exit 1
|
|
|
|
#define ULTRIX_SYS_fork 2
|
|
|
|
#define ULTRIX_SYS_read 3
|
|
|
|
#define ULTRIX_SYS_write 4
|
|
|
|
#define ULTRIX_SYS_sun_open 5
|
|
|
|
#define ULTRIX_SYS_close 6
|
1995-04-22 23:48:19 +04:00
|
|
|
#define ULTRIX_SYS_compat_43_creat 8
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_link 9
|
|
|
|
#define ULTRIX_SYS_unlink 10
|
|
|
|
#define ULTRIX_SYS_sun_execv 11
|
|
|
|
#define ULTRIX_SYS_chdir 12
|
1994-11-23 20:49:06 +03:00
|
|
|
/* 13 is obsolete sun_time */
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_sun_mknod 14
|
|
|
|
#define ULTRIX_SYS_chmod 15
|
|
|
|
#define ULTRIX_SYS_chown 16
|
|
|
|
#define ULTRIX_SYS_break 17
|
1994-11-23 20:49:06 +03:00
|
|
|
/* 18 is obsolete sun_stat */
|
|
|
|
#define ULTRIX_SYS_compat_43_lseek 19
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_getpid 20
|
1994-11-23 20:49:06 +03:00
|
|
|
/* 21 is obsolete ultrix_mount */
|
|
|
|
/* 22 is obsolete sun_or_sysV_unmount */
|
|
|
|
#define ULTRIX_SYS_setuid 23
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_getuid 24
|
1994-11-23 20:49:06 +03:00
|
|
|
/* 25 is obsolete v7 stime */
|
|
|
|
/* 26 is obsolete v7 ptrace */
|
|
|
|
/* 27 is obsolete v7 alarm */
|
|
|
|
/* 28 is obsolete v7 fstat */
|
|
|
|
/* 29 is obsolete v7 pause */
|
|
|
|
/* 30 is obsolete v7 utime */
|
|
|
|
/* 31 is obsolete v7 stty */
|
|
|
|
/* 32 is obsolete v7 gtty */
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_access 33
|
1994-11-23 20:49:06 +03:00
|
|
|
/* 34 is obsolete v7 nice */
|
|
|
|
/* 35 is obsolete v7 ftime */
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_sync 36
|
|
|
|
#define ULTRIX_SYS_kill 37
|
1994-11-23 20:49:06 +03:00
|
|
|
#define ULTRIX_SYS_compat_43_stat 38
|
|
|
|
/* 39 is obsolete v7 setpgrp */
|
|
|
|
#define ULTRIX_SYS_compat_43_lstat 40
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_dup 41
|
|
|
|
#define ULTRIX_SYS_pipe 42
|
1994-11-23 20:49:06 +03:00
|
|
|
/* 43 is obsolete v7 times */
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_profil 44
|
1994-11-23 20:49:06 +03:00
|
|
|
/* 46 is obsolete v7 setgid */
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_getgid 47
|
|
|
|
#define ULTRIX_SYS_acct 51
|
1995-04-22 23:48:19 +04:00
|
|
|
#define ULTRIX_SYS_ioctl 54
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_reboot 55
|
|
|
|
#define ULTRIX_SYS_symlink 57
|
|
|
|
#define ULTRIX_SYS_readlink 58
|
|
|
|
#define ULTRIX_SYS_execve 59
|
|
|
|
#define ULTRIX_SYS_umask 60
|
|
|
|
#define ULTRIX_SYS_chroot 61
|
1994-11-23 20:49:06 +03:00
|
|
|
#define ULTRIX_SYS_compat_43_fstat 62
|
|
|
|
#define ULTRIX_SYS_compat_43_getpagesize 64
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_vfork 66
|
|
|
|
/* 67 is obsolete vread */
|
|
|
|
/* 68 is obsolete vwrite */
|
|
|
|
#define ULTRIX_SYS_sbrk 69
|
|
|
|
#define ULTRIX_SYS_sstk 70
|
1994-11-23 20:49:06 +03:00
|
|
|
#define ULTRIX_SYS_sun_mmap 71
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_vadvise 72
|
|
|
|
#define ULTRIX_SYS_munmap 73
|
|
|
|
#define ULTRIX_SYS_mprotect 74
|
|
|
|
#define ULTRIX_SYS_madvise 75
|
|
|
|
#define ULTRIX_SYS_sun_vhangup 76
|
|
|
|
#define ULTRIX_SYS_mincore 78
|
|
|
|
#define ULTRIX_SYS_getgroups 79
|
|
|
|
#define ULTRIX_SYS_setgroups 80
|
|
|
|
#define ULTRIX_SYS_getpgrp 81
|
|
|
|
#define ULTRIX_SYS_sun_setpgid 82
|
|
|
|
#define ULTRIX_SYS_setitimer 83
|
1994-06-15 09:18:01 +04:00
|
|
|
#define ULTRIX_SYS_sun_wait3 84
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_swapon 85
|
|
|
|
#define ULTRIX_SYS_getitimer 86
|
1994-11-23 20:49:06 +03:00
|
|
|
#define ULTRIX_SYS_compat_43_gethostname 87
|
|
|
|
#define ULTRIX_SYS_compat_43_sethostname 88
|
|
|
|
#define ULTRIX_SYS_compat_43_getdtablesize 89
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_dup2 90
|
|
|
|
#define ULTRIX_SYS_fcntl 92
|
|
|
|
#define ULTRIX_SYS_select 93
|
|
|
|
#define ULTRIX_SYS_fsync 95
|
|
|
|
#define ULTRIX_SYS_setpriority 96
|
|
|
|
#define ULTRIX_SYS_socket 97
|
|
|
|
#define ULTRIX_SYS_connect 98
|
1994-11-23 20:49:06 +03:00
|
|
|
#define ULTRIX_SYS_compat_43_accept 99
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_getpriority 100
|
1994-11-23 20:49:06 +03:00
|
|
|
#define ULTRIX_SYS_compat_43_send 101
|
|
|
|
#define ULTRIX_SYS_compat_43_recv 102
|
1994-12-01 19:41:43 +03:00
|
|
|
#define ULTRIX_SYS_sigreturn 103
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_bind 104
|
|
|
|
#define ULTRIX_SYS_sun_setsockopt 105
|
|
|
|
#define ULTRIX_SYS_listen 106
|
1994-11-23 20:49:06 +03:00
|
|
|
#define ULTRIX_SYS_compat_43_sigvec 108
|
|
|
|
#define ULTRIX_SYS_compat_43_sigblock 109
|
|
|
|
#define ULTRIX_SYS_compat_43_sigsetmask 110
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_sigsuspend 111
|
1994-11-23 20:49:06 +03:00
|
|
|
#define ULTRIX_SYS_compat_43_sigstack 112
|
|
|
|
#define ULTRIX_SYS_compat_43_recvmsg 113
|
|
|
|
#define ULTRIX_SYS_compat_43_sendmsg 114
|
1994-06-02 10:25:37 +04:00
|
|
|
/* 115 is obsolete vtrace */
|
|
|
|
#define ULTRIX_SYS_gettimeofday 116
|
|
|
|
#define ULTRIX_SYS_getrusage 117
|
|
|
|
#define ULTRIX_SYS_getsockopt 118
|
|
|
|
#define ULTRIX_SYS_readv 120
|
|
|
|
#define ULTRIX_SYS_writev 121
|
|
|
|
#define ULTRIX_SYS_settimeofday 122
|
|
|
|
#define ULTRIX_SYS_fchown 123
|
|
|
|
#define ULTRIX_SYS_fchmod 124
|
1994-11-23 20:49:06 +03:00
|
|
|
#define ULTRIX_SYS_compat_43_recvfrom 125
|
|
|
|
#define ULTRIX_SYS_compat_43_setreuid 126
|
|
|
|
#define ULTRIX_SYS_compat_43_setregid 127
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_rename 128
|
1994-11-23 20:49:06 +03:00
|
|
|
#define ULTRIX_SYS_compat_43_truncate 129
|
|
|
|
#define ULTRIX_SYS_compat_43_ftruncate 130
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_flock 131
|
|
|
|
#define ULTRIX_SYS_sendto 133
|
|
|
|
#define ULTRIX_SYS_shutdown 134
|
|
|
|
#define ULTRIX_SYS_socketpair 135
|
|
|
|
#define ULTRIX_SYS_mkdir 136
|
|
|
|
#define ULTRIX_SYS_rmdir 137
|
|
|
|
#define ULTRIX_SYS_utimes 138
|
1995-06-01 20:38:15 +04:00
|
|
|
#define ULTRIX_SYS_ultrix_sigcleanup 139
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_adjtime 140
|
1994-11-23 20:49:06 +03:00
|
|
|
#define ULTRIX_SYS_compat_43_getpeername 141
|
|
|
|
#define ULTRIX_SYS_compat_43_gethostid 142
|
|
|
|
#define ULTRIX_SYS_compat_43_getrlimit 144
|
|
|
|
#define ULTRIX_SYS_compat_43_setrlimit 145
|
|
|
|
#define ULTRIX_SYS_compat_43_killpg 146
|
|
|
|
#define ULTRIX_SYS_compat_43_getsockname 150
|
|
|
|
#define ULTRIX_SYS_sun_nfssvc 158
|
1995-04-22 23:48:19 +04:00
|
|
|
#define ULTRIX_SYS_compat_43_getdirentries 159
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_sun_statfs 160
|
|
|
|
#define ULTRIX_SYS_sun_fstatfs 161
|
|
|
|
#define ULTRIX_SYS_sun_unmount 162
|
|
|
|
#define ULTRIX_SYS_async_daemon 163
|
|
|
|
#define ULTRIX_SYS_getfh 164
|
1994-11-23 20:49:06 +03:00
|
|
|
#define ULTRIX_SYS_compat_09_getdomainname 165
|
|
|
|
#define ULTRIX_SYS_compat_09_setdomainname 166
|
1994-06-02 10:25:37 +04:00
|
|
|
#define ULTRIX_SYS_sun_quotactl 168
|
|
|
|
#define ULTRIX_SYS_sun_exportfs 169
|
|
|
|
#define ULTRIX_SYS_sun_uname 179
|
|
|
|
#define ULTRIX_SYS_shmsys 180
|
|
|
|
#define ULTRIX_SYS_sun_ustat 183
|
|
|
|
#define ULTRIX_SYS_sun_sigpending 187
|
|
|
|
#define ULTRIX_SYS_setsid 188
|
|
|
|
#define ULTRIX_SYS_ultrix_waitpid 189
|
1994-08-01 18:16:24 +04:00
|
|
|
#define ULTRIX_SYS_ultrix_getsysinfo 256
|
|
|
|
#define ULTRIX_SYS_ultrix_setsysinfo 257
|
1995-04-22 23:48:19 +04:00
|
|
|
#define ULTRIX_SYS_MAXSYSCALL 258
|