解决方法
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是你的朋友:
$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