man
pages of the printf
and online documentations often show printf(3)
when explaining the functionality of printf
. What does the "3" denote?
Asked
Active
Viewed 143 times
3 Answers
1
3
denotes the section which printf
is a part of. Section 3
corresponds to: Library calls (functions within program libraries).
You could also issue man <section number> <keyword>
, eg. man 3 printf
to look up a keyword in a specific section. man 1 printf
will show you the printf
shell command.

babon
- 3,615
- 2
- 20
- 20
0
According to the man
about the man
page. 3 referers to Library calls.So 'printf(3)' is a library call.

Gunasekar
- 611
- 1
- 8
- 21
0
Your printf
is a library function so documented in printf(3). See intro(3) but there is a similar command printf(1)
And see man-pages(7) for organization of man
pages

Basile Starynkevitch
- 223,805
- 18
- 296
- 547