1 2 3 4 5 6 7 8 9 10
#include <signal.h> int main() { struct sigaction sa; sa.sa_handler = 0; sa.sa_flags = 0; sigemptyset(&sa.sa_mask); sigaction(0, &sa, (struct sigaction *)0); }