SIGSETJMP(S) UNIX System V SIGSETJMP(S)
Name
sigsetjmp, siglongjmp - non-local jumps
Syntax
#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 complies with the definition of the
setjmp() function. If the value of the savemask argument is
not zero, the sigsetjmp() function also saves the process's
current signal mask (see signal(S)) as part of the calling
environment.
The siglongjmp() macro complies with the definition of the
longjmp() function. 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
restores the saved signal mask.
See Also
sigaction(S), sigprocmask(S), sigsuspend(S).
Standards Conformance
siglongjmp and sigsetjmp are conformant with:
IEEE POSIX Std 1003.1-1988 with C Standard Language-
Dependent System Support;
and NIST FIPS 151-1.
(printed 6/20/89)