sigsuspend - suspend until signalled
int sigsuspend(const sigset_t *set)
Sigsuspend() installs the signal mask referenced by set and suspends the
process until signalled. The signal is handled, the signal mask is
restored to the value it had before the sigsuspend() call and call
pause(2), sigaction(2), sigpending(2), sigprocmask(2), sigset(3).
Sigsuspend() never returns normally, so it always returns -1. The error
code is either EINTR indicating that a signal has arrived, or EFAULT for
a bad set address.
Kees J. Bot (email@example.com)