syscalls.master revision 1.17
1	$NetBSD: syscalls.master,v 1.17 1994/06/29 06:30:25 cgd Exp $
2;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
3; System call name/number master file (or rather, slave, from SunOS).
4; Processed to created sun_sysent.c, sun_syscalls.c and sun_syscall.h.
5
6; Columns: number type nargs name altname/comments
7;	number	system call number, must be in order
8;	type	one of STD, OBSOL, UNIMPL, COMPAT
9;	nargs	number of arguments
10;	name	name of syscall routine
11;	altname	name of system call if different
12;		for UNIMPL/OBSOL, name continues with comments
13
14; types:
15;	STD	always included
16;	COMPAT	included on COMPAT #ifdef
17;	LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
18;	OBSOL	obsolete, not included in system, only specifies name
19;	UNIMPL	not implemented, placeholder only
20
21; #ifdef's, etc. may be included, and are copied to the output files.
22
230	STD	0 nosys syscall
241	STD	1 exit
252	STD	0 fork
263	STD	3 read
274	STD	3 write
285	STD	3 sun_open
296	STD	1 close
307	STD	4 sun_wait4
318	STD	2 sun_creat
329	STD	2 link
3310	STD	1 unlink
3411	STD	2 sun_execv
3512	STD	1 chdir
3613	COMPAT	0 sun_time
3714	STD	3 sun_mknod
3815	STD	2 chmod
3916	STD	3 chown
4017	STD	1 obreak break
4118	COMPAT	2 sun_stat
4219	STD	3 olseek lseek
4320	STD	0 getpid
4421	OBSOL	1 sun_old_mount
4522	UNIMPL	1 System V umount
4623	COMPAT	1 setuid
4724	STD	0 getuid
4825	COMPAT	1 sun_stime
4926	UNIMPL	5 sun_ptrace
5027	COMPAT	1 sun_alarm
5128	COMPAT	1 sun_fstat
5229	COMPAT	0 sun_pause
5330	COMPAT	2 sun_utime
5431	UNIMPL	0 was stty
5532	UNIMPL	0 was gtty
5633	STD	2 access
5734	COMPAT	1 sun_nice
5835	COMPAT	1 sun_ftime
5936	STD	0 sync
6037	STD	2 kill
6138	STD	2 ostat stat
6239	COMPAT	2 sun_setpgrp
6340	STD	2 olstat lstat
6441	STD	2 dup
6542	STD	0 pipe
6643	COMPAT	1 sun_times
6744	STD	4 profil
6845	UNIMPL	0 nosys
6946	COMPAT	1 sun_setgid
7047	STD	0 getgid
7148	COMPAT	2 sun_ssig
7249	UNIMPL	0 reserved for USG
7350	UNIMPL	0 reserved for USG
7451	STD	1 acct
7552	UNIMPL	0 nosys
7653	STD	4 sun_mctl
7754	STD	3 sun_ioctl
7855	STD	2 reboot
7956	OBSOL	3 sun_owait3
8057	STD	2 symlink
8158	STD	3 readlink
8259	STD	3 execve
8360	STD	1 umask
8461	STD	1 chroot
8562	STD	2 ofstat
8663	UNIMPL	0 nosys
8764	STD	0 ogetpagesize
8865	STD	3 sun_omsync
8966	STD	0 vfork
9067	OBSOL	0 vread
9168	OBSOL	0 vwrite
9269	STD	1 sbrk
9370	STD	1 sstk
9471	STD	6 sun_mmap mmap
9572	STD	1 ovadvise vadvise
9673	STD	2 munmap
9774	STD	3 mprotect
9875	STD	3 madvise
9976	STD	0 sun_vhangup
10077	COMPAT	0 vlimit
10178	STD	3 mincore
10279	STD	2 getgroups
10380	STD	2 setgroups
10481	STD	1 getpgrp
10582	STD	2 sun_setpgid
10683	STD	3 setitimer
10784	COMPAT	0 wait
10885	STD	1 swapon
10986	STD	2 getitimer
11087	STD	2 ogethostname
11188	STD	2 osethostname
11289	STD	0 ogetdtablesize
11390	STD	2 dup2
11491	UNIMPL	2 getdopt
11592	STD	3 fcntl
11693	STD	5 select
11794	UNIMPL	2 setdopt
11895	STD	1 fsync
11996	STD	3 setpriority
12097	STD	3 socket
12198	STD	3 connect
12299	STD	3 oaccept
123100	STD	2 getpriority
124101	STD	4 osend
125102	STD	4 orecv
126103	UNIMPL	0 old socketaddr
127104	STD	3 bind
128105	STD	5 sun_setsockopt
129106	STD	2 listen
130107	COMPAT	0 vtimes
131108	STD	3 osigvec
132109	STD	1 osigblock
133110	STD	1 osigsetmask
134111	STD	1 sigsuspend
135112	STD	2 osigstack
136113	STD	3 orecvmsg
137114	STD	3 osendmsg
138115	OBSOL	3 vtrace
139116	STD	2 gettimeofday
140117	STD	2 getrusage
141118	STD	5 getsockopt
142119	UNIMPL	0 nosys
143120	STD	3 readv
144121	STD	3 writev
145122	STD	2 settimeofday
146123	STD	3 fchown
147124	STD	2 fchmod
148125	STD	6 orecvfrom
149126	STD	2 osetreuid
150127	STD	2 osetregid
151128	STD	2 rename
152129	STD	2 otruncate truncate
153130	STD	2 oftruncate ftruncate
154131	STD	2 flock
155132	UNIMPL	0 nosys
156133	STD	6 sendto
157134	STD	2 shutdown
158135	STD	5 socketpair
159136	STD	2 mkdir
160137	STD	1 rmdir
161138	STD	2 utimes
162139	STD	1 sigreturn
163140	STD	2 adjtime
164141	STD	3 ogetpeername
165142	STD	0 ogethostid
166143	UNIMPL	1 old sethostid
167144	STD	2 sun_getrlimit
168145	STD	2 sun_setrlimit
169146	STD	2 okillpg
170147	UNIMPL	0 nosys
171148	UNIMPL	0 nosys
172149	UNIMPL	0 nosys
173150	STD	3 ogetsockname
174151	UNIMPL	4 getmsg
175152	UNIMPL	4 putmsg
176153	UNIMPL	3 poll
177154	UNIMPL	0 nosys
178#ifdef NFSSERVER
179155	STD	0 sun_nfssvc
180#else
181155	UNIMPL	0 nosys
182#endif
183156	STD	4 getdirentries
184157	STD	2 sun_statfs
185158	STD	2 sun_fstatfs
186159	STD	1 sun_unmount
187#ifdef NFSCLIENT
188160	STD	0 async_daemon
189161	STD	2 getfh
190#else
191160	UNIMPL	0 nosys
192161	UNIMPL	0 nosys
193#endif
194162	STD	2 ogetdomainname
195163	STD	2 osetdomainname
196164	UNIMPL	5 rtschedule
197165	STD	4 sun_quotactl
198166	STD	2 sun_exportfs
199167	STD	4 sun_mount
200168	STD	2 sun_ustat
201#ifdef SYSVSEM
202169	STD	5 semsys
203#else
204169	UNIMPL	0 nosys
205#endif
206#ifdef SYSVMSG
207170	STD	6 msgsys
208#else
209170	UNIMPL	0 nosys
210#endif
211#ifdef SYSVSHM
212171	STD	4 shmsys
213#else
214171	UNIMPL	0 nosys
215#endif
216172	STD	4 sun_auditsys
217173	UNIMPL	5 rfssys
218174	STD	3 sun_getdents
219175	STD	1 setsid
220176	STD	1 fchdir
221177	STD	1 sun_fchroot
222178	UNIMPL	0 vpixsys
223179	UNIMPL	0 aioread
224180	UNIMPL	0 aiowrite
225181	UNIMPL	0 aiowait
226182	UNIMPL	0 aiocancel
227183	STD	1 sun_sigpending
228184	UNIMPL	0 nosys
229185	STD	2 setpgid
230186	UNIMPL	2 pathconf
231187	UNIMPL	2 fpathconf
232188	STD	1 sun_sysconf
233189	STD	1 sun_uname
234