1 @(#)syscalls.master 7.4 (Berkeley) 05/30/93 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 368 STD 2 ocreat 379 STD 2 link 3810 STD 1 unlink 3911 OBSOL 2 execv 4012 STD 1 chdir 4113 COMPAT 1 news_time 4214 STD 3 mknod 4315 STD 2 chmod 4416 STD 3 chown 4517 STD 1 obreak break 4618 OBSOL 3 stat 4719 STD 3 olseek 4820 STD 0 getpid 4921 STD 4 mount 5022 OBSOL 1 umount 5123 STD 1 setuid 5224 STD 0 getuid 5325 OBSOL 1 stime 5426 STD 4 ptrace 5527 OBSOL 1 alarm 5628 OBSOL 2 fstat 5729 OBSOL 0 pause 5830 OBSOL 2 utime 5931 UNIMPL 0 nosys 6032 UNIMPL 0 nosys 6133 STD 2 saccess access 6234 OBSOL 2 access 6335 OBSOL 1 ftime 6436 STD 0 sync 6537 STD 2 kill 6638 STD 2 ostat 6739 OBSOL 2 setpgrp 6840 STD 2 olstat 6941 STD 2 dup 7042 STD 0 pipe 7143 OBSOL 1 times 7244 STD 4 profil 7345 UNIMPL 0 nosys 7446 OBSOL 1 setgid 7547 STD 0 getgid 7648 OBSOL 2 ssig sig 7749 UNIMPL 0 nosys 7850 UNIMPL 0 nosys 7951 STD 1 sysacct acct 8052 UNIMPL 0 nosys 8153 UNIMPL 0 nosys 8254 STD 3 ioctl 8355 STD 1 reboot 8456 UNIMPL 0 nosys 8557 STD 2 symlink 8658 STD 3 readlink 8759 STD 3 execve 8860 STD 1 umask 8961 STD 1 chroot 9062 STD 2 ofstat 9163 UNIMPL 0 nosys 9264 STD 0 ogetpagesize 9365 UNIMPL 5 news_mremap 9466 STD 0 vfork 9567 OBSOL 0 vread 9668 OBSOL 0 vwrite 9769 STD 1 sbrk 9870 STD 1 sstk 9971 UNIMPL 6 news_mmap 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 11284 STD 3 owait 11385 STD 1 swapon 11486 STD 2 getitimer 11587 STD 2 ogethostname 11688 STD 2 osethostname 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 12799 STD 3 oaccept 128100 STD 2 getpriority 129101 STD 4 osend 130102 STD 4 orecv 131103 STD 1 sigreturn 132104 STD 3 bind 133105 STD 5 setsockopt 134106 STD 2 listen 135107 OBSOL 0 vtimes 136108 STD 3 osigvec 137109 STD 1 osigblock 138110 STD 1 osigsetmask 139111 STD 1 sigsuspend 140112 STD 2 osigstack 141113 STD 3 orecvmsg 142114 STD 3 osendmsg 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 157125 STD 6 orecvfrom 158126 STD 2 osetreuid 159127 STD 2 osetregid 160128 STD 2 rename 161129 STD 2 otruncate 162130 STD 2 oftruncate 163131 STD 2 flock 164132 UNIMPL 0 nosys 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 173141 STD 3 ogetpeername 174142 STD 0 ogethostid 175143 STD 1 osethostid 176144 STD 2 ogetrlimit 177145 STD 2 osetrlimit 178146 STD 2 okillpg 179147 UNIMPL 0 nosys 180148 STD 4 quotactl 181149 STD 4 oquota 182150 STD 3 ogetsockname 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 197156 STD 4 ogetdirentries 198157 STD 2 statfs 199158 STD 2 fstatfs 200159 UNIMPL 1 news_unmount 201160 UNIMPL 0 news_async_daemon 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 229