berksigpause(2)
_________________________________________________________________
berksigpause System Call
Set blocked signals and suspend the process
_________________________________________________________________
SYNTAX
#include <sys/signal.h>
int berk_sigpause (signal_mask)
int signal_mask;
PARAMETERS
signal_mask Set of signals to be blocked while waiting.
DESCRIPTION
berk_sigpause assigns the set of signals specified in
<signal_mask> to the set of signals blocked from presentation and
then suspends the calling process until it is presented with a
signal that is set to be caught. Changing the signal mask may
cause previously pended signals to be presented immediately.
Neither the presentation of signals that are ignored, nor the
presentation of signals that cause the termination of the calling
process, nor the existence of pended signals cause berk_sigpause
to return.
When a signal is caught by the calling process and control is
returned from the signal handler, berk_sigpause returns. On
return, the previous set of signals blocked from presentation is
restored.
Signal "s" is represented by the value "SIGBIT(s)" in
<signal_mask>.
It is not possible to block SIGKILL, SIGSTOP, or SIGCONT. It may
or may not be possible to block signals that are not defined by
the system. An attempt to block these signals will not produce
an error.
ACCESS CONTROL
None.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)
berksigpause(2)
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:
EINTR A signal interrupted the berk_sigpause operation.
SEE ALSO
The related system calls: sigpause, sigblock, sigvec.
DG/UX 4.00 Page 2
Licensed material--property of copyright holder(s)