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