SIGSUSPEND(2)SIGSUSPEND(2)NAMEsigsuspend - suspend until signalled
SYNOPSIS
#include <signal.h>
int sigsuspend(const sigset_t *set)
DESCRIPTIONSigsuspend() 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
returns.
SEE ALSOpause(2), sigaction(2), sigpending(2), sigprocmask(2), sigset(3).
DIAGNOSTICSSigsuspend() 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.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
SIGSUSPEND(2)