On Fri, Apr 12, 2002 at 07:01:15PM -0700, Ahmed Moustafa wrote:

> I found it in </usr/include/linux/wait.h>. It was 0x00000001.
> 
> Is <code>use POSIX ":sys_wait_h";</code> portable?

It is on systems that support it.

perldoc perlipc

> Ahmed Moustafa wrote:
> > <code>
> > waitpid $pid,&WNOHANG;
> > </code>
> > 
> > What is the value of the flag WNOHANG in waitpid?
> > What does it mean when $pid is -1?

It means wait for any child process.

man perlipc

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to