sigpause(2)
_________________________________________________________________
sigpause System Call
Clear a blocked signal and suspend the process
_________________________________________________________________
SYNTAX
#include <sys/signal.h>
int sigpause (signal_number)
int signal_number;
PARAMETERS
signal_number The signal whose blocked state is to be cleared.
DESCRIPTION
Sigpause removes the specified signal from the set of signals
blocked from presentation and then suspends the caller until a
signal is caught.
This function is exactly equivalent to the system call 'sigrelse'
followed by 'pause'.
ACCESS CONTROL
None.
RETURN VALUE
-1 An error occurred. Errno is set to indicate the
error.
EXCEPTIONS
Errno may be set to one of the following error codes:
EINVAL <Signal_number> is an illegal signal number or a
signal that cannot be unblocked.
EINTR A signal interrupted the sigpause operation
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)
sigpause(2)
SEE ALSO
The related system calls: kill, pause, signal, sigset, sighold,
sigrelse, sigignore, berk_sigpause
DG/UX 4.00 Page 2
Licensed material--property of copyright holder(s)