Topics / Operating System Concepts / Q34
What do wait() and exit() do?
exit terminates a process and makes its status available; wait collects a child's termination status and reaps it.
exit terminates a process and makes its status available; wait collects a child's termination status and reaps it.