Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/s/siglongjmp.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/s/siglongjmp.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/s/siglongjmp.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/s/siglongjmp.html on line 8
Restore the environment saved by sigsetjmp(), including the signal mask
#include <setjmp.h>
void siglongjmp( sigjmp_buf env,
int val );
- env
- The environment saved by the most recent call to
sigsetjmp().
- val
- The value that you want sigsetjmp() to return.
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().
|
Don't use
longjmp() or
siglongjmp()
to restore an environment saved by a call to
setjmp() or
sigsetjmp() in another thread.
If you're lucky, your application will crash; if not, it'll look as if it
works for a while, until random scribbling on the stack causes it to crash. |
The same values that longjmp() returns.
See longjmp().
POSIX 1003.1
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
Yes |
Thread |
Yes |
longjmp(),
pthread_sigmask(),
sigaction(),
sigprocmask(),
sigsuspend()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/s/siglongjmp.html on line 144
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/s/siglongjmp.html on line 144