LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-03-2011, 09:39 AM   #16
GazL
Senior Member
 
Registered: May 2008
Posts: 4,182
Blog Entries: 5

Rep: Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621

Quote:
Originally Posted by johnsfine View Post
The OP might not have known that the command to get that man page is
man 3 wait.
At some point you have to assume some level of knowledge and knowing how to read a man-page either via the web or from the CLI I would expect people who are asking programming questions to know. If they don't they only have to ask.

On my slackware box the page is in section 2, system call not library function, though a simple 'man wait' without any section pops it straight up.
 
Old 08-03-2011, 09:56 AM   #17
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by GazL View Post
On my slackware box the page is in section 2, system call not library function, though a simple 'man wait' without any section pops it straight up.
Thanks. I didn't pay enough attention to the meanings of the sections in man.

Google led me to believe it was in section 3.

Simply using man wait on any of my systems pulls up only the BASH_BUILTINS wait in section 1.

man 3 wait doesn't work for me (despite what I got from google). But man 2 wait (based on the info you just provided) works.

I wasn't suggesting you were wrong to tell the OP to read the man page without telling him how. I was just guessing at why he might have failed to follow that suggestion then asked a follow-up question that was answered by that man page.

Last edited by johnsfine; 08-03-2011 at 09:59 AM.
 
Old 08-03-2011, 10:17 AM   #18
GazL
Senior Member
 
Registered: May 2008
Posts: 4,182
Blog Entries: 5

Rep: Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621
No worries John. Slackware has its share of missing man-pages too, so I end up using linux.die.net from time to time myself, it's a good place to have bookmarked
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
process using fork punit_beriwal Programming 5 03-22-2011 04:08 AM
Change in Process Id after fork sankumar Programming 1 12-24-2008 04:20 AM
Create a process using fork()? Ashkan_s Programming 5 08-22-2008 12:46 PM
how to fork a process? Punker99 Programming 2 07-28-2003 12:21 PM
fork() by Process 0 Manish Programming 0 02-23-2002 06:03 PM


All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration