RAISE(3,L) AIX Technical Reference RAISE(3,L)
-------------------------------------------------------------------------------
raise
PURPOSE
Sends a signal to a running program.
LIBRARY
Standard C Library (libc.a)
SYNTAX
#include <signal.h>
int raise (sig);
int sig;
DESCRIPTION
The raise function sends the signal sig to a running program. Upon completion,
the return value is 0 if successful and nonzero if unsuccessful.
EXAMPLE
The following example requests termination by raising condition SIGTERM.
#include <signal.h>
main ()
{
raise (SIGTERM); /* Request termination */
}
Processed November 7, 1990 RAISE(3,L) 1