next up previous contents index
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
Tue Mar 31 16:46:10 CEST 1998