[Next] [Up] [Previous]
Next: Kill Up: Functions and procedures Previous: SigSuspend

Signal

   

Declaration:

Function Signal (SigNum : Integer; Handler : PSignalHandler) : PSignalHandler;

Description:

Signal installs a new signal handler for signal SigNum. This call has the same functionality as the SigAction call.

The return value for Signal is the old signal handler, or nil on error.

Errors:

LinuxError is used to report errors :

SIG_ERR
An error occurred.

See also:

SigAction,Kill, Signal(2)



Michael Van Canneyt
Thu Dec 12 15:40:07 MET 1996