166 lines
4.5 KiB
C
166 lines
4.5 KiB
C
/*
|
|
* System call numbers.
|
|
*
|
|
* DO NOT EDIT-- this file is automatically generated.
|
|
* created from $Id: sunos_syscall.h,v 1.12 1994/04/04 10:06:53 deraadt Exp $
|
|
*/
|
|
|
|
#define SUN_SYS_syscall 0
|
|
#define SUN_SYS_exit 1
|
|
#define SUN_SYS_fork 2
|
|
#define SUN_SYS_read 3
|
|
#define SUN_SYS_write 4
|
|
#define SUN_SYS_sun_open 5
|
|
#define SUN_SYS_close 6
|
|
#define SUN_SYS_sun_wait4 7
|
|
#define SUN_SYS_sun_creat 8
|
|
#define SUN_SYS_link 9
|
|
#define SUN_SYS_unlink 10
|
|
#define SUN_SYS_sun_execv 11
|
|
#define SUN_SYS_chdir 12
|
|
/* 13 is old sun_time */
|
|
#define SUN_SYS_sun_mknod 14
|
|
#define SUN_SYS_chmod 15
|
|
#define SUN_SYS_chown 16
|
|
#define SUN_SYS_break 17
|
|
/* 18 is old sun_stat */
|
|
#define SUN_SYS_lseek 19
|
|
#define SUN_SYS_getpid 20
|
|
/* 21 is obsolete sun_old_mount */
|
|
/* 23 is old setuid */
|
|
#define SUN_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 SUN_SYS_access 33
|
|
/* 34 is old sun_nice */
|
|
/* 35 is old sun_ftime */
|
|
#define SUN_SYS_sync 36
|
|
#define SUN_SYS_kill 37
|
|
#define SUN_SYS_stat 38
|
|
/* 39 is old sun_setpgrp */
|
|
#define SUN_SYS_lstat 40
|
|
#define SUN_SYS_dup 41
|
|
#define SUN_SYS_pipe 42
|
|
/* 43 is old sun_times */
|
|
#define SUN_SYS_profil 44
|
|
/* 46 is old sun_setgid */
|
|
#define SUN_SYS_getgid 47
|
|
/* 48 is old sun_ssig */
|
|
#define SUN_SYS_acct 51
|
|
#define SUN_SYS_sun_mctl 53
|
|
#define SUN_SYS_sun_ioctl 54
|
|
#define SUN_SYS_reboot 55
|
|
/* 56 is obsolete sun_owait3 */
|
|
#define SUN_SYS_symlink 57
|
|
#define SUN_SYS_readlink 58
|
|
#define SUN_SYS_execve 59
|
|
#define SUN_SYS_umask 60
|
|
#define SUN_SYS_chroot 61
|
|
#define SUN_SYS_ofstat 62
|
|
#define SUN_SYS_getpagesize 64
|
|
#define SUN_SYS_sun_omsync 65
|
|
#define SUN_SYS_vfork 66
|
|
/* 67 is obsolete vread */
|
|
/* 68 is obsolete vwrite */
|
|
#define SUN_SYS_sbrk 69
|
|
#define SUN_SYS_sstk 70
|
|
#define SUN_SYS_mmap 71
|
|
#define SUN_SYS_vadvise 72
|
|
#define SUN_SYS_munmap 73
|
|
#define SUN_SYS_mprotect 74
|
|
#define SUN_SYS_madvise 75
|
|
#define SUN_SYS_sun_vhangup 76
|
|
/* 77 is old vlimit */
|
|
#define SUN_SYS_mincore 78
|
|
#define SUN_SYS_getgroups 79
|
|
#define SUN_SYS_setgroups 80
|
|
#define SUN_SYS_getpgrp 81
|
|
#define SUN_SYS_sun_setpgid 82
|
|
#define SUN_SYS_setitimer 83
|
|
/* 84 is old wait */
|
|
#define SUN_SYS_swapon 85
|
|
#define SUN_SYS_getitimer 86
|
|
#define SUN_SYS_gethostname 87
|
|
#define SUN_SYS_sethostname 88
|
|
#define SUN_SYS_getdtablesize 89
|
|
#define SUN_SYS_dup2 90
|
|
#define SUN_SYS_fcntl 92
|
|
#define SUN_SYS_select 93
|
|
#define SUN_SYS_fsync 95
|
|
#define SUN_SYS_setpriority 96
|
|
#define SUN_SYS_socket 97
|
|
#define SUN_SYS_connect 98
|
|
#define SUN_SYS_oaccept 99
|
|
#define SUN_SYS_getpriority 100
|
|
#define SUN_SYS_osend 101
|
|
#define SUN_SYS_orecv 102
|
|
#define SUN_SYS_bind 104
|
|
#define SUN_SYS_sun_setsockopt 105
|
|
#define SUN_SYS_listen 106
|
|
/* 107 is old vtimes */
|
|
#define SUN_SYS_osigvec 108
|
|
#define SUN_SYS_osigblock 109
|
|
#define SUN_SYS_osigsetmask 110
|
|
#define SUN_SYS_sigsuspend 111
|
|
#define SUN_SYS_sigstack 112
|
|
#define SUN_SYS_orecvmsg 113
|
|
#define SUN_SYS_osendmsg 114
|
|
/* 115 is obsolete vtrace */
|
|
#define SUN_SYS_gettimeofday 116
|
|
#define SUN_SYS_getrusage 117
|
|
#define SUN_SYS_getsockopt 118
|
|
#define SUN_SYS_readv 120
|
|
#define SUN_SYS_writev 121
|
|
#define SUN_SYS_settimeofday 122
|
|
#define SUN_SYS_fchown 123
|
|
#define SUN_SYS_fchmod 124
|
|
#define SUN_SYS_orecvfrom 125
|
|
#define SUN_SYS_osetreuid 126
|
|
#define SUN_SYS_osetregid 127
|
|
#define SUN_SYS_rename 128
|
|
#define SUN_SYS_truncate 129
|
|
#define SUN_SYS_ftruncate 130
|
|
#define SUN_SYS_flock 131
|
|
#define SUN_SYS_sendto 133
|
|
#define SUN_SYS_shutdown 134
|
|
#define SUN_SYS_socketpair 135
|
|
#define SUN_SYS_mkdir 136
|
|
#define SUN_SYS_rmdir 137
|
|
#define SUN_SYS_utimes 138
|
|
#define SUN_SYS_sigreturn 139
|
|
#define SUN_SYS_adjtime 140
|
|
#define SUN_SYS_ogetpeername 141
|
|
#define SUN_SYS_gethostid 142
|
|
#define SUN_SYS_getrlimit 144
|
|
#define SUN_SYS_setrlimit 145
|
|
#define SUN_SYS_okillpg 146
|
|
#define SUN_SYS_ogetsockname 150
|
|
#define SUN_SYS_sun_nfssvc 155
|
|
#define SUN_SYS_getdirentries 156
|
|
#define SUN_SYS_sun_statfs 157
|
|
#define SUN_SYS_sun_fstatfs 158
|
|
#define SUN_SYS_sun_unmount 159
|
|
#define SUN_SYS_async_daemon 160
|
|
#define SUN_SYS_getfh 161
|
|
#define SUN_SYS_getdomainname 162
|
|
#define SUN_SYS_setdomainname 163
|
|
#define SUN_SYS_sun_quotactl 165
|
|
#define SUN_SYS_sun_exportfs 166
|
|
#define SUN_SYS_sun_mount 167
|
|
#define SUN_SYS_sun_ustat 168
|
|
#define SUN_SYS_semsys 169
|
|
#define SUN_SYS_msgsys 170
|
|
#define SUN_SYS_shmsys 171
|
|
#define SUN_SYS_sun_auditsys 172
|
|
#define SUN_SYS_sun_getdents 174
|
|
#define SUN_SYS_setsid 175
|
|
#define SUN_SYS_fchdir 176
|
|
#define SUN_SYS_sun_fchroot 177
|
|
#define SUN_SYS_sun_sigpending 183
|
|
#define SUN_SYS_setpgid 185
|
|
#define SUN_SYS_sun_sysconf 188
|
|
#define SUN_SYS_sun_uname 189
|