#include #include #include // vorgegriffen, man benötigt bei sister nur SIG_IGN void handle_signal(int sig) { // nichts } int main() { struct sigaction act = { .sa_handler = SIG_IGN, }; sigaction(SIGINT, &act, NULL); while (1) { sleep(10); printf("Slept 10 seconds\n"); } }