-had just returned the value
-.I val
-to the function that invoked
-.I setjmp,
-which must not itself have returned in the interim.
-All accessible data have values as of the time
+routines returns.
+.PP
+All accessible data have values as of the time the
+.I longjmp
+routine was called.
+.PP
+.I Setjmp/longjmp
+pairs save and restore the signal mask (see
+.IR sigmask (2)),
+while
+.I _setjmp/_longjmp
+pairs save and restore only the register set and the stack.
+.PP
+.I Sigsetjmp/siglongjmp
+pairs save and restore the signal mask if the argument
+.I savemask
+is non-zero, otherwise only the register set and the stack are saved.
+.SH ERRORS
+If the contents of the
+.I env
+are corrupted, or correspond to an environment that has already returned,
+the