return 0 if $pid < 0;
Clarify, Correct: Can $pid be a negative number? I don't see anything in your code to support that (but still stand to be corrected).
In reply to Re: forking and timeouts
by ww
in thread forking and timeouts
by Earindil
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |