Sep 22, 2024
exit
or implicitly on returning from main
).wait
system call allows the parent to manage child processes and retrieve their exit status.wait
and its algorithm, including pseudo code.wait
.wait
to properly clean up and avoid zombie processes.wait
system call allows the parent to reap its child manually.wait
blocks until the child terminates.wait
can return the child process ID and the exit code of the child.wait
system call synchronizes the parent with the child's termination.wait
system call can handle multiple child processes efficiently.wait
system call.