Perl Programming/Keywords/waitpid
< Perl Programming | Keywords
The waitpid keyword[edit | edit source]
The function waitpid returns the PID of a particular child process when deceased, or -1, if there was not such a child process. Some systems indicate that there are still processes running with 0.
Syntax[edit | edit source]
waitpid PID, FLAGS