1 2 3 4 5 6 7
#include <signal.h> #include <stddef.h> int sigwaitinfo(const sigset_t *restrict mask, siginfo_t *restrict si) { return sigtimedwait(mask, si, NULL); }