[Previous]
[Contents]
[Next]

siglongjmp()

restore the signal mask for a process, if one was saved

Synopsis:

#include <setjmp.h>
void siglongjmp( sigjmp_buf env, int val );

Description:

The siglongjmp() function is a superset of the longjmp() function, but also restores the process's saved signal mask if (and only if) one was saved in the env argument by a previous call to sigsetjmp().

Returns:

The siglongjmp() function returns the same values that longjmp() returns.

Examples:

See longjmp().

Classification:

POSIX 1003.1

Safety:
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

longjmp(), sigaction(), sigprocmask(), sigsuspend()


[Previous]
[Contents]
[Next]