1 2 3 4 5 6 7
#include <signal.h> // for kill, raise #include <unistd.h> // for getpid int raise(int sig) { return kill(getpid(), sig); }