raise(3) — Subroutines
OSF
NAME
raise − Sends a signal to the executing program
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <sys/signal.h> int raise(
int signal );
PARAMETERS
signalSpecifies a signal number.
DESCRIPTION
The raise() function sends the signal specified by the signal parameter to the executing program. It is equivalent to the following: error = kill(getpid(), signal);
NOTES
AES Support Level:
Full use
RETURN VALUES
Upon successful completion of the raise() function, a value of 0 (zero) is returned. Otherwise, a nonzero value is returned and errno is set to indicate the error.
ERRORS
If the raise() function fails, errno may be set to the following value:
[EINVAL]The value of the signal parameter is an invalid or unsupported signal number.
RELATED INFORMATION
Functions: kill(2), sigaction(2)