2022-02-14 22:43:25 -05:00
|
|
|
#define _STDLIB_DEBUG
|
2022-02-15 22:41:18 -05:00
|
|
|
#include <math.h>
|
2022-02-13 22:12:44 -05:00
|
|
|
#include <stdio.h>
|
2022-02-16 12:25:14 -05:00
|
|
|
#include <signal.h>
|
|
|
|
|
|
|
|
void test_signal_handler(int x) {
|
|
|
|
printf("interompu\n");
|
|
|
|
_Exit(0);
|
|
|
|
}
|
2022-02-15 16:36:52 -05:00
|
|
|
|
|
|
|
int main(int argc, char **argv) {
|
2022-02-16 12:25:14 -05:00
|
|
|
signal(SIGINT, test_signal_handler);
|
|
|
|
while (1){}
|
2022-02-14 11:39:33 -05:00
|
|
|
return 0;
|
2022-02-09 22:44:27 -05:00
|
|
|
}
|
2022-02-12 21:27:57 -05:00
|
|
|
|