LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   function call bracketed numbers (https://www.linuxquestions.org/questions/linux-newbie-8/function-call-bracketed-numbers-805071/)

zapo 04-29-2010 08:21 PM

function call bracketed numbers
 
Please, can someone tell me what the number '2' refers to in function calls, for example fork(2).

Tinkster 04-29-2010 08:28 PM

Man can
Code:

man man
/MANUAL SECTIONS



Cheers,
Tink

kbp 04-29-2010 08:42 PM

The '2' is an argument or parameter, every function is different so you need to look up the documentation.

Just had a thought... if you saw 'fork(2)' somewhere, it may be a reference to the fork man pages - section 2

eg.

'man 2 fork'

chrism01 04-30-2010 03:55 AM

http://en.wikipedia.org/wiki/Man_pages#Manual_sections


All times are GMT -5. The time now is 09:32 AM.