Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ berk_sigpause(2) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     berksigpause(2)           DG/UX 4.30            berksigpause(2)



     NAME
          berk_sigpause - Set blocked signals and suspend the process
          until a signal is caught.

     SYNOPSIS
          #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.

     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.



     Licensed material--property of copyright holder(s)         Page 1





     berksigpause(2)           DG/UX 4.30            berksigpause(2)



     SEE ALSO
          The related system calls:  sigpause, sigblock, sigvec.





















































     Licensed material--property of copyright holder(s)         Page 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026