⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 syscalls.master

📁 早期freebsd实现
💻 MASTER
字号:
	@(#)syscalls.master	8.2 (Berkeley) 1/13/94; 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;	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	STD	0 nosys syscall1	STD	1 exit2	STD	0 fork3	STD	3 read4	STD	3 write5	STD	3 open6	STD	1 close7	STD	4 wait48	COMPAT	2 creat9	STD	2 link10	STD	1 unlink11	OBSOL	2 execv12	STD	1 chdir13	STD	1 fchdir14	STD	3 mknod15	STD	2 chmod16	STD	3 chown17	STD	1 obreak break18	STD	3 getfsstat19	COMPAT	3 lseek20	STD	0 getpid21	STD	4 mount22	STD	2 unmount23	STD	1 setuid24	STD	0 getuid25	STD	0 geteuid26	STD	4 ptrace27	STD	3 recvmsg28	STD	3 sendmsg29	STD	6 recvfrom30	STD	3 accept31	STD	3 getpeername32	STD	3 getsockname33	STD	2 access34	STD	2 chflags35	STD	2 fchflags36	STD	0 sync37	STD	2 kill38	COMPAT	2 stat39	STD	0 getppid40	COMPAT	2 lstat41	STD	2 dup42	STD	0 pipe43	STD	0 getegid44	STD	4 profil#ifdef KTRACE45	STD	4 ktrace#else45	UNIMPL	0 ktrace#endif46	STD	3 sigaction47	STD	0 getgid48	STD	2 sigprocmask49	STD	2 getlogin50	STD	1 setlogin51	STD	1 acct52	STD	0 sigpending53	STD	2 sigaltstack54	STD	3 ioctl55	STD	1 reboot56	STD	1 revoke57	STD	2 symlink58	STD	3 readlink59	STD	3 execve60	STD	1 umask61	STD	1 chroot62	COMPAT	2 fstat63	COMPAT	4 getkerninfo64	COMPAT	0 getpagesize65	STD	2 msync66	STD	0 vfork67	OBSOL	0 vread68	OBSOL	0 vwrite69	STD	1 sbrk70	STD	1 sstk71	COMPAT	7 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	COMPAT	0 wait85	STD	1 swapon86	STD	2 getitimer87	COMPAT	2 gethostname88	COMPAT	2 sethostname89	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	COMPAT	3 accept100	STD	2 getpriority101	COMPAT	4 send102	COMPAT	4 recv103	STD	1 sigreturn104	STD	3 bind105	STD	5 setsockopt106	STD	2 listen107	OBSOL	0 vtimes108	COMPAT	3 sigvec109	COMPAT	1 sigblock110	COMPAT	1 sigsetmask111	STD	1 sigsuspend112	COMPAT	2 sigstack113	COMPAT	3 recvmsg114	COMPAT	3 sendmsg#ifdef TRACE115	STD	2 vtrace#else115	OBSOL	2 vtrace#endif116	STD	2 gettimeofday117	STD	2 getrusage118	STD	5 getsockopt#ifdef vax119	STD	1 resuba#else119	UNIMPL	0 nosys#endif120	STD	3 readv121	STD	3 writev122	STD	2 settimeofday123	STD	3 fchown124	STD	2 fchmod125	COMPAT	6 recvfrom126	COMPAT	2 setreuid127	COMPAT	2 setregid128	STD	2 rename129	COMPAT	2 truncate130	COMPAT	2 ftruncate131	STD	2 flock132	STD	2 mkfifo133	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	COMPAT	3 getpeername142	COMPAT	0 gethostid143	COMPAT	1 sethostid144	COMPAT	2 getrlimit145	COMPAT	2 setrlimit146	COMPAT	2 killpg147	STD	0 setsid148	STD	4 quotactl149	COMPAT	4 quota150	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.); Some of these calls are now supported by BSD...151	UNIMPL	0 nosys152	UNIMPL	0 nosys153	UNIMPL	0 nosys154	UNIMPL	0 nosys#ifdef NFS155	STD	2 nfssvc#else155	UNIMPL	0 nosys#endif156	COMPAT	4 getdirentries157	STD	2 statfs158	STD	2 fstatfs159	UNIMPL	0 nosys160	UNIMPL	0 nosys#ifdef NFS161	STD	2 getfh#else161	UNIMPL	0 nosys#endif162	UNIMPL	0 nosys163	UNIMPL	0 nosys164	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	UNIMPL	0 nosys175	UNIMPL	0 nosys176	UNIMPL	0 nosys177	UNIMPL	0 nosys178	UNIMPL	0 nosys179	UNIMPL	0 nosys180	UNIMPL	0 nosys; Syscalls 180-199 are used by/reserved for BSD181	STD	1 setgid182	STD	1 setegid183	STD	1 seteuid#ifdef LFS184	STD	3 lfs_bmapv185	STD	3 lfs_markv186	STD	2 lfs_segclean187	STD	2 lfs_segwait#else184	UNIMPL	0 nosys185	UNIMPL	0 nosys186	UNIMPL	0 nosys187	UNIMPL	0 nosys#endif188	STD	2 stat189	STD	2 fstat190	STD	2 lstat191	STD	2 pathconf192	STD	2 fpathconf193	UNIMPL	0 nosys194	STD	2 getrlimit195	STD	2 setrlimit196	STD	4 getdirentries197	STD	8 mmap198	STD	0 nosys __syscall199	STD	5 lseek200	STD	4 truncate201	STD	4 ftruncate202	STD	6 __sysctl203	STD	2 mlock204	STD	2 munlock205	UNIMPL	0 nosys206	UNIMPL	0 nosys207	UNIMPL	0 nosys208	UNIMPL	0 nosys209	UNIMPL	0 nosys210	UNIMPL	0 nosys

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -