Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages | Examples

ac_syscall_codes.h

00001 /* System calls codes copied from include/asm/unistd.h
00002    at a Linux Red Hat 9 machine */
00003 
00004 
00005 #ifndef _AC_SYSCALL_CODES_
00006 #define _AC_SYSCALL_CODES_
00007 
00008 /*
00009  * This file contains the system call numbers.
00010  */
00011 
00012 #define __NR_exit                 1
00013 #define __NR_fork                 2
00014 #define __NR_read                 3
00015 #define __NR_write                4
00016 #define __NR_open                 5
00017 #define __NR_close                6
00018 #define __NR_waitpid              7
00019 #define __NR_creat                8
00020 #define __NR_link                 9
00021 #define __NR_unlink              10
00022 #define __NR_execve              11
00023 #define __NR_chdir               12
00024 #define __NR_time                13
00025 #define __NR_mknod               14
00026 #define __NR_chmod               15
00027 #define __NR_lchown              16
00028 #define __NR_break               17
00029 #define __NR_oldstat             18
00030 #define __NR_lseek               19
00031 #define __NR_getpid              20
00032 #define __NR_mount               21
00033 #define __NR_umount              22
00034 #define __NR_setuid              23
00035 #define __NR_getuid              24
00036 #define __NR_stime               25
00037 #define __NR_ptrace              26
00038 #define __NR_alarm               27
00039 #define __NR_oldfstat            28
00040 #define __NR_pause               29
00041 #define __NR_utime               30
00042 #define __NR_stty                31
00043 #define __NR_gtty                32
00044 #define __NR_access              33
00045 #define __NR_nice                34
00046 #define __NR_ftime               35
00047 #define __NR_sync                36
00048 #define __NR_kill                37
00049 #define __NR_rename              38
00050 #define __NR_mkdir               39
00051 #define __NR_rmdir               40
00052 #define __NR_dup                 41
00053 #define __NR_pipe                42
00054 #define __NR_times               43
00055 #define __NR_prof                44
00056 #define __NR_brk                 45
00057 #define __NR_setgid              46
00058 #define __NR_getgid              47
00059 #define __NR_signal              48
00060 #define __NR_geteuid             49
00061 #define __NR_getegid             50
00062 #define __NR_acct                51
00063 #define __NR_umount2             52
00064 #define __NR_lock                53
00065 #define __NR_ioctl               54
00066 #define __NR_fcntl               55
00067 #define __NR_mpx                 56
00068 #define __NR_setpgid             57
00069 #define __NR_ulimit              58
00070 #define __NR_oldolduname         59
00071 #define __NR_umask               60
00072 #define __NR_chroot              61
00073 #define __NR_ustat               62
00074 #define __NR_dup2                63
00075 #define __NR_getppid             64
00076 #define __NR_getpgrp             65
00077 #define __NR_setsid              66
00078 #define __NR_sigaction           67
00079 #define __NR_sgetmask            68
00080 #define __NR_ssetmask            69
00081 #define __NR_setreuid            70
00082 #define __NR_setregid            71
00083 #define __NR_sigsuspend          72
00084 #define __NR_sigpending          73
00085 #define __NR_sethostname         74
00086 #define __NR_setrlimit           75
00087 #define __NR_getrlimit           76     /* Back compatible 2Gig limited rlimit */
00088 #define __NR_getrusage           77
00089 #define __NR_gettimeofday        78
00090 #define __NR_settimeofday        79
00091 #define __NR_getgroups           80
00092 #define __NR_setgroups           81
00093 #define __NR_select              82
00094 #define __NR_symlink             83
00095 #define __NR_oldlstat            84
00096 #define __NR_readlink            85
00097 #define __NR_uselib              86
00098 #define __NR_swapon              87
00099 #define __NR_reboot              88
00100 #define __NR_readdir             89
00101 #define __NR_mmap                90
00102 #define __NR_munmap              91
00103 #define __NR_truncate            92
00104 #define __NR_ftruncate           93
00105 #define __NR_fchmod              94
00106 #define __NR_fchown              95
00107 #define __NR_getpriority         96
00108 #define __NR_setpriority         97
00109 #define __NR_profil              98
00110 #define __NR_statfs              99
00111 #define __NR_fstatfs            100
00112 #define __NR_ioperm             101
00113 #define __NR_socketcall         102
00114 #define __NR_syslog             103
00115 #define __NR_setitimer          104
00116 #define __NR_getitimer          105
00117 #define __NR_stat               106
00118 #define __NR_lstat              107
00119 #define __NR_fstat              108
00120 #define __NR_olduname           109
00121 #define __NR_iopl               110
00122 #define __NR_vhangup            111
00123 #define __NR_idle               112
00124 #define __NR_vm86old            113
00125 #define __NR_wait4              114
00126 #define __NR_swapoff            115
00127 #define __NR_sysinfo            116
00128 #define __NR_ipc                117
00129 #define __NR_fsync              118
00130 #define __NR_sigreturn          119
00131 #define __NR_clone              120
00132 #define __NR_setdomainname      121
00133 #define __NR_uname              122
00134 #define __NR_modify_ldt         123
00135 #define __NR_adjtimex           124
00136 #define __NR_mprotect           125
00137 #define __NR_sigprocmask        126
00138 #define __NR_create_module      127
00139 #define __NR_init_module        128
00140 #define __NR_delete_module      129
00141 #define __NR_get_kernel_syms    130
00142 #define __NR_quotactl           131
00143 #define __NR_getpgid            132
00144 #define __NR_fchdir             133
00145 #define __NR_bdflush            134
00146 #define __NR_sysfs              135
00147 #define __NR_personality        136
00148 #define __NR_afs_syscall        137 /* Syscall for Andrew File System */
00149 #define __NR_setfsuid           138
00150 #define __NR_setfsgid           139
00151 #define __NR__llseek            140
00152 #define __NR_getdents           141
00153 #define __NR__newselect         142
00154 #define __NR_flock              143
00155 #define __NR_msync              144
00156 #define __NR_readv              145
00157 #define __NR_writev             146
00158 #define __NR_getsid             147
00159 #define __NR_fdatasync          148
00160 #define __NR__sysctl            149
00161 #define __NR_mlock              150
00162 #define __NR_munlock            151
00163 #define __NR_mlockall           152
00164 #define __NR_munlockall         153
00165 #define __NR_sched_setparam             154
00166 #define __NR_sched_getparam             155
00167 #define __NR_sched_setscheduler         156
00168 #define __NR_sched_getscheduler         157
00169 #define __NR_sched_yield                158
00170 #define __NR_sched_get_priority_max     159
00171 #define __NR_sched_get_priority_min     160
00172 #define __NR_sched_rr_get_interval      161
00173 #define __NR_nanosleep          162
00174 #define __NR_mremap             163
00175 #define __NR_setresuid          164
00176 #define __NR_getresuid          165
00177 #define __NR_vm86               166
00178 #define __NR_query_module       167
00179 #define __NR_poll               168
00180 #define __NR_nfsservctl         169
00181 #define __NR_setresgid          170
00182 #define __NR_getresgid          171
00183 #define __NR_prctl              172
00184 #define __NR_rt_sigreturn       173
00185 #define __NR_rt_sigaction       174
00186 #define __NR_rt_sigprocmask     175
00187 #define __NR_rt_sigpending      176
00188 #define __NR_rt_sigtimedwait    177
00189 #define __NR_rt_sigqueueinfo    178
00190 #define __NR_rt_sigsuspend      179
00191 #define __NR_pread              180
00192 #define __NR_pwrite             181
00193 #define __NR_chown              182
00194 #define __NR_getcwd             183
00195 #define __NR_capget             184
00196 #define __NR_capset             185
00197 #define __NR_sigaltstack        186
00198 #define __NR_sendfile           187
00199 #define __NR_getpmsg            188     /* some people actually want streams */
00200 #define __NR_putpmsg            189     /* some people actually want streams */
00201 #define __NR_vfork              190
00202 #define __NR_ugetrlimit         191     /* SuS compliant getrlimit */
00203 #define __NR_mmap2              192
00204 #define __NR_truncate64         193
00205 #define __NR_ftruncate64        194
00206 #define __NR_stat64             195
00207 #define __NR_lstat64            196
00208 #define __NR_fstat64            197
00209 #define __NR_lchown32           198
00210 #define __NR_getuid32           199
00211 #define __NR_getgid32           200
00212 #define __NR_geteuid32          201
00213 #define __NR_getegid32          202
00214 #define __NR_setreuid32         203
00215 #define __NR_setregid32         204
00216 #define __NR_getgroups32        205
00217 #define __NR_setgroups32        206
00218 #define __NR_fchown32           207
00219 #define __NR_setresuid32        208
00220 #define __NR_getresuid32        209
00221 #define __NR_setresgid32        210
00222 #define __NR_getresgid32        211
00223 #define __NR_chown32            212
00224 #define __NR_setuid32           213
00225 #define __NR_setgid32           214
00226 #define __NR_setfsuid32         215
00227 #define __NR_setfsgid32         216
00228 #define __NR_pivot_root         217
00229 #define __NR_mincore            218
00230 #define __NR_madvise            219
00231 #define __NR_madvise1           219     /* delete when C lib stub is removed */
00232 #define __NR_getdents64         220
00233 #define __NR_fcntl64            221
00234 #define __NR_security           223     /* syscall for security modules */
00235 #define __NR_gettid             224
00236 #define __NR_readahead          225
00237 #define __NR_setxattr           226
00238 #define __NR_lsetxattr          227
00239 #define __NR_fsetxattr          228
00240 #define __NR_getxattr           229
00241 #define __NR_lgetxattr          230
00242 #define __NR_fgetxattr          231
00243 #define __NR_listxattr          232
00244 #define __NR_llistxattr         233
00245 #define __NR_flistxattr         234
00246 #define __NR_removexattr        235
00247 #define __NR_lremovexattr       236
00248 #define __NR_fremovexattr       237
00249 #define __NR_tkill              238
00250 #define __NR_sendfile64         239
00251 #define __NR_futex              240
00252 #define __NR_sched_setaffinity  241
00253 #define __NR_sched_getaffinity  242
00254 #define __NR_set_thread_area    243
00255 #define __NR_get_thread_area    244
00256 /* #define __NR_io_setup        245 */
00257 /* #define __NR_io_destroy      246 */
00258 /* #define __NR_io_getevents    247 */
00259 /* #define __NR_io_submit       248 */
00260 /* #define __NR_io_cancel       249 */
00261 /* #define __NR_alloc_hugepages 250 */
00262 /* #define __NR_free_hugepages  251 */
00263 #define __NR_exit_group         252
00264 /* #define __NR_lookup_dcookie  253 */
00265 /* #define __NR_sys_epoll_create 254 */
00266 /* #define __NR_sys_epoll_ctl   255 */
00267 /* #define __NR_sys_epoll_wait  256 */
00268 /* #define __NR_remap_file_pages 257 */
00269 #define __NR_set_tid_address    258
00270 
00271 
00272 
00273 #endif /* _AC_SYSCALL_CODES_ */

Generated on Thu Jun 24 08:30:05 2004 for ArchC by doxygen 1.3.4