Unit 'BaseUnix' Package
[Overview][Constants][Types][Procedures and functions][Index] [#rtl]

FpSigProcMask

Set list of blocked signals.

Declaration

Source position: bunxh.inc line 23

function FpSigProcMask(

  how: cint;

  nset: psigset;

  oset: psigset

):cint;

function FpSigProcMask(

  how: cint;

  constref nset: tsigset;

  var oset: tsigset

):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

fpSigAction

  

Install signal handler.

fpSigPending

  

Return set of currently pending signals.

fpSigSuspend

  

Set signal mask and suspend process till signal is received.

fpKill

  

Send a signal to a process.


Documentation generated on: Jul 24 2023