Next: _setjmp
, Previous: _exit
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
_longjmp
Removed in POSIX.1-2024.
POSIX.1-2017 specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/_longjmp.html
Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
Note: Despite its being removed from POSIX, in 2024 on all
systems which have _setjmp
, it is the fastest way to save the
registers but not the signal mask (up to 30 times faster than setjmp
on some systems).