previous | start | next

If the parent finishes before a child...

If the parent finishes first (without waiting) for a child, the child is not a zombie, but what happens if the child calls getppid()?

The parent's pid is no longer valid and should not (is not) returned to this child.



previous | start | next