📄 syscalls.master
字号:
@(#)syscalls.master 8.1 (Berkeley) 6/11/93; System call name/number master file (or rather, slave, from NEWS-OS).; Processed to created news_sysent.c, news_syscalls.c and news_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; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h; 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 nosys indir1 STD 1 rexit exit2 STD 0 fork3 STD 3 read4 STD 3 write5 STD 3 open6 STD 1 close7 STD 4 wait48 STD 2 ocreat9 STD 2 link10 STD 1 unlink11 OBSOL 2 execv12 STD 1 chdir13 COMPAT 1 news_time14 STD 3 mknod15 STD 2 chmod16 STD 3 chown17 STD 1 obreak break18 OBSOL 3 stat19 STD 3 olseek20 STD 0 getpid21 STD 4 mount22 OBSOL 1 umount23 STD 1 setuid24 STD 0 getuid25 OBSOL 1 stime26 STD 4 ptrace27 OBSOL 1 alarm28 OBSOL 2 fstat29 OBSOL 0 pause30 OBSOL 2 utime31 UNIMPL 0 nosys32 UNIMPL 0 nosys33 STD 2 saccess access34 OBSOL 2 access35 OBSOL 1 ftime36 STD 0 sync37 STD 2 kill38 STD 2 ostat39 OBSOL 2 setpgrp40 STD 2 olstat41 STD 2 dup42 STD 0 pipe43 OBSOL 1 times44 STD 4 profil45 UNIMPL 0 nosys46 OBSOL 1 setgid47 STD 0 getgid48 OBSOL 2 ssig sig49 UNIMPL 0 nosys50 UNIMPL 0 nosys51 STD 1 sysacct acct52 UNIMPL 0 nosys53 UNIMPL 0 nosys54 STD 3 ioctl55 STD 1 reboot56 UNIMPL 0 nosys57 STD 2 symlink58 STD 3 readlink59 STD 3 execve60 STD 1 umask61 STD 1 chroot62 STD 2 ofstat63 UNIMPL 0 nosys64 STD 0 ogetpagesize65 UNIMPL 5 news_mremap66 STD 0 vfork67 OBSOL 0 vread68 OBSOL 0 vwrite69 STD 1 sbrk70 STD 1 sstk71 UNIMPL 6 news_mmap72 STD 1 ovadvise vadvise73 STD 2 munmap74 STD 3 mprotect75 STD 3 madvise76 OBSOL 0 vhangup77 OBSOL 0 vlimit78 STD 3 mincore79 STD 2 getgroups80 STD 2 setgroups81 STD 0 getpgrp82 STD 2 setpgid83 STD 3 setitimer84 STD 3 owait85 STD 1 swapon86 STD 2 getitimer87 STD 2 ogethostname88 STD 2 osethostname89 STD 0 getdtablesize90 STD 2 dup291 UNIMPL 2 getdopt92 STD 3 fcntl93 STD 5 select94 UNIMPL 2 setdopt95 STD 1 fsync96 STD 3 setpriority97 STD 3 socket98 STD 3 connect99 STD 3 oaccept100 STD 2 getpriority101 STD 4 osend102 STD 4 orecv103 STD 1 sigreturn104 STD 3 bind105 STD 5 setsockopt106 STD 2 listen107 OBSOL 0 vtimes108 STD 3 osigvec109 STD 1 osigblock110 STD 1 osigsetmask111 STD 1 sigsuspend112 STD 2 osigstack113 STD 3 orecvmsg114 STD 3 osendmsg#ifdef TRACE115 STD 2 vtrace#else115 OBSOL 2 vtrace#endif116 STD 2 gettimeofday117 STD 2 getrusage118 STD 5 getsockopt119 UNIMPL 0 nosys120 STD 3 readv121 STD 3 writev122 STD 2 settimeofday123 STD 3 fchown124 STD 2 fchmod125 STD 6 orecvfrom126 STD 2 osetreuid127 STD 2 osetregid128 STD 2 rename129 STD 2 otruncate130 STD 2 oftruncate131 STD 2 flock132 UNIMPL 0 nosys133 STD 6 sendto134 STD 2 shutdown135 STD 5 socketpair136 STD 2 mkdir137 STD 1 rmdir138 STD 2 utimes139 OBSOL 0 4.2 sigreturn140 STD 2 adjtime141 STD 3 ogetpeername142 STD 0 ogethostid143 STD 1 osethostid144 STD 2 ogetrlimit145 STD 2 osetrlimit146 STD 2 okillpg147 UNIMPL 0 nosys148 STD 4 quotactl149 STD 4 oquota150 STD 3 ogetsockname; Syscalls 151-180 inclusive are reserved for vendor-specific; system calls. (This includes various calls added for compatibity; with other Unix variants.); Some of these calls are now supported by BSD...151 STD 1 news_setenvp152 STD 5 news_sysnews153 UNIMPL 0 nosys154 UNIMPL 0 nosys#ifdef NFS155 STD 2 nfssvc#else155 UNIMPL 0 nosys#endif156 STD 4 ogetdirentries157 STD 2 statfs158 STD 2 fstatfs159 UNIMPL 1 news_unmount160 UNIMPL 0 news_async_daemon#ifdef NFS161 STD 2 getfh#else161 UNIMPL 0 nosys#endif162 STD 2 sun_getdomainname163 STD 2 sun_setdomainname164 UNIMPL 0 nosys165 UNIMPL 0 nosys166 UNIMPL 0 nosys167 UNIMPL 0 nosys168 UNIMPL 0 nosys169 UNIMPL 0 nosys170 UNIMPL 0 nosys#ifdef SYSVSHM171 STD 4 shmsys#else171 UNIMPL 0 nosys#endif172 UNIMPL 0 nosys173 UNIMPL 0 nosys174 STD 3 sun_getdents175 UNIMPL 0 nosys176 UNIMPL 0 nosys177 UNIMPL 0 nosys178 UNIMPL 0 nosys179 UNIMPL 0 nosys
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -