(some of the child processes die immediately with an error code of 11 (EAGAIN)The bottom 7 bits of $? contain the signal number the process died with. 11 is usually a SEGV.
Dave.
In reply to Re^3: Trouble with fork()
by dave_the_m
in thread Trouble with fork()
by phonybone_monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |