.TH siglongjmp() "" "" "General Function (libc)"
.PC "Perform a non-local goto and restore signal mask"
.B "#include <setjmp.h>"
\fBvoid siglongjmp(\fIenviron\^\fB, \fIvalue\^\fB)\fR
\fBsigjmp_buf \fIenviron\^\fB; int \fIval\^\fB;\fR
.PP
.B siglongjmp()
behaves like the function
.BR longjmp() ,
except that it also restores the signal mask.
.PP
.I environ
points to an array of type
.BR sigjmp_buf ,
which is declared in header file
.BR setjmp.h .
It must have been initialized by a call to
.BR sigsetjmp() .
.I value
is the integer value to be returned to the function that called
.BR sigsetjmp() .
.SH "See Also"
.Xr "libc," libc
.Xr "sigaction()," sigaction
.Xr "sigprocmask()," sigprocma
.Xr "sigsetjmp()," sigsetjmp
.Xr "sigsuspend()" sigsuspen
.br
\*(PX Standard, \(sc8.3.1
