yakoub abaya wrote:

when doing man read (for example )  i get
in that last line , the usual "see also " comment
where it says :close(2), ...,write(2)...,lseek(2)

Q: what is the number following in the parentheses ? (--> 2 in write(2) )

The number is the man section number

Sections are:

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]



if i do man write it doesn't show info about c language write function so i suppose the number in the parentheses is useful

Q : how do i man write(2) ? , how do i use the 2 ?

do man 2 write

--

Ori Idan




-------------------------------------------------------------------------- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]




Reply via email to