Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sigsetjmp(3) — bsd — Apollo Domain/OS SR10.4.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sigaction(2)

siglongjmp(3)

sigprocmask(2)

sigsuspend(2)

SIGSETJMP(3)                         BSD                          SIGSETJMP(3)



NAME
     sigsetjmp - Sets jump point for a nonlocal goto

SYNOPSIS
     #include <setjmp.h>

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

DESCRIPTION
     The sigsetjmp macro saves its calling environment in its env argument for
     later use by the siglongjmp(3) function.  The env argument specifies an
     address for a sigjmp_buf structure and the savemask argument specifies
     whether the current signal mask should be saved.

     If the value of the savemask argument is not 0 (zero) the sigsetjmp
     function will also save the process' current signal mask as part of the
     calling environment.

DIAGNOSTICS
     If the return is from a successful direct invocation, the sigsetjmp
     function returns the value 0 (zero).  If the return is from a call to the
     siglongjmp function, the sigsetjmp(3) function returns a nonzero value.

SEE ALSO
     sigaction(2), siglongjmp(3), sigprocmask(2), sigsuspend(2)

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