dev/c/ParallelsTest/1.c

19 lines
271 B
C

#include <stdlib.h>
#include <stdio.h>
#include <signal.h>
void
termination_handler (int signum) {
printf ("Performing kill task...\n");
exit(0);
}
int main(int argc, char * argv[]) {
signal(SIGINT, termination_handler);
while(1==1);
return 0;
}