/ Published in: C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#include <stdio.h> #include <signal.h> #include <stdlib.h> void sig_handler(int signum) { } int main() { signal(SIGINT, sig_handler); for(;;); return 0; }