Assertion: parent's child | /r/HasProperty | inherited by a system process
Facets:
Source sentences:
text: In the code fragment, assert(original == getppid() || getppid() == 1); allows for the possibility that by the time the child executes the statement, the parent process may have exited, in which case the child will have been inherited by a system process — which normally has PID 1 (I know of no POSIX system where orphaned children are inherited by a different PID, but there probably is one).