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

SigProcMask

Set list of blocked signals

Declaration

Source position: oldlinux.pp line 1481

procedure SigProcMask(

  How: LongInt;

  SSet: PSigSet;

  OldSSet: PSigSet

);

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 SSetargument.
SIG_UNBLOCK
The signals in SSetare removed from the set of currently blocked signals.
SIG_SETMASK
The list of blocked signals is set so SSet.

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

Errors

LinuxErroris used to report errors.

sys_efault
SSetor OldSSetpoint to an adress outside the range of the process.
sys_eintr
System call was interrupted.

See also

SigAction

  

Install signal handler

SigPending

  

Return set of currently pending signals

SigSuspend

  

Set signal mask and suspend process till signal is received

Kill

  

Send a signal to a process