LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 08:39 AM   #16
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019

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, 08:56 AM   #17
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
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 08:59 AM.
 
Old 08-03-2011, 09:17 AM   #18
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
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



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 03:08 AM
Change in Process Id after fork sankumar Programming 1 12-24-2008 03:20 AM
Create a process using fork()? Ashkan_s Programming 5 08-22-2008 11:46 AM
how to fork a process? Punker99 Programming 2 07-28-2003 11:21 AM
fork() by Process 0 Manish Programming 0 02-23-2002 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:38 PM.

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
Open Source Consulting | Domain Registration