Restore the environment saved by sigsetjmp(), including the signal mask
#include <setjmp.h> void siglongjmp( sigjmp_buf env, int val );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The siglongjmp() function is a superset of the longjmp() function, but also restores the thread's saved signal mask if (and only if) one was saved in the env argument by a previous call to sigsetjmp().
The same values that longjmp() returns.
See longjmp().
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |