What's the significance of the number, like the 2
in STAT(2)
, seen in man pages?
For example, man 2 stat
yields a man page with STAT(2)
at the top and a description that begins, The stat() function...
, while man stat
yields a man page with STAT(1)
at the top and a description that begins, The stat utility...
I noticed the page for STAT(1)
says BSD General Commands Manual
, while that for STAT(2)
says BSD System Calls Manual
, so maybe the number is a code for the type of command?
man man
)? – steeldriver Sep 01 '14 at 14:22