+ @(#)syscalls.master 1.1 (Berkeley) %G%
+; System call name/number master file.
+; Processed to created init_sysent.c, syscalls.c and syscall.h.
+
+; Columns: number type nargs name altname/comments
+; number system call number, must be in order
+; type one of STD, OBSOL, UNIMPL, COMPAT
+; nargs number of arguments
+; name name of syscall routine
+; altname name of system call if different
+; for UNIMPL/OBSOL, name continues with comments
+
+; types:
+; STD always included
+; COMPAT included on COMPAT #ifdef
+; OBSOL obsolete, not included in system, only specifies name
+; UNIMPL not implemented, placeholder only
+
+; #ifdef's, etc. may be included, and are copied to the output files.
+
+; Reserved/unimplemented system calls in the range 0-150 inclusive
+; are reserved for use in future Berkeley releases.
+; Additional system calls implemented in vendor and other
+; redistributions should be placed in the reserved range at the end
+; of the current calls.
+
+0 UNIMPL 0 indir or out-of-range
+1 STD 1 rexit exit
+2 STD 0 fork
+3 STD 3 read
+4 STD 3 write
+5 STD 3 open
+6 STD 1 close
+7 STD 4 wait4
+8 STD 2 creat
+9 STD 2 link
+10 STD 1 unlink
+11 STD 2 execv
+12 STD 1 chdir
+13 OBSOL 0 time
+14 STD 3 mknod
+15 STD 2 chmod
+16 STD 3 chown
+17 STD 1 obreak
+18 OBSOL 0 stat
+19 STD 3 lseek
+20 STD 0 getpid
+21 STD 3 smount mount
+22 STD 1 umount
+23 OBSOL 0 setuid
+24 STD 0 getuid
+25 OBSOL 0 stime
+26 STD 4 ptrace
+27 STD 3 recvmsg
+28 STD 3 sendmsg
+29 STD 6 recvfrom
+30 STD 3 accept
+31 STD 3 getpeername
+32 STD 3 getsockname
+33 STD 2 saccess access
+34 OBSOL 0 nice
+35 OBSOL 0 ftime
+36 STD 0 sync
+37 STD 2 kill
+38 STD 2 stat
+39 OBSOL 0 setpgrp
+40 STD 2 lstat
+41 STD 2 dup
+42 STD 0 pipe
+43 OBSOL 0 times
+44 STD 4 profil
+#ifdef KTRACE
+45 STD 4 ktrace
+#else
+45 UNIMPL 0 nosys
+#endif
+46 OBSOL 0 setgid
+47 STD 0 getgid
+48 OBSOL 0 sigsys
+49 STD 2 getlogname
+50 STD 2 setlogname
+51 STD 1 sysacct acct
+52 OBSOL 0 set phys addr
+53 OBSOL 0 lock in core
+54 STD 3 ioctl
+55 STD 1 reboot
+56 OBSOL 0 mpxchan
+57 STD 2 symlink
+58 STD 3 readlink
+59 STD 3 execve
+60 STD 1 umask
+61 STD 1 chroot
+62 STD 2 fstat
+63 UNIMPL 0 nosys
+64 STD 0 getpagesize
+65 STD 2 msync
+66 STD 0 vfork
+67 OBSOL 0 vread
+68 OBSOL 0 vwrite
+69 STD 1 sbrk
+70 STD 1 sstk
+71 STD 6 smmap mmap
+72 STD 1 ovadvise
+73 STD 2 munmap
+74 STD 3 mprotect
+75 STD 3 madvise
+76 STD 1 vhangup
+77 OBSOL 0 vlimit
+78 STD 3 mincore
+79 STD 2 getgroups
+80 STD 2 setgroups
+81 STD 1 getpgrp
+82 STD 2 setpgrp
+83 STD 3 setitimer
+84 COMPAT 0 wait
+85 STD 1 swapon
+86 STD 2 getitimer
+87 STD 2 gethostname
+88 STD 2 sethostname
+89 STD 0 getdtablesize
+90 STD 2 dup2
+91 UNIMPL 2 getdopt
+92 STD 3 fcntl
+93 STD 5 select
+94 UNIMPL 2 setdopt
+95 STD 1 fsync
+96 STD 3 setpriority
+97 STD 3 socket
+98 STD 3 connect
+99 COMPAT 3 accept
+100 STD 2 getpriority
+101 COMPAT 4 send
+102 COMPAT 4 recv
+103 STD 1 sigreturn
+104 STD 3 bind
+105 STD 5 setsockopt
+106 STD 2 listen
+107 OBSOL 0 vtimes
+108 STD 3 sigvec
+109 STD 1 sigblock
+110 STD 1 sigsetmask
+111 STD 1 sigpause
+112 STD 2 sigstack
+113 COMPAT 3 recvmsg
+114 COMPAT 3 sendmsg
+#ifdef TRACE
+115 STD 2 vtrace
+#else
+115 OBSOL 2 vtrace
+#endif
+116 STD 2 gettimeofday
+117 STD 2 getrusage
+118 STD 5 getsockopt
+#ifdef vax
+119 STD 1 resuba
+#else
+119 UNIMPL 0 nosys
+#endif
+120 STD 3 readv
+121 STD 3 writev
+122 STD 2 settimeofday
+123 STD 3 fchown
+124 STD 2 fchmod
+125 COMPAT 6 recvfrom
+126 STD 2 setreuid
+127 STD 2 setregid
+128 STD 2 rename
+129 STD 2 truncate
+130 STD 2 ftruncate
+131 STD 2 flock
+132 UNIMPL 0 nosys
+133 STD 6 sendto
+134 STD 2 shutdown
+135 STD 5 socketpair
+136 STD 2 mkdir
+137 STD 1 rmdir
+138 STD 2 utimes
+139 OBSOL 0 4.2 sigreturn
+140 STD 2 adjtime
+141 COMPAT 3 getpeername
+142 STD 0 gethostid
+143 STD 1 sethostid
+144 STD 2 getrlimit
+145 STD 2 setrlimit
+146 STD 2 killpg
+147 STD 0 setsid
+148 STD 2 setquota
+149 STD 4 qquota quota
+150 COMPAT 3 getsockname
+
+; Syscalls 151-180 inclusive are reserved for vendor-specific
+; system calls. (This includes various calls added for compatibity
+; with other Unix variants.)