raise - send a signal to the executing process
#include <signal.h> int raise(int sig);
The raise() function sends the signal sig to the executing thread.
The effect of the raise() function is equivalent to calling:
Upon successful completion, 0 is returned. Otherwise, a non-zero value is returned and errno is set to indicate the error.
The raise() function will fail if:
- The value of the sig argument is an invalid signal number.
kill(), sigaction(), <signal.h>, <sys/types.h>.
Derived from the ANSI C standard.