Back to index

glibc  2.9
syscall.h
Go to the documentation of this file.
00001 /* Copyright (C) 1998 Free Software Foundation, Inc.
00002    This file is part of the GNU C Library.
00003 
00004    The GNU C Library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Lesser General Public
00006    License as published by the Free Software Foundation; either
00007    version 2.1 of the License, or (at your option) any later version.
00008 
00009    The GNU C Library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Lesser General Public License for more details.
00013 
00014    You should have received a copy of the GNU Lesser General Public
00015    License along with the GNU C Library; if not, write to the Free
00016    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00017    02111-1307 USA.  */
00018 
00019 #ifndef       _SYSCALL_H
00020 #define       _SYSCALL_H    1
00021 
00022 /* Solaris 2 syscall numbers */
00023 
00024 #define       SYS_syscall          0
00025 #define       SYS_exit             1
00026 #define       SYS_fork             2
00027 #define       SYS_read             3
00028 #define       SYS_write            4
00029 #define       SYS_open             5
00030 #define       SYS_close            6
00031 #define       SYS_wait             7
00032 #define       SYS_creat            8
00033 #define       SYS_link             9
00034 #define       SYS_unlink           10
00035 #define       SYS_exec             11
00036 #define       SYS_chdir            12
00037 #define       SYS_time             13
00038 #define       SYS_mknod            14
00039 #define       SYS_chmod            15
00040 #define       SYS_chown            16
00041 #define       SYS_brk                     17
00042 #define       SYS_stat             18
00043 #define       SYS_lseek            19
00044 #define       SYS_getpid           20
00045 #define       SYS_mount            21
00046 #define       SYS_umount           22
00047 #define       SYS_setuid           23
00048 #define       SYS_getuid           24
00049 #define       SYS_stime            25
00050 #define       SYS_ptrace           26
00051 #define       SYS_alarm            27
00052 #define       SYS_fstat            28
00053 #define       SYS_pause            29
00054 #define       SYS_utime            30
00055 #define       SYS_stty             31
00056 #define       SYS_gtty             32
00057 #define       SYS_access           33
00058 #define       SYS_nice             34
00059 #define       SYS_statfs           35
00060 #define       SYS_sync             36
00061 #define       SYS_kill             37
00062 #define       SYS_fstatfs          38
00063 #define       SYS_pgrpsys          39
00064 #define       SYS_xenix            40
00065 #define       SYS_dup                     41
00066 #define       SYS_pipe             42
00067 #define       SYS_times            43
00068 #define       SYS_profil           44
00069 #define       SYS_plock            45
00070 #define       SYS_setgid           46
00071 #define       SYS_getgid           47
00072 #define       SYS_signal           48
00073 #define       SYS_msgsys           49
00074 #define       SYS_syssun           50
00075 #define       SYS_sysi86           50
00076 #define       SYS_sysppc           50
00077 #define       SYS_acct             51
00078 #define       SYS_shmsys           52
00079 #define       SYS_semsys           53
00080 #define       SYS_ioctl            54
00081 #define       SYS_uadmin           55
00082 #define       SYS_utssys           57
00083 #define       SYS_fdsync           58
00084 #define       SYS_execve           59
00085 #define       SYS_umask            60
00086 #define       SYS_chroot           61
00087 #define       SYS_fcntl            62
00088 #define       SYS_ulimit           63
00089 #define       SYS_rmdir            79
00090 #define       SYS_mkdir            80
00091 #define       SYS_getdents         81
00092 #define       SYS_sysfs            84
00093 #define       SYS_getmsg           85
00094 #define       SYS_putmsg           86
00095 #define       SYS_poll             87
00096 #define       SYS_lstat            88
00097 #define       SYS_symlink          89
00098 #define       SYS_readlink         90
00099 #define       SYS_setgroups        91
00100 #define       SYS_getgroups        92
00101 #define       SYS_fchmod           93
00102 #define       SYS_fchown           94
00103 #define       SYS_sigprocmask             95
00104 #define       SYS_sigsuspend              96
00105 #define       SYS_sigaltstack             97
00106 #define       SYS_sigaction        98
00107 #define       SYS_sigpending              99
00108 #define       SYS_context          100
00109 #define       SYS_evsys            101
00110 #define       SYS_evtrapret        102
00111 #define       SYS_statvfs          103
00112 #define       SYS_fstatvfs         104
00113 #define       SYS_nfssys           106
00114 #define       SYS_waitsys          107
00115 #define       SYS_sigsendsys              108
00116 #define       SYS_hrtsys           109
00117 #define       SYS_acancel          110
00118 #define       SYS_async            111
00119 #define       SYS_priocntlsys             112
00120 #define       SYS_pathconf         113
00121 #define       SYS_mincore          114
00122 #define       SYS_mmap             115
00123 #define       SYS_mprotect         116
00124 #define       SYS_munmap           117
00125 #define       SYS_fpathconf        118
00126 #define       SYS_vfork            119
00127 #define       SYS_fchdir           120
00128 #define       SYS_readv            121
00129 #define       SYS_writev           122
00130 #define       SYS_xstat            123
00131 #define       SYS_lxstat           124
00132 #define       SYS_fxstat           125
00133 #define       SYS_xmknod           126
00134 #define       SYS_clocal           127
00135 #define       SYS_setrlimit        128
00136 #define       SYS_getrlimit        129
00137 #define       SYS_lchown           130
00138 #define       SYS_memcntl          131
00139 #define       SYS_getpmsg          132
00140 #define       SYS_putpmsg          133
00141 #define       SYS_rename           134
00142 #define       SYS_uname            135
00143 #define       SYS_setegid          136
00144 #define       SYS_sysconfig        137
00145 #define       SYS_adjtime          138
00146 #define       SYS_systeminfo              139
00147 #define       SYS_seteuid          141
00148 #define       SYS_vtrace           142
00149 #define       SYS_fork1            143
00150 #define       SYS_sigtimedwait     144
00151 #define       SYS_lwp_info         145
00152 #define       SYS_yield            146
00153 #define       SYS_lwp_sema_wait    147
00154 #define       SYS_lwp_sema_post    148
00155 #define       SYS_lwp_sema_trywait 149
00156 #define       SYS_modctl           152
00157 #define       SYS_fchroot          153
00158 #define       SYS_utimes           154
00159 #define       SYS_vhangup          155
00160 #define       SYS_gettimeofday     156
00161 #define       SYS_getitimer        157
00162 #define       SYS_setitimer        158
00163 #define       SYS_lwp_create              159
00164 #define       SYS_lwp_exit         160
00165 #define       SYS_lwp_suspend             161
00166 #define       SYS_lwp_continue     162
00167 #define       SYS_lwp_kill         163
00168 #define       SYS_lwp_self         164
00169 #define       SYS_lwp_setprivate   165
00170 #define       SYS_lwp_getprivate   166
00171 #define       SYS_lwp_wait         167
00172 #define       SYS_lwp_mutex_unlock 168
00173 #define       SYS_lwp_mutex_lock   169
00174 #define       SYS_lwp_cond_wait    170
00175 #define       SYS_lwp_cond_signal  171
00176 #define       SYS_lwp_cond_broadcast      172
00177 #define       SYS_pread            173
00178 #define       SYS_pwrite           174
00179 #define       SYS_llseek           175
00180 #define       SYS_inst_sync        176
00181 #define       SYS_kaio             178
00182 #define       SYS_tsolsys          184
00183 #define       SYS_acl                     185
00184 #define       SYS_auditsys         186
00185 #define       SYS_processor_bind   187
00186 #define       SYS_processor_info   188
00187 #define       SYS_p_online         189
00188 #define       SYS_sigqueue         190
00189 #define       SYS_clock_gettime    191
00190 #define       SYS_clock_settime    192
00191 #define       SYS_clock_getres     193
00192 #define       SYS_timer_create     194
00193 #define       SYS_timer_delete     195
00194 #define       SYS_timer_settime    196
00195 #define       SYS_timer_gettime    197
00196 #define       SYS_timer_getoverrun 198
00197 #define       SYS_nanosleep        199
00198 #define       SYS_facl             200
00199 #define       SYS_door             201
00200 #define       SYS_setreuid         202
00201 #define       SYS_setregid         203
00202 #define       SYS_install_utrap    204
00203 #define       SYS_signotify        205
00204 #define       SYS_schedctl         206
00205 #define       SYS_pset             207
00206 #define       SYS_resolvepath             209
00207 #define       SYS_signotifywait    210
00208 #define       SYS_lwp_sigredirect  211
00209 #define       SYS_lwp_alarm        212
00210 #define       SYS_getdents64              213
00211 #define       SYS_mmap64           214
00212 #define       SYS_stat64           215
00213 #define       SYS_lstat64          216
00214 #define       SYS_fstat64          217
00215 #define       SYS_statvfs64        218
00216 #define       SYS_fstatvfs64              219
00217 #define       SYS_setrlimit64             220
00218 #define       SYS_getrlimit64             221
00219 #define       SYS_pread64          222
00220 #define       SYS_pwrite64         223
00221 #define       SYS_creat64          224
00222 #define       SYS_open64           225
00223 #define       SYS_rpcsys           226
00224 #define       SYS_so_socket        230
00225 #define       SYS_so_socketpair    231
00226 #define       SYS_bind             232
00227 #define       SYS_listen           233
00228 #define       SYS_accept           234
00229 #define       SYS_connect          235
00230 #define       SYS_shutdown         236
00231 #define       SYS_recv             237
00232 #define       SYS_recvfrom         238
00233 #define       SYS_recvmsg          239
00234 #define       SYS_send             240
00235 #define       SYS_sendmsg          241
00236 #define       SYS_sendto           242
00237 #define       SYS_getpeername             243
00238 #define       SYS_getsockname             244
00239 #define       SYS_getsockopt              245
00240 #define       SYS_setsockopt              246
00241 #define       SYS_sockconfig              247
00242 #define       SYS_ntp_gettime             248
00243 #define       SYS_ntp_adjtime             249
00244 
00245 #endif /* sys/syscall.h */