help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[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 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

  

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505