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

WIFSTOPPED

Check whether the process is currently stopped.

Declaration

Source position: oldlinux.pp line 1363

function WIFSTOPPED(

  Status: Integer

):Boolean;

Description

WIFSTOPPEDchecks Statusand returns trueif the process is currently stopped. This is only possible if WUNTRACED was specified in the options of WaitPID.

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.

WIFEXITED

  

Check whether the process exited normally

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 WaitPIDresult.