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.
Seealso:
This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster