/ Published in: C
Expand |
Embed | Plain Text
#include <stdio.h> #include <signal.h> #include <stdlib.h> void sig_handler(int signum) { } int main() { signal(SIGINT, sig_handler); for(;;); return 0; }
You need to login to post a comment.
#include <stdio.h> #include <signal.h> #include <stdlib.h> void sig_handler(int signum) { } int main() { signal(SIGINT, sig_handler); for(;;); return 0; }
You need to login to post a comment.