为什么有些Linux系统调用有两个手册页?
发布时间:2020-12-14 01:19:47 所属栏目:Linux 来源:网络整理
导读:例: http://linux.die.net/man/2/socket http://linux.die.net/man/7/socket 它们以何种方式不同? 解决方法 socket(2)提供socket()系统调用的文档; socket(7)描述了如何在Linux上使用套接字(通常). man man为您提供部分概述: 1 Executable programs or sh
例:
http://linux.die.net/man/2/socket 它们以何种方式不同? 解决方法
socket(2)提供socket()系统调用的文档; socket(7)描述了如何在Linux上使用套接字(通常).
man man为您提供部分概述: 1 Executable programs or shell commands 2 System calls (functions provided by the kernel) 3 Library calls (functions within program libraries) 4 Special files (usually found in /dev) 5 File formats and conventions eg /etc/passwd 6 Games 7 Miscellaneous (including macro packages and conventions),e.g. man(7),groff(7) 8 System administration commands (usually only for root) 9 Kernel routines [Non standard] 这个列表在UNIX系统中或多或少(尽管不是很)“通用”,以及大多数时候你感兴趣的部分.各种UNIX系统中使用的Wikipedia has more documentation on man sections. 有许多“重复”联机帮助页,例如crontab(1)描述了/ sbin / crontab,crontab(5)描述了crontab文件格式. 如果没有使用MANSECT环境变量显式添加节,则可以配置man使用哪个节;在Linux上默认为1 n l 8 3 0 2 5 4 9 6 7. 有关每个部分的介绍,请查看man< n>介绍(即man 7 intro). 奖金提示: $apropos crontab anacrontab (5) - configuration file for Anacron crontab (1) - maintains crontab files for individual users crontab (1p) - schedule periodic background work crontab (5) - files used to schedule the execution of programs (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |