fork returns 0 in the child, the pid of the child to the parent, and goes from thereif(fork()) { #parent } else { #child }
In reply to Re: fork question
by suaveant
in thread fork question
by gennari
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |