我们知道,linux上 , man是一个很有用的命令,使用他可以帮助我们查看一个命令的使用手册。
有时候,当我们想查看linux一个系统函数的文档,如何来区分呢,可以这样使用:
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]
如:man 2 read, 就可以查看read函数的文档