The sigsetjmp function saves its calling environment in its env
argument for later use by the siglongjmp function.
If the value of savemask is not 0 (zero), sigsetjmp also
saves the process's current signal mask as part of the calling
environment.
See also siglongjmp.