ssignal()                Implement Software Signals
 
 #include   <signal.h>
 
 int        (*ssignal(sig,action))();
 int        sig;                         Type of signal
 int        (*action)();                 Action function/Constant
 
    ssignal() is used to establish an action routine for servicing a
    signal.  Software signals are associated with integers in the range
    from 1 to 15.  'sig' is a number identifying the type of signal for
    which an action is established.  'action' is either the name of a
    user-defined action function or one of the constants SIG_DFL
    (default) or SIG_IGN (ignore) (defined in <signal.h>).  If the action
    function has been established for 'sig', then that action is reset to
    SIG_DFL, and the action function is entered with 'sig'.
 
    Returns:    The action previously established or SIG_DFL, if the
                signal number is illegal.

Seealso:



This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster