sigpause(2) SDK R4.11 sigpause(2)
NAME
sigpause - clear a blocked signal and suspend process until a signal
is caught
SYNOPSIS
#include <sys/signal.h>
int sigpause (signalnumber)
int signalnumber;
where:
signalnumber 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.
DIAGNOSTICS
Errno may be set to one of the following error codes:
EINVAL signalnumber is an illegal signal number or a signal that
cannot be unblocked.
EINTR A signal interrupted the sigpause operation
SEE ALSO
berksigpause(2), kill(2), pause(2), sighold(2), sigignore(2),
signal(2), sigrelse(2), sigset(2).
Licensed material--property of copyright holder(s)