Sign in Join
FPDoc Onlineexperiment

FpSigProcMask function

In unit BaseUnix

Set list of blocked signals.

Declaration

pascal
function FpSigProcMask(how: cint; nset: psigset; oset: psigset): cint

Description

Changes the list of currently blocked signals. The behaviour of the call depends on How :

SIG_BLOCK
The set of blocked signals is the union of the current set and the nset argument.
SIG_UNBLOCK
The signals in nset are removed from the set of currently blocked signals.
SIG_SETMASK
The list of blocked signals is set so nset.

If oset is non-nil, then the old set is stored in it.

Errors

Errno is used to report errors.

sys_efault
oset or nset point to an address outside the range of the process.
sys_eintr
System call was interrupted.

See also

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