"The third and last process control system call used by the Shell is
processid, status = wait()
This primitive causes its caller to suspend execution until one
of its children has completed execution. Then wait returns the
processid of the terminated process and a status value indicating
how the process died. (Processes which are never waited for die
unnoticed and presumably unmourned)."
A lost opportunity to give C multiple return values.
A lost opportunity to give C multiple return values.