[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
gsignal()                Software Signals

 #include   <signal.h>

 int        gsignal(sig);
 int        sig;                         Type of signal

    gsignal() implements a software-signaling facility.  Software signals
    are integers ranging from 1 to 15.  gsignal() raises the signal given
    by 'sig' and executes the action routine.

    Returns:    The value returned to gsignal() by the action function.
                The return values for actions assigned to 'sig' are:

                         ACTION              RETURN

                         SIG_IGN                1
                         SIG_DFL                0
                         Illegal value or       0
                         no action specified

                In all cases, gsignal() takes no action other than
                returning a value.

See Also: ssignal()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson