next up previous contents index
Next: SigSuspend Up: Functions and procedures Previous: SigPending

SigProcMask

   

Declaration:

Procedure SigProcMask (How : Integer; SSet,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 SSet argument.
SIG_UNBLOCK
The signals in SSet are removed from the set of currently blocked signals.
SIG_SETMASK
The list of blocked signals is set so SSet.

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

Errors:

LinuxError is used to report errors.

sys_efault
SSet or OldSSet point to an adress outside the range of the process.
sys_eintr
System call was interrupted.

See also:

SigAction, SigPending, SigSuspend, Kill, Sigprocmask (2)



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998