1 2 3 4 5 6 7 8 9 10
#include <signal.h> int sigemptyset(sigset_t *set) { if (!set) return -1; *set = 0; return 0; }