Tag Info

New answers tagged

0

Just to clarify the reason for this further, the manpage is in section 2 because it is a system call (implemented more or less directly as part of the kernel, rather than the C library). This distinction can seem somewhat arbitrary, especially with older system calls that are now library functions (fork is still in section 2 even though it is now a wrapper ...


6

You want man 2 open for the C library interface, not man 3 open. It is indeed in manpages-dev (not manpage-dev). man 3 open gives a Perl manual page. # Show the corresponding source groff file man -w 2 open /usr/share/man/man2/open.2.gz # Show which package this file belongs to dpkg -S /usr/share/man/man2/open.2.gz manpages-dev: ...


3

The manpage sections are described in the manpages themselves. Enter man man in a shell session to see the various sections and general content: 1 Executable programs or shell commands 2 System calls (functions provided by the kernel) 3 Library calls (functions within program libraries) 4 Special files (usually found in /dev) 5 ...



Top 50 recent answers are included