157 lines
4.7 KiB
C
157 lines
4.7 KiB
C
/*
|
|
* System call numbers.
|
|
*
|
|
* DO NOT EDIT-- this file is automatically generated.
|
|
* created from: NetBSD syscalls.master,v 1.5 1994/08/01 14:15:06
|
|
*/
|
|
|
|
#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
|
|
#define ULTRIX_SYS_sun_creat 8
|
|
#define ULTRIX_SYS_link 9
|
|
#define ULTRIX_SYS_unlink 10
|
|
#define ULTRIX_SYS_sun_execv 11
|
|
#define ULTRIX_SYS_chdir 12
|
|
/* 13 is old sun_time */
|
|
#define ULTRIX_SYS_sun_mknod 14
|
|
#define ULTRIX_SYS_chmod 15
|
|
#define ULTRIX_SYS_chown 16
|
|
#define ULTRIX_SYS_break 17
|
|
/* 18 is old sun_stat */
|
|
#define ULTRIX_SYS_lseek 19
|
|
#define ULTRIX_SYS_getpid 20
|
|
#define ULTRIX_SYS_sun_mount 21
|
|
#define ULTRIX_SYS_sun_unmount 22
|
|
/* 23 is old setuid */
|
|
#define ULTRIX_SYS_getuid 24
|
|
/* 25 is old sun_stime */
|
|
/* 27 is old sun_alarm */
|
|
/* 28 is old sun_fstat */
|
|
/* 29 is old sun_pause */
|
|
/* 30 is old sun_utime */
|
|
#define ULTRIX_SYS_access 33
|
|
/* 34 is old sun_nice */
|
|
/* 35 is old sun_ftime */
|
|
#define ULTRIX_SYS_sync 36
|
|
#define ULTRIX_SYS_kill 37
|
|
#define ULTRIX_SYS_stat 38
|
|
/* 39 is old sun_setpgrp */
|
|
#define ULTRIX_SYS_lstat 40
|
|
#define ULTRIX_SYS_dup 41
|
|
#define ULTRIX_SYS_pipe 42
|
|
/* 43 is old sun_times */
|
|
#define ULTRIX_SYS_profil 44
|
|
/* 46 is old sun_setgid */
|
|
#define ULTRIX_SYS_getgid 47
|
|
/* 48 is old sun_ssig */
|
|
#define ULTRIX_SYS_acct 51
|
|
#define ULTRIX_SYS_ioctl 54
|
|
#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
|
|
#define ULTRIX_SYS_ofstat 62
|
|
#define ULTRIX_SYS_ogetpagesize 64
|
|
#define ULTRIX_SYS_vfork 66
|
|
/* 67 is obsolete vread */
|
|
/* 68 is obsolete vwrite */
|
|
#define ULTRIX_SYS_sbrk 69
|
|
#define ULTRIX_SYS_sstk 70
|
|
#define ULTRIX_SYS_mmap 71
|
|
#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
|
|
/* 77 is old vlimit */
|
|
#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
|
|
#define ULTRIX_SYS_sun_wait3 84
|
|
#define ULTRIX_SYS_swapon 85
|
|
#define ULTRIX_SYS_getitimer 86
|
|
#define ULTRIX_SYS_ogethostname 87
|
|
#define ULTRIX_SYS_osethostname 88
|
|
#define ULTRIX_SYS_ogetdtablesize 89
|
|
#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
|
|
#define ULTRIX_SYS_oaccept 99
|
|
#define ULTRIX_SYS_getpriority 100
|
|
#define ULTRIX_SYS_osend 101
|
|
#define ULTRIX_SYS_orecv 102
|
|
#define ULTRIX_SYS_sigreturn 103
|
|
#define ULTRIX_SYS_bind 104
|
|
#define ULTRIX_SYS_sun_setsockopt 105
|
|
#define ULTRIX_SYS_listen 106
|
|
/* 107 is old vtimes */
|
|
#define ULTRIX_SYS_osigvec 108
|
|
#define ULTRIX_SYS_osigblock 109
|
|
#define ULTRIX_SYS_osigsetmask 110
|
|
#define ULTRIX_SYS_sigsuspend 111
|
|
#define ULTRIX_SYS_osigstack 112
|
|
#define ULTRIX_SYS_orecvmsg 113
|
|
#define ULTRIX_SYS_osendmsg 114
|
|
/* 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
|
|
#define ULTRIX_SYS_orecvfrom 125
|
|
#define ULTRIX_SYS_osetreuid 126
|
|
#define ULTRIX_SYS_osetregid 127
|
|
#define ULTRIX_SYS_rename 128
|
|
#define ULTRIX_SYS_truncate 129
|
|
#define ULTRIX_SYS_ftruncate 130
|
|
#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
|
|
#define ULTRIX_SYS_sigreturn 139
|
|
#define ULTRIX_SYS_adjtime 140
|
|
#define ULTRIX_SYS_ogetpeername 141
|
|
#define ULTRIX_SYS_ogethostid 142
|
|
#define ULTRIX_SYS_sun_getrlimit 144
|
|
#define ULTRIX_SYS_sun_setrlimit 145
|
|
#define ULTRIX_SYS_okillpg 146
|
|
#define ULTRIX_SYS_ogetsockname 150
|
|
#define ULTRIX_SYS_nfssvc 158
|
|
#define ULTRIX_SYS_getdirentries 159
|
|
#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
|
|
#define ULTRIX_SYS_sun_quotactl 168
|
|
#define ULTRIX_SYS_sun_exportfs 169
|
|
#define ULTRIX_SYS_sun_mount 170
|
|
#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
|
|
#define ULTRIX_SYS_ultrix_getsysinfo 256
|
|
#define ULTRIX_SYS_ultrix_setsysinfo 257
|