1*68718Smckusick	@(#)syscalls.master	8.2 (Berkeley) 04/03/95
255099Storek; System call name/number master file (or rather, slave, from SunOS).
355099Storek; Processed to created sun_sysent.c, sun_syscalls.c and sun_syscall.h.
455099Storek
555099Storek; Columns: number type nargs name altname/comments
655099Storek;	number	system call number, must be in order
755099Storek;	type	one of STD, OBSOL, UNIMPL, COMPAT
855099Storek;	nargs	number of arguments
955099Storek;	name	name of syscall routine
1055099Storek;	altname	name of system call if different
1155099Storek;		for UNIMPL/OBSOL, name continues with comments
1255099Storek
1355099Storek; types:
1455099Storek;	STD	always included
1555099Storek;	COMPAT	included on COMPAT #ifdef
1655099Storek;	LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
1755099Storek;	OBSOL	obsolete, not included in system, only specifies name
1855099Storek;	UNIMPL	not implemented, placeholder only
1955099Storek
2055099Storek; #ifdef's, etc. may be included, and are copied to the output files.
2155099Storek
2263553Smckusick0	UNIMPL	0 nosys syscall
2363553Smckusick1	STD	1 exit
2455099Storek2	STD	0 fork
2555099Storek3	STD	3 read
2655099Storek4	STD	3 write
2755099Storek5	STD	3 open
2855099Storek6	STD	1 close
2955099Storek7	STD	4 sun_wait4
3055099Storek8	STD	2 sun_creat
3155099Storek9	STD	2 link
3255099Storek10	STD	1 unlink
3355099Storek11	STD	2 sun_execv
3455099Storek12	STD	1 chdir
3555099Storek13	COMPAT	0 sun_time
3655099Storek14	STD	3 mknod
3755099Storek15	STD	2 chmod
3855099Storek16	STD	3 chown
3955099Storek17	STD	1 obreak break
4055099Storek18	COMPAT	2 sun_stat
41*68718Smckusick19	STD	3 compat_43_lseek
4255099Storek20	STD	0 getpid
4355099Storek21	OBSOL	1 sun_old_mount
4455099Storek22	UNIMPL	1 System V umount
4555099Storek23	COMPAT	1 setuid
4655099Storek24	STD	0 getuid
4755099Storek25	COMPAT	1 sun_stime
4855099Storek26	UNIMPL	5 sun_ptrace
4955099Storek27	COMPAT	1 sun_alarm
5055099Storek28	COMPAT	1 sun_fstat
5155099Storek29	COMPAT	0 sun_pause
5255099Storek30	COMPAT	2 sun_utime
5355099Storek31	UNIMPL	0 was stty
5455099Storek32	UNIMPL	0 was gtty
5563553Smckusick33	STD	2 access
5655099Storek34	COMPAT	1 sun_nice
5755099Storek35	COMPAT	1 sun_ftime
5855099Storek36	STD	0 sync
5955099Storek37	STD	2 kill
60*68718Smckusick38	STD	2 compat_43_stat
6155099Storek39	COMPAT	2 sun_setpgrp
62*68718Smckusick40	STD	2 compat_43_lstat
6355099Storek41	STD	2 dup
6455099Storek42	STD	0 pipe
6555099Storek43	COMPAT	1 sun_times
6655099Storek44	STD	4 profil
6755099Storek45	UNIMPL	0 nosys
6855099Storek46	COMPAT	1 sun_setgid
6955099Storek47	STD	0 getgid
7055099Storek48	COMPAT	2 sun_ssig
7155099Storek49	UNIMPL	0 reserved for USG
7255099Storek50	UNIMPL	0 reserved for USG
7363553Smckusick51	STD	1 acct
7455099Storek52	UNIMPL	0 nosys
7555099Storek53	STD	4 sun_mctl
7655099Storek54	STD	3 sun_ioctl
7755099Storek55	STD	2 reboot
7855099Storek56	OBSOL	3 sun_owait3
7955099Storek57	STD	2 symlink
8055099Storek58	STD	3 readlink
8155099Storek59	STD	3 execve
8255099Storek60	STD	1 umask
8355099Storek61	STD	1 chroot
84*68718Smckusick62	STD	2 compat_43_fstat
8555099Storek63	UNIMPL	0 nosys
86*68718Smckusick64	STD	0 compat_43_getpagesize
8755099Storek65	STD	3 sun_omsync
8855099Storek66	STD	0 vfork
8955099Storek67	OBSOL	0 vread
9055099Storek68	OBSOL	0 vwrite
9155099Storek69	STD	1 sbrk
9255099Storek70	STD	1 sstk
9355099Storek71	STD	6 sun_mmap mmap
9455099Storek72	STD	1 ovadvise vadvise
9555099Storek73	STD	2 munmap
9655099Storek74	STD	3 mprotect
9755099Storek75	STD	3 madvise
9855099Storek76	COMPAT	0 vhangup
9955099Storek77	COMPAT	0 vlimit
10055099Storek78	STD	3 mincore
10155099Storek79	STD	2 getgroups
10255099Storek80	STD	2 setgroups
10355099Storek81	STD	1 getpgrp
10455099Storek82	STD	2 setpgid
10555099Storek83	STD	3 setitimer
10655099Storek84	COMPAT	0 wait
10755099Storek85	STD	1 swapon
10855099Storek86	STD	2 getitimer
109*68718Smckusick87	STD	2 compat_43_gethostname
110*68718Smckusick88	STD	2 compat_43_sethostname
11155099Storek89	STD	0 getdtablesize
11255099Storek90	STD	2 dup2
11355099Storek91	UNIMPL	2 getdopt
11455099Storek92	STD	3 fcntl
11555099Storek93	STD	5 select
11655099Storek94	UNIMPL	2 setdopt
11755099Storek95	STD	1 fsync
11855099Storek96	STD	3 setpriority
11955099Storek97	STD	3 socket
12055099Storek98	STD	3 connect
121*68718Smckusick99	STD	3 compat_43_accept
12255099Storek100	STD	2 getpriority
123*68718Smckusick101	STD	4 compat_43_send
124*68718Smckusick102	STD	4 compat_43_recv
12555099Storek103	UNIMPL	0 old socketaddr
12655099Storek104	STD	3 bind
12755099Storek105	STD	5 sun_setsockopt
12855099Storek106	STD	2 listen
12955099Storek107	COMPAT	0 vtimes
130*68718Smckusick108	STD	3 compat_43_sigvec
131*68718Smckusick109	STD	1 compat_43_sigblock
132*68718Smckusick110	STD	1 compat_43_sigsetmask
13355099Storek111	STD	1 sigsuspend
134*68718Smckusick112	STD	2 compat_43_sigstack
135*68718Smckusick113	STD	3 compat_43_recvmsg
136*68718Smckusick114	STD	3 compat_43_sendmsg
13755099Storek115	OBSOL	3 vtrace
13855099Storek116	STD	2 gettimeofday
13955099Storek117	STD	2 getrusage
14055099Storek118	STD	5 getsockopt
14155099Storek119	UNIMPL	0 nosys
14255099Storek120	STD	3 readv
14355099Storek121	STD	3 writev
14455099Storek122	STD	2 settimeofday
14555099Storek123	STD	3 fchown
14655099Storek124	STD	2 fchmod
147*68718Smckusick125	STD	6 compat_43_recvfrom
148*68718Smckusick126	STD	2 compat_43_setreuid
149*68718Smckusick127	STD	2 compat_43_setregid
15055099Storek128	STD	2 rename
151*68718Smckusick129	STD	2 compat_43_truncate
152*68718Smckusick130	STD	2 compat_43_ftruncate
15355099Storek131	STD	2 flock
15455099Storek132	UNIMPL	0 nosys
15555099Storek133	STD	6 sendto
15655099Storek134	STD	2 shutdown
15755099Storek135	STD	5 socketpair
15855099Storek136	STD	2 mkdir
15955099Storek137	STD	1 rmdir
16055099Storek138	STD	2 utimes
16155099Storek139	STD	1 sigreturn
16255099Storek140	STD	2 adjtime
163*68718Smckusick141	STD	3 compat_43_getpeername
164*68718Smckusick142	STD	0 compat_43_gethostid
16555099Storek143	UNIMPL	1 old sethostid
166*68718Smckusick144	STD	2 compat_43_getrlimit
167*68718Smckusick145	STD	2 compat_43_setrlimit
168*68718Smckusick146	STD	2 compat_43_killpg
16955099Storek147	UNIMPL	0 nosys
17055099Storek148	UNIMPL	0 nosys
17155099Storek149	UNIMPL	0 nosys
172*68718Smckusick150	STD	3 compat_43_getsockname
17355099Storek151	UNIMPL	4 getmsg
17455099Storek152	UNIMPL	4 putmsg
17555099Storek153	UNIMPL	3 poll
17655099Storek154	UNIMPL	0 nosys
17755099Storek155	UNIMPL	0 nosys
17855099Storek156	STD	4 getdirentries
17955099Storek157	STD	2 statfs
18055099Storek158	STD	2 fstatfs
18155099Storek159	STD	1 sun_unmount
18255099Storek160	UNIMPL	0 nosys
18355099Storek161	UNIMPL	0 nosys
18455099Storek162	STD	2 sun_getdomainname
18555099Storek163	STD	2 sun_setdomainname
18655099Storek164	UNIMPL	5 rtschedule
18755099Storek165	UNIMPL	4 quotactl
18855099Storek166	UNIMPL	2 exportfs
18955099Storek167	STD	4 sun_mount
19055099Storek168	UNIMPL	2 ustat
19155099Storek169	UNIMPL	5 semsys
19255099Storek170	UNIMPL	6 msgsys
19355099Storek#ifdef SYSVSHM
19455099Storek171	STD	4 shmsys
19555099Storek#else
19655099Storek171	UNIMPL	0 nosys
19755099Storek#endif
19855099Storek172	UNIMPL	4 auditsys
19955099Storek173	UNIMPL	5 rfssys
20055099Storek174	STD	3 sun_getdents
20155099Storek175	STD	1 setsid
20255099Storek176	STD	1 fchdir
20355099Storek177	STD	1 sun_fchroot
20455099Storek178	UNIMPL	0 nosys
20555099Storek179	UNIMPL	0 nosys
20655099Storek180	UNIMPL	0 nosys
20755099Storek181	UNIMPL	0 nosys
20855099Storek182	UNIMPL	0 nosys
20955099Storek183	STD	1 sun_sigpending
21055099Storek184	UNIMPL	0 nosys
21155099Storek185	STD	2 setpgid
21255099Storek186	UNIMPL	2 pathconf
21355099Storek187	UNIMPL	2 fpathconf
21455099Storek188	UNIMPL	1 sysconf
21555099Storek189	UNIMPL	1 uname
216