I found it in </usr/include/linux/wait.h>. It was 0x00000001.

Is <code>use POSIX ":sys_wait_h";</code> portable?


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?
> 
> Thanks in advance.


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

Reply via email to