使用man时可以指定不同的section来浏览,各个section意义如下:
0 Header files (usually found in /usr/include) ----头文件
1 Executable programs or shell commands -----shell命令,ls2 System calls (functions provided by the kernel) ------系统调用,read,write
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 conven?
tions), e.g. man(7), groff(7)
8 System administration commands (usually only for root)
9 Kernel routines [Non standard]
以上可以通过 man man 查看具体的信息
使用示例:
man 2 read