[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Wait for process to terminate.
Source position: oldlinux.pp line 1355
function WaitProcess( |
Pid: LongInt |
):LongInt; |
WaitProcess waits for process PID to exit. WaitProcess is equivalent to the WaitPID call:
WaitPid(PID,@result,0)
Handles of Signal interrupts (errno=EINTR), and returns the Exitcode of Process PID (>=0) or -Status if it was terminated
None.
|
Wait for a process to terminate |
|
|
Return the signal that caused a process to exit. |
|
|
Return the exit code from the process. |
|
|
Check whether the process exited normally |
|
|
Check whether the process is currently stopped. |
|
|
Check whether the process was exited by a signal. |
|
|
Construct an exit status based on an return code and signal. |
|
|
Construct an exit status based on a signal. |
|
|
Extract the exit status from the WaitPID result. |
lazarus-ccr.sourceforge.net |