Back to index

glibc  2.9
syscall.h
Go to the documentation of this file.
00001 /* Copyright (C) 1994, 1996 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 /* From Scott Bartram.  */
00020 
00021 #ifndef _SYSCALL_H
00022 #define _SYSCALL_H
00023 
00024 #define SYS_access   33
00025 #define SYS_acct     51
00026 #define SYS_advfs    70
00027 #define SYS_alarm    27
00028 #define SYS_break    17
00029 #define SYS_brk             17
00030 #define SYS_chdir    12
00031 #define SYS_chmod    15
00032 #define SYS_chown    16
00033 #define SYS_chroot   61
00034 #define SYS_chsize   0x0a28
00035 #define SYS_close    6
00036 #define SYS_creat    8
00037 #define SYS_dup             41
00038 #define SYS_exec     11
00039 #define SYS_exece    59
00040 #define SYS_exit     1
00041 #define SYS_fcntl    62
00042 #define SYS_fork     2
00043 #define SYS_fpathconf       0x2f28
00044 #define SYS_fstat    28
00045 #define SYS_fstatfs  38
00046 #define SYS_ftime    0x0b28
00047 #define SYS_getdents 81
00048 #define SYS_getgid   47
00049 #define SYS_getgroups       0x2b28
00050 #define SYS_getitimer       0x3728
00051 #define SYS_getmsg   85
00052 #define SYS_getpid   20
00053 #define SYS_getuid   24
00054 #define SYS_gtty     32
00055 #define SYS_ioctl    54
00056 #define SYS_kill     37
00057 #define SYS_link     9
00058 #define SYS_lock     45
00059 #define SYS_lseek    19
00060 #define SYS_lstat    91
00061 #define SYS_mkdir    80
00062 #define SYS_mknod    14
00063 #define SYS_mount    21
00064 #define SYS_msgsys   49
00065 #define SYS_nap             0x0c28
00066 #define SYS_nice     34
00067 #define SYS_open     5
00068 #define SYS_pathconf 0x2e28
00069 #define SYS_pause    29
00070 #define SYS_pgrpsys  39
00071 #define SYS_pipe     42
00072 #define SYS_plock    45
00073 #define SYS_poll     87
00074 #define SYS_prof     44
00075 #define SYS_ptrace   26
00076 #define SYS_putmsg   86
00077 #define SYS_rdebug   76
00078 #define SYS_read     3
00079 #define SYS_readlink 92
00080 #define SYS_rename   0x3028
00081 #define SYS_rfstart  74
00082 #define SYS_rfstop   77
00083 #define SYS_rfsys    78
00084 #define SYS_rmdir    79
00085 #define SYS_rmount   72
00086 #define SYS_rumount  73
00087 #define SYS_seek     19
00088 #define SYS_select   0x2428
00089 #define SYS_semsys   53
00090 #define SYS_setgid   46
00091 #define SYS_setgroups       0x2c28
00092 #define SYS_setitimer       0x3828
00093 #define SYS_setpgrp  39
00094 #define SYS_setuid   23
00095 #define SYS_shmsys   52
00096 #define SYS_sigaction       0x2728
00097 #define SYS_signal   48
00098 #define SYS_sigpending      0x2928
00099 #define SYS_sigprocmask     0x2828
00100 #define SYS_sigsuspend      0x2a28
00101 #define SYS_stat     18
00102 #define SYS_statfs   35
00103 #define SYS_stime    25
00104 #define SYS_stty     31
00105 #define SYS_symlink  90
00106 #define SYS_sync     36
00107 #define SYS_sys3b    50
00108 #define SYS_sysacct  51
00109 #define SYS_sysconf  0x2d28
00110 #define SYS_sysfs    84
00111 #define SYS_sysi86   50
00112 #define SYS_time     13
00113 #define SYS_times    43
00114 #define SYS_uadmin   55
00115 #define SYS_ulimit   63
00116 #define SYS_umask    60
00117 #define SYS_umount   22
00118 #define SYS_unadvfs  71
00119 #define SYS_unlink   10
00120 #define SYS_utime    30
00121 #define SYS_utssys   57
00122 #define SYS_wait     7
00123 #define SYS_write    4
00124 
00125 #endif