Why do some Linux system calls have two man pages?

2 answers

socket(2)provides documentation for a system call socket(); socket(7)describes how to use sockets (in general) on Linux.

man man gives you an overview of the sections:

   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   File formats and conventions eg /etc/passwd
   6   Games
   7   Miscellaneous  (including  macro  packages  and  conventions), e.g.
       man(7), groff(7)
   8   System administration commands (usually only for root)
   9   Kernel routines [Non standard]

This list is more or less (although not quite) "universal" for UNIX systems, and the sections that interest you most of the time. Wikipedia has additional documentation on the man partitions used on various UNIX systems.

"" manpages, crontab(1) /sbin/crontab, crontab(5) crontab.

, man , MANSECT; 1 n l 8 3 0 2 5 4 9 6 7 Linux.

man <n> intro (.. man 7 intro).

:
apropos :

$ apropos crontab
anacrontab (5)       - configuration file for Anacron
crontab (1)          - maintains crontab files for individual users
crontab (1p)         - schedule periodic background work
crontab (5)          - files used to schedule the execution of programs
+7

1 8.

Man 2 . 7

 1      User Commands
 2      System Calls
 3      C Library Functions
 4      Devices and Special Files
 5      File Formats and Conventions
 6      Games et. Al.
 7      Miscellanea
 8      System Administration tools and Deamons

, , .

http://en.wikipedia.org/wiki/Man_page

+1

All Articles