Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sigsetjmp(3) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sigaction(2)

sigprocmask(2)

sigsuspend(2)

setjmp(3C)

longjmp(3C)



     sigsetjmp(3)               DG/UX 4.30                sigsetjmp(3)



     NAME
          sigsetjmp, siglongjmp - Non-local jumps.

     FUNCTIONS
          sigsetjmp(), siglongjmp()

     SYNOPSIS
          #include <setjmp.h>

          int sigsetjmp (env, savemask)
          sigjmp_buf env;
          int savemask;

          void siglongjmp (env, val)
          sigjmp_buf env;
          int val;

     DESCRIPTION
          The sigsetjmp macro shall comply with the definition of the
          setjmp macro in the C Standard.  If the value of the
          savemask argument is not zero, the sigsetjmp() function
          shall also save the process's current signal mask (see
          <signal.h>) as part of the calling environment.

          The siglongjmp() function shall comply with the definition
          of the longjmp() function in the C Standard.  If and only if
          the env argument was initialized by a call to the
          sigsetjmp() function with a non-zero savemask argument, the
          siglongjmp() function shall restore the saved signal mask.

     SEE ALSO
          sigaction(2), <signal.h>, sigprocmask(2), sigsuspend(2),
          setjmp(3C), longjmp(3C)

     COPYRIGHTS
          Portions of this text are reprinted from IEEE Std 1003.1-
          1988, Portable Operating System Interface for Computer
          Environment, copyright © 1988 by the Institute of Electrical
          and Electronics Engineers, Inc., with the permission of the
          IEEE Standards Department.  To purchase IEEE Standards, call
          800/678-IEEE.

          In the event of a discrepancy between the electronic and the
          original printed version, the original version takes
          precedence.










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



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