I keep seeing parentheses and a number after a command in Unix or Linux or C function.
For example: man(8), ftok(2), mount(8), etc.
What do these mean? I see them in man too.
|
I keep seeing parentheses and a number after a command in Unix or Linux or C function. For example: man(8), ftok(2), mount(8), etc. What do these mean? I see them in man too. |
|||||||
|
|
Manpage sections.
The reason behind sections is that there are things sharing manual pages -
Annotated References [1,2] (as suggested): [1] explanations and examples are spontaneous fabrications in my head, for the matter. |
|||||||||||||||||
|
|
An excerpt from
|
|||||||||||
|
|
The number refers to the man page section the command or C function is in. So you could access the man page of
Or of
|
|||||||||||||
|
|
They are section numbers of the traditional Unix manual pages. Your question has already been answered on Unix and Linux Stack Exchange a year ago, What do the numbers in a man page mean?. |
||||
|
|
|
These are section numbers. If you want to read section 2 of mount then run:
Some man pages have multiple sections. |
|||
|
|