Revision: 23850
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 15, 2010 12:31 by sukantahazra
Initial Code
#include <stdio.h> #include <signal.h> #include <stdlib.h> void sig_handler(int signum) { printf("Received signal %d\n", signum); } int main() { signal(SIGINT, sig_handler); for(;;); return 0; }
Initial URL
Initial Description
Initial Title
Simple Linux signal handler
Initial Tags
unix, linux
Initial Language
C