#include <signal.h> #include <stdio.h> extern volatile sig_atomic_t keep_going; void catch_alarm(int sig) { keep_going=0; fflush(stdout); fprintf(stdout,"\np4skillserver going down on %d\n",sig); exit(0); /*signal(sig, catch_alarm);*/ }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 1675 | Shiv Sikand | New 2.2 tree |