#include <signal.h>
int raise(int sig);
MT-Safe
raise() uses kill() to send the signal to the executing program:
kill(getpid(), sig);
See kill(2) for a detailed list of failure conditions. See signal(3C) for a list of signals.
raise() returns zero if the operation succeeds. Otherwise, raise() returns -1 and errno is set to indicate the error.