3

在阅读了stdbool.h手册页的章节号之后0P,引起了我的注意。

它是否描述*.h文件或类似的东西?我找不到答案。

4

2 回答 2

5

至少在 Linux 下,p代表 POSIX。

0p是头文件,1p是命令,3p是函数。

于 2013-04-29T00:46:56.487 回答
3

我实际上并不熟悉“man 0”——对 paxdiablo 表示敬意。

这些是标准的“人”部分”:

http://en.wikipedia.org/wiki/Man_page#Manual_sections

Section Description
------- -----------
1       General commands
2       System calls
3       Library functions, covering in particular the C standard library
4       Special files (usually devices, those found in /dev) and drivers
5       File formats and conventions
6       Games and screensavers
7       Miscellanea
8       System administration commands and daemons

这些是某些系统上可用的“附加”部分(显然包括系统上的“0P”部分:

Section Description
------- -----------
0       C library header files
9       Kernel routines
n       Tcl/Tk keywords
x       The X Window System
于 2013-04-29T00:53:33.403 回答