Sign in Join
FPDoc Onlineexperiment

W_EXITCODE function

In unit Unix

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

Declaration

pascal
function W_EXITCODE(ReturnCode: Integer; Signal: Integer): Integer

Description

W_EXITCODE combines ReturnCode and Signal to a status code fit for WaitPid.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.