| [Overview][Constants][Types][Procedures and functions][Variables][Index] | 
Construct an exit status based on an return code and signal.
Source position: unix.pp line 91
function W_EXITCODE(  | 
ReturnCode: Integer;  | 
Signal: Integer  | 
):Integer;  | 
W_EXITCODE combines ReturnCode and Signal to a status code fit for WaitPid.
  | 
Wait for a process to terminate  | 
|
  | 
Wait for 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 fpWaitPID result.  |