[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'oldlinux' (#rtl)

WIFEXITED

Check whether the process exited normally

Declaration

Source position: oldlinux.pp line 1362

function WIFEXITED(

  Status: Integer

):Boolean;

Description

WIFEXITED checks Status and returns True if the status indicates that the process terminated normally, i.e. was not stopped by a signal.

See also

WaitPID

  

Wait for a process to terminate

WaitProcess

  

Wait for process to terminate.

WTERMSIG

  

Return the signal that caused a process to exit.

WSTOPSIG

  

Return the exit code from the process.

WIFSTOPPED

  

Check whether the process is currently stopped.

WIFSIGNALED

  

Check whether the process was exited by a signal.

W_EXITCODE

  

Construct an exit status based on an return code and signal.

W_STOPCODE

  

Construct an exit status based on a signal.

WEXITSTATUS

  

Extract the exit status from the WaitPID result.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.