1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#pragma once #include <stdatomic.h> typedef atomic_int sig_atomic_t; // TODO #define SIG_DFL 0 // stupid #define SIGINT 42 // stupid void (*signal(int sig, void (*func)(int)))(int); /* vim: set sts=0 ts=4 sw=4 tw=0 noet :*/