InquireSignal function
Check whether a signal handler is set (unix only).
Declaration
function InquireSignal(RtlSigNum: Integer): TSignalStateDescription
RtlSigNum will check whether the signal
RtlSigNum is
being handled, and by whom. It returns a
TSignalState result to
report the state of the signal, which can be one of the following values:
- ssNotHooked
-
No signal handler is set for the signal.
- ssHooked
-
A signal handler is set by the RTL code for the signal.
- ssOverridden
-
A signal handler was set for the signal by third-party code.
This routine works by resetting the signal handlers, so it is risky to call.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
