1 @(#)syscalls.master 7.1 (Berkeley) 07/13/92 2; System call name/number master file (or rather, slave, from SunOS). 3; Processed to created sun_sysent.c, sun_syscalls.c and sun_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 220 UNIMPL 0 indir or out-of-range 231 STD 1 rexit exit 242 STD 0 fork 253 STD 3 read 264 STD 3 write 275 STD 3 open 286 STD 1 close 297 STD 4 sun_wait4 308 STD 2 sun_creat 319 STD 2 link 3210 STD 1 unlink 3311 STD 2 sun_execv 3412 STD 1 chdir 3513 COMPAT 0 sun_time 3614 STD 3 mknod 3715 STD 2 chmod 3816 STD 3 chown 3917 STD 1 obreak break 4018 COMPAT 2 sun_stat 4119 STD 3 lseek 4220 STD 0 getpid 4321 OBSOL 1 sun_old_mount 4422 UNIMPL 1 System V umount 4523 COMPAT 1 setuid 4624 STD 0 getuid 4725 COMPAT 1 sun_stime 4826 UNIMPL 5 sun_ptrace 4927 COMPAT 1 sun_alarm 5028 COMPAT 1 sun_fstat 5129 COMPAT 0 sun_pause 5230 COMPAT 2 sun_utime 5331 UNIMPL 0 was stty 5432 UNIMPL 0 was gtty 5533 STD 2 saccess access 5634 COMPAT 1 sun_nice 5735 COMPAT 1 sun_ftime 5836 STD 0 sync 5937 STD 2 kill 6038 STD 2 ostat 6139 COMPAT 2 sun_setpgrp 6240 STD 2 olstat 6341 STD 2 dup 6442 STD 0 pipe 6543 COMPAT 1 sun_times 6644 STD 4 profil 6745 UNIMPL 0 nosys 6846 COMPAT 1 sun_setgid 6947 STD 0 getgid 7048 COMPAT 2 sun_ssig 7149 UNIMPL 0 reserved for USG 7250 UNIMPL 0 reserved for USG 7351 STD 1 sysacct acct 7452 UNIMPL 0 nosys 7553 STD 4 sun_mctl 7654 STD 3 sun_ioctl 7755 STD 2 reboot 7856 OBSOL 3 sun_owait3 7957 STD 2 symlink 8058 STD 3 readlink 8159 STD 3 execve 8260 STD 1 umask 8361 STD 1 chroot 8462 STD 2 ofstat 8563 UNIMPL 0 nosys 8664 STD 0 getpagesize 8765 STD 3 sun_omsync 8866 STD 0 vfork 8967 OBSOL 0 vread 9068 OBSOL 0 vwrite 9169 STD 1 sbrk 9270 STD 1 sstk 9371 STD 6 sun_mmap mmap 9472 STD 1 ovadvise vadvise 9573 STD 2 munmap 9674 STD 3 mprotect 9775 STD 3 madvise 9876 COMPAT 0 vhangup 9977 COMPAT 0 vlimit 10078 STD 3 mincore 10179 STD 2 getgroups 10280 STD 2 setgroups 10381 STD 1 getpgrp 10482 STD 2 setpgid 10583 STD 3 setitimer 10684 COMPAT 0 wait 10785 STD 1 swapon 10886 STD 2 getitimer 10987 STD 2 gethostname 11088 STD 2 sethostname 11189 STD 0 getdtablesize 11290 STD 2 dup2 11391 UNIMPL 2 getdopt 11492 STD 3 fcntl 11593 STD 5 select 11694 UNIMPL 2 setdopt 11795 STD 1 fsync 11896 STD 3 setpriority 11997 STD 3 socket 12098 STD 3 connect 12199 STD 3 oaccept 122100 STD 2 getpriority 123101 STD 4 osend 124102 STD 4 orecv 125103 UNIMPL 0 old socketaddr 126104 STD 3 bind 127105 STD 5 sun_setsockopt 128106 STD 2 listen 129107 COMPAT 0 vtimes 130108 STD 3 osigvec 131109 STD 1 osigblock 132110 STD 1 osigsetmask 133111 STD 1 sigsuspend 134112 STD 2 osigstack 135113 STD 3 orecvmsg 136114 STD 3 osendmsg 137115 OBSOL 3 vtrace 138116 STD 2 gettimeofday 139117 STD 2 getrusage 140118 STD 5 getsockopt 141119 UNIMPL 0 nosys 142120 STD 3 readv 143121 STD 3 writev 144122 STD 2 settimeofday 145123 STD 3 fchown 146124 STD 2 fchmod 147125 STD 6 orecvfrom 148126 STD 2 sun_setreuid 149127 STD 2 sun_setregid 150128 STD 2 rename 151129 STD 2 truncate 152130 STD 2 ftruncate 153131 STD 2 flock 154132 UNIMPL 0 nosys 155133 STD 6 sendto 156134 STD 2 shutdown 157135 STD 5 socketpair 158136 STD 2 mkdir 159137 STD 1 rmdir 160138 STD 2 utimes 161139 STD 1 sigreturn 162140 STD 2 adjtime 163141 STD 3 ogetpeername 164142 STD 0 gethostid 165143 UNIMPL 1 old sethostid 166144 STD 2 getrlimit 167145 STD 2 setrlimit 168146 STD 2 okillpg 169147 UNIMPL 0 nosys 170148 UNIMPL 0 nosys 171149 UNIMPL 0 nosys 172150 STD 3 ogetsockname 173151 UNIMPL 4 getmsg 174152 UNIMPL 4 putmsg 175153 UNIMPL 3 poll 176154 UNIMPL 0 nosys 177155 UNIMPL 0 nosys 178156 STD 4 getdirentries 179157 STD 2 statfs 180158 STD 2 fstatfs 181159 STD 1 sun_unmount 182160 UNIMPL 0 nosys 183161 UNIMPL 0 nosys 184162 STD 2 sun_getdomainname 185163 STD 2 sun_setdomainname 186164 UNIMPL 5 rtschedule 187165 UNIMPL 4 quotactl 188166 UNIMPL 2 exportfs 189167 STD 4 sun_mount 190168 UNIMPL 2 ustat 191169 UNIMPL 5 semsys 192170 UNIMPL 6 msgsys 193#ifdef SYSVSHM 194171 STD 4 shmsys 195#else 196171 UNIMPL 0 nosys 197#endif 198172 UNIMPL 4 auditsys 199173 UNIMPL 5 rfssys 200174 STD 3 sun_getdents 201175 STD 1 setsid 202176 STD 1 fchdir 203177 STD 1 sun_fchroot 204178 UNIMPL 0 nosys 205179 UNIMPL 0 nosys 206180 UNIMPL 0 nosys 207181 UNIMPL 0 nosys 208182 UNIMPL 0 nosys 209183 STD 1 sun_sigpending 210184 UNIMPL 0 nosys 211185 STD 2 setpgid 212186 UNIMPL 2 pathconf 213187 UNIMPL 2 fpathconf 214188 UNIMPL 1 sysconf 215189 UNIMPL 1 uname 216