* added compilers lcc and bcc (linux86)
[mascara-docs.git] / compilers / linux86-0.16.17 / libc / syscall / syscall.dev86
blobd57248776d9e2970b9dd83e73c9e3b82cc8215cb
2 # WARNING!
3 # This file is used to generate the system call lists for Dev86(elks)
4 # ELKSemu and elks itself. Changes to this may require changes in
5 # all three of those packages.
7 #       '.' = Ok, with comment
8 #       '*' = Needs libc code (Prefix __)
9 #       '-' = Obsolete/not required
10 #       '@' = May be required later
11 #       '=' = Depends on stated config variable
13 #       An initial plus on the call number specifies that this call is
14 #       implemented in the kernel.
17 # Name          No      Args    Flag, comment
19 exit            +1      1       * c exit does stdio, _exit in crt0
20 fork            +2      0        
21 read            +3      3        
22 write           +4      3        
23 open            +5      3        
24 close           +6      1        
25 wait4           +7      4
26 creat           8       0       - Not needed alias for open
27 link            +9      2        
28 unlink          +10     1        
29 execve          +11     3       * execve minix style
30 chdir           +12     1        
31 time            13      1       - Use settimeofday
32 mknod           +14     3        
33 chmod           +15     2        
34 chown           +16     3        
35 brk             +17     1       * This is only to tell the system
36 stat            +18     2        
37 lseek           +19     3       * nb 2nd arg is an io ptr to long not a long.
38 getpid          +20     1       * this gets both pid & ppid
39 mount           +21     5        
40 umount          +22     1        
41 setuid          +23     1        
42 getuid          +24     1       * this gets both uid and euid
43 stime           25      2       - this must not exist - even as a libc.
44 ptrace          26      4       @ adb/sdb/dbx need this.
45 alarm           27      2
46 fstat           +28     2        
47 pause           29      0        
48 utime           +30     2        
49 chroot          +31     1
50 vfork           +32     0
51 access          +33     2        
52 nice            34      1
53 sleep           35      1
54 sync            +36     0        
55 kill            +37     2        
56 rename          +38     2        
57 mkdir           +39     2        
58 rmdir           +40     1        
59 dup             +41     1       . There is a fcntl lib function too.
60 pipe            +42     1        
61 times           43      2       * 2nd arg is pointer for long ret val.
62 profil          44      4       @
63 dup2            +45     2
64 setgid          +46     1        
65 getgid          47      1       * this gets both gid and egid
66 signal          +48     2       * have put the despatch table in user space.
67 getinfo         49      1       @ possible? gets pid,ppid,uid,euid etc
68 fcntl           +50     3        
69 acct            51      1       @ Accounting to named file (off if null)
70 phys            52      3       - Replaced by mmap()
71 lock            53      1       @ Prevent swapping for this proc if flg!=0
72 ioctl           +54     3       . make this and fcntl the same ?
73 reboot          +55     3       . the magic number is 0xfee1,0xdead,...
74 mpx             56      2       - Replaced by fifos and select.
75 lstat           +57     2
76 symlink         +58     2
77 readlink        +59     3
78 umask           +60     1        
79 settimeofday    +61     2
80 gettimeofday    +62     2
81 select          +63     5       . 5 paramaters is possible
82 readdir         +64     3       *
83 insmod          65      1       - Removed support for modules
84 fchown          +66     3
85 dlload          +67     2
86 setsid          +68     0
87 socket          +69     3
88 bind            +70     3
89 listen          +71     2
90 accept          +72     3
91 connect         +73     3
92 knlvsn          +74     1       = CONFIG_SYS_VERSION
94 # Name                  No      Args    Flag&comment
96 # ( awk '{$2=NR+500;OFS="\t";print ;}'| expand -24,32,40 | unexpand ) <<!
98 ADJTIMEX                501     X       @
99 FCHDIR                  502     1       @
100 FCHMOD                  503     2       @
101 FCHOWN                  504     3       @
102 FDATASYNC               505     X       @
103 FLOCK                   506     2       - Use fcntl
104 FSTATFS                 507     2       @
105 FSYNC                   508     1       @
106 FTIME                   509     1       - Use gettimeofday
107 FTRUNCATE               510     3       @
108 GETDENTS                511     X       @
109 GETGROUPS               512     2       @
110 GETITIMER               513     2       @
111 GETPGID                 514     1       @
112 GETPGRP                 515     0       - Use getpgid(0)
113 GETPRIORITY             516     2       @
114 GETRLIMIT               517     2       @
115 GETRUSAGE               518     2       @
116 GETSID                  519     X       @
117 IPC                     520     5       @ This is for all SYSV IPC (c/f mpx)
118 LLSEEK                  521     3       @ 2nd arg is ptr to two longs
119 MPROTECT                522     X       @
120 MSYNC                   523     X       @
121 MUNLOCK                 524     X       @
122 MUNLOCKALL              525     X       @
123 MUNMAP                  526     X       @
124 PERSONALITY             527     X       @
125 QUOTACTL                528     X       @
126 READV                   529     3       @
127 SCHED_GETPARAM          530     X       @
128 SCHED_GETSCHEDULER      531     X       @
129 SCHED_GET_PRIORITY_MAX  532     X       @
130 SCHED_GET_PRIORITY_MIN  533     X       @
131 SCHED_RR_GET_INTERVAL   534     X       @
132 SCHED_SETPARAM          535     X       @
133 SCHED_SETSCHEDULER      536     X       @
134 SCHED_YIELD             537     X       @
135 SETDOMAINNAME           538     X       @
136 SETFSGID                539     1       @
137 SETFSUID                540     1       @
138 SETGROUPS               541     2       @
139 SETHOSTNAME             542     2       @
140 SETITIMER               543     3       @
141 SETPGID                 544     2       @
142 SETPRIORITY             545     3       @
143 SETREGID                546     2       @
144 SETREUID                547     2       @
145 SETRLIMIT               548     2       @
146 SETSID                  549     0       @
147 SGETMASK                550     X       @
148 SIGACTION               551     X       @
149 SIGPENDING              552     X       @
150 SIGPROCMASK             553     X       @
151 SIGRETURN               554     X       @
152 SIGSUSPEND              555     X       @
153 SOCKETCALL              556     X       @
154 SSETMASK                557     X       @
155 STATFS                  558     2       @
156 SWAPOFF                 559     X       @
157 SWAPON                  560     X       @
158 SYSCTL                  561     X       @
159 SYSFS                   562     X       @
160 SYSINFO                 563     X       - Use /proc
161 SYSLOG                  564     X       @ Poss fifo & libc implementation.
162 TRUNCATE                565     3       @
163 ULIMIT                  566     2       @
164 UNAME                   567     1       @
165 USTAT                   568     2       @
166 VHANGUP                 569     0       @
167 WRITEV                  570     3       @