The id number is then an identifier for the corresponding section of the printf entry,
Nit: 3 is the manual section in which to look for the named entry (aka page), not a section of the entry.
Comment on What is this format specifier?
AlmightySnoo@lemmy.world 1 year agoYup that definitely does the same thing.
If anyone else is wondering why the 3
is there, it’s because usually you won’t find just one printf
. You have the printf
user command, the printf
function from the standard C library, and POSIX manual entries for both the printf
user command and C function. The id number is then an identifier for the corresponding section of the printf
entry, and you can list all of them by doing a man -f printf
.
The id number is then an identifier for the corresponding section of the printf entry,
Nit: 3 is the manual section in which to look for the named entry (aka page), not a section of the entry.
Wrote it in an awkward way but yeah I meant to say the section where you can find the corresponding entry 😬
JackbyDev@programming.dev 1 year ago
Awesome, I think I’m gonna consider aliasing
man
toman -f
lol. Can you think of any compelling reason not to?Actually, nevermind, I misunderstood you.
-f
just lists the pages, it doesn’t print all of their content.