@@ -40,6 +40,14 @@ int main(void)
i++;
}
+
+ //this belongs all to the new feature of the app
+ signal(SIGINT, sighandler);
+ while(1) {
+ printf("Going to sleep for a second...\n");
+ sleep(1);
+ }
sleep(5);
return 0;