date and time created 93/04/08 02:47:58 by utashiro
[unix-history] / usr / src / sys / news3400 / newsos / syscalls.master
CommitLineData
58721d38 1 @(#)syscalls.master 7.2 (Berkeley) %G%
970a71db
KU
2; System call name/number master file (or rather, slave, from NEWS-OS).
3; Processed to created news_sysent.c, news_syscalls.c and news_syscall.h.
4
5; Columns: number type nargs name altname/comments
6; number system call number, must be in order
7; type one of STD, OBSOL, UNIMPL, COMPAT
8; nargs number of arguments
9; name name of syscall routine
10; altname name of system call if different
11; for UNIMPL/OBSOL, name continues with comments
12
13; types:
14; STD always included
15; COMPAT included on COMPAT #ifdef
16; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
17; OBSOL obsolete, not included in system, only specifies name
18; UNIMPL not implemented, placeholder only
19
20; #ifdef's, etc. may be included, and are copied to the output files.
21
22; Reserved/unimplemented system calls in the range 0-150 inclusive
23; are reserved for use in future Berkeley releases.
24; Additional system calls implemented in vendor and other
25; redistributions should be placed in the reserved range at the end
26; of the current calls.
27
280 UNIMPL 0 nosys indir
291 STD 1 rexit exit
302 STD 0 fork
313 STD 3 read
324 STD 3 write
335 STD 3 open
346 STD 1 close
357 STD 4 wait4
58721d38 368 STD 2 ocreat
970a71db
KU
379 STD 2 link
3810 STD 1 unlink
3911 OBSOL 2 execv
4012 STD 1 chdir
58721d38 4113 COMPAT 1 news_time
970a71db
KU
4214 STD 3 mknod
4315 STD 2 chmod
4416 STD 3 chown
4517 STD 1 obreak break
58721d38 4618 OBSOL 3 stat
970a71db
KU
4719 STD 3 lseek
4820 STD 0 getpid
4921 STD 4 mount
58721d38 5022 OBSOL 1 umount
970a71db
KU
5123 STD 1 setuid
5224 STD 0 getuid
58721d38 5325 OBSOL 1 stime
970a71db 5426 STD 4 ptrace
58721d38
KU
5527 OBSOL 1 alarm
5628 OBSOL 2 fstat
5729 OBSOL 0 pause
5830 OBSOL 2 utime
5931 UNIMPL 0 nosys
6032 UNIMPL 0 nosys
970a71db 6133 STD 2 saccess access
58721d38
KU
6234 OBSOL 2 access
6335 OBSOL 1 ftime
970a71db
KU
6436 STD 0 sync
6537 STD 2 kill
58721d38
KU
6638 STD 2 ostat
6739 OBSOL 2 setpgrp
6840 STD 2 olstat
970a71db
KU
6941 STD 2 dup
7042 STD 0 pipe
58721d38 7143 OBSOL 1 times
970a71db 7244 STD 4 profil
58721d38
KU
7345 UNIMPL 0 nosys
7446 OBSOL 1 setgid
970a71db 7547 STD 0 getgid
58721d38
KU
7648 OBSOL 2 ssig sig
7749 UNIMPL 0 nosys
7850 UNIMPL 0 nosys
970a71db 7951 STD 1 sysacct acct
58721d38
KU
8052 UNIMPL 0 nosys
8153 UNIMPL 0 nosys
970a71db
KU
8254 STD 3 ioctl
8355 STD 1 reboot
58721d38 8456 UNIMPL 0 nosys
970a71db
KU
8557 STD 2 symlink
8658 STD 3 readlink
8759 STD 3 execve
8860 STD 1 umask
8961 STD 1 chroot
58721d38
KU
9062 STD 2 ofstat
9163 UNIMPL 0 nosys
9264 STD 0 ogetpagesize
9365 UNIMPL 5 news_mremap
970a71db
KU
9466 STD 0 vfork
9567 OBSOL 0 vread
9668 OBSOL 0 vwrite
9769 STD 1 sbrk
9870 STD 1 sstk
58721d38 9971 UNIMPL 6 news_mmap
970a71db
KU
10072 STD 1 ovadvise vadvise
10173 STD 2 munmap
10274 STD 3 mprotect
10375 STD 3 madvise
10476 OBSOL 0 vhangup
10577 OBSOL 0 vlimit
10678 STD 3 mincore
10779 STD 2 getgroups
10880 STD 2 setgroups
10981 STD 0 getpgrp
11082 STD 2 setpgid
11183 STD 3 setitimer
58721d38 11284 STD 3 owait
970a71db
KU
11385 STD 1 swapon
11486 STD 2 getitimer
58721d38
KU
11587 STD 2 ogethostname
11688 STD 2 osethostname
970a71db
KU
11789 STD 0 getdtablesize
11890 STD 2 dup2
11991 UNIMPL 2 getdopt
12092 STD 3 fcntl
12193 STD 5 select
12294 UNIMPL 2 setdopt
12395 STD 1 fsync
12496 STD 3 setpriority
12597 STD 3 socket
12698 STD 3 connect
58721d38 12799 STD 3 oaccept
970a71db 128100 STD 2 getpriority
58721d38
KU
129101 STD 4 osend
130102 STD 4 orecv
970a71db
KU
131103 STD 1 sigreturn
132104 STD 3 bind
133105 STD 5 setsockopt
134106 STD 2 listen
135107 OBSOL 0 vtimes
58721d38
KU
136108 STD 3 osigvec
137109 STD 1 osigblock
138110 STD 1 osigsetmask
970a71db 139111 STD 1 sigsuspend
58721d38
KU
140112 STD 2 osigstack
141113 STD 3 orecvmsg
142114 STD 3 osendmsg
970a71db
KU
143#ifdef TRACE
144115 STD 2 vtrace
145#else
146115 OBSOL 2 vtrace
147#endif
148116 STD 2 gettimeofday
149117 STD 2 getrusage
150118 STD 5 getsockopt
151119 UNIMPL 0 nosys
152120 STD 3 readv
153121 STD 3 writev
154122 STD 2 settimeofday
155123 STD 3 fchown
156124 STD 2 fchmod
58721d38
KU
157125 STD 6 orecvfrom
158126 STD 2 osetreuid
159127 STD 2 osetregid
970a71db
KU
160128 STD 2 rename
161129 STD 2 truncate
162130 STD 2 ftruncate
163131 STD 2 flock
58721d38 164132 UNIMPL 0 nosys
970a71db
KU
165133 STD 6 sendto
166134 STD 2 shutdown
167135 STD 5 socketpair
168136 STD 2 mkdir
169137 STD 1 rmdir
170138 STD 2 utimes
171139 OBSOL 0 4.2 sigreturn
172140 STD 2 adjtime
58721d38
KU
173141 STD 3 ogetpeername
174142 STD 0 ogethostid
175143 STD 1 osethostid
970a71db
KU
176144 STD 2 getrlimit
177145 STD 2 setrlimit
58721d38
KU
178146 STD 2 okillpg
179147 UNIMPL 0 nosys
970a71db 180148 STD 4 quotactl
58721d38
KU
181149 STD 4 oquota
182150 STD 3 ogetsockname
970a71db
KU
183
184; Syscalls 151-180 inclusive are reserved for vendor-specific
185; system calls. (This includes various calls added for compatibity
186; with other Unix variants.)
187; Some of these calls are now supported by BSD...
188151 STD 1 news_setenvp
189152 STD 5 news_sysnews
190153 UNIMPL 0 nosys
191154 UNIMPL 0 nosys
192#ifdef NFS
193155 STD 2 nfssvc
194#else
195155 UNIMPL 0 nosys
196#endif
58721d38 197156 STD 4 ogetdirentries
970a71db
KU
198157 STD 2 statfs
199158 STD 2 fstatfs
58721d38
KU
200159 UNIMPL 1 news_unmount
201160 UNIMPL 0 news_async_daemon
970a71db
KU
202#ifdef NFS
203161 STD 2 getfh
204#else
205161 UNIMPL 0 nosys
206#endif
207162 STD 2 sun_getdomainname
208163 STD 2 sun_setdomainname
209164 UNIMPL 0 nosys
210165 UNIMPL 0 nosys
211166 UNIMPL 0 nosys
212167 UNIMPL 0 nosys
213168 UNIMPL 0 nosys
214169 UNIMPL 0 nosys
215170 UNIMPL 0 nosys
216#ifdef SYSVSHM
217171 STD 4 shmsys
218#else
219171 UNIMPL 0 nosys
220#endif
221172 UNIMPL 0 nosys
222173 UNIMPL 0 nosys
223174 STD 3 sun_getdents
224175 UNIMPL 0 nosys
225176 UNIMPL 0 nosys
226177 UNIMPL 0 nosys
227178 UNIMPL 0 nosys
228179 UNIMPL 0 nosys