I keep seeing parentheses and a number after a command or function, example: man(8), ftok(2), mount(8), etc.
What do these mean?
|
I keep seeing parentheses and a number after a command or function, example: man(8), ftok(2), mount(8), etc. What do these mean?
| |||||||
feedback
|
|
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. | |||||||||||||||
feedback
|
|
An excerpt from
| |||||||||
feedback
|
|
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
| |||||||||
feedback
|
|
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?. | ||||
|
feedback
|
|
These are section numbers. If you want to read section 2 of mount then run:
Some man pages have multiple sections. | |||
|
feedback
|