Wait for a child to exit.
Source position: bunxh.inc line 72
function FpWait( |
var stat_loc: cint |
):TPid; |
fpWait suspends the current process and waits for any child to exit or stop due to a signal. It reports the exit status of the exited child in stat_loc.
The return value of the function is the process ID of the child that exited, or -1 on error.
Extended error information can be retrieved using fpgetErrno.
|
Create child process. |
|
|
Execute process using environment. |
|
|
Wait for a process to terminate. |