33 #include "message_pragmas.h"
48 static void sig_handler(
int signo)
50 static int nb_signal = 0;
52 if (signo == SIGINT) {
53 printf(
"Received SIGINT\n");
55 printf(
"Press Ctrl-C again to stop the program\n");
58 printf(
"Leaving now\n");
67 sigemptyset(&sa.sa_mask);
69 sa.sa_handler = &sig_handler;
70 if (sigaction(SIGINT, &sa, NULL) == -1) {
71 printf(
"Can't catch SIGINT\n");
PRINT_CONFIG_MSG("USE_INS_NAV_INIT defaulting to TRUE")
linux arch dependant microcontroller initialisation functions.