Description Usage Arguments Details Value Author(s) References See Also Examples
Wait for child process(es) created using 'fork' command to stop or terminate.
1 |
pid |
integer indicating the set of child processes for
which status is requested. If missing or |
nohang |
Use the WNOHANG flag. |
untraced |
Use the WUNTRACED flag. |
This function provides a thin wrapper around the Unix "wait" and
"waitpid" system calls. If pid
is missing or NULL
call, "wait" is called, otherwise "waitpid" is called.
Refer to the local Unix man pages for details on these system calls and the meanings of the various flags.
A vector of length 2 containing
pid |
Process id of a child process |
status |
Status of the child process. |
Refer to the local Unix man pages for details on these system calls and the meanings of the status indicator.
Gregory R. Warnes greg@warnes.net
"wait" and "waitpid" man pages
fork
, exit
, getpid
,
kill
, killall
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.