1 2 3 4 5 6 7 8
#include <signal.h> #include "syscall.h" #include "libc.h" int sigsuspend(const sigset_t *mask) { return syscall_cp(SYS_rt_sigsuspend, mask, _NSIG/8); }