Waiting for Process Termination
In some situations, it is desirable for the parent process to wait until one or more child processes have completed.This can be done with the wait family of system calls. These functions allow you to wait for a process to finish executing, and enable the parent process to retrieve information about its child's termination.
2006-03-17