Help for this page

Select Code to Download


  1. or download this
    wait: Behaves like wait(2) on your system: it waits for a child process to terminate and returns the pid of the deceased process, or -1 if there are no child processes.