#include <signal.h>
sigsuspend(const sigset_t *sigmask);
The sigsuspend function replaces the signal mask of the process with the set of signals pointed to by the argument sigmask and then suspends the process until delivery of a signal whose action is either to execute a signal-catching function or to terminate the process.
If the action is to terminate the process, sigsuspend does not return. If the action is to execute a signal-catching function, sigsuspend returns after the signal-catching function returns, with the signal mask restored to the set that existed prior to the sigsuspend call.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97