Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sigsetjmp(3) — OSF/1 1.0 (TIN) MIPS

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sigaction(2)

siglongjmp(3)

sigprocmask(2)

sigsuspend(2)

sigsetjmp(3)  —  Subroutines

OSF

NAME

sigsetjmp − Sets jump point for a nonlocal goto

LIBRARY

Standard C Library (libc.a)

SYNOPSIS

#include <setjmp.h>
int sigsetjmp (
sigjmp_buf env,
int savemask );

PARAMETERS

envSpecifies an address for a sigjmp_buf structure. 

savemaskSpecifies whether the current signal mask should be saved. 

DESCRIPTION

The sigsetjmp() function saves its calling environment in its env parameter for later use by the siglongjmp() function. 

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

NOTES

AES Support Level: Full use

RETURN VALUES

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() function returns a nonzero value. 

RELATED INFORMATION

Functions: sigaction(2), siglongjmp(3), sigprocmask(2), sigsuspend(2)

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