mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
26 lines
778 B
Plaintext
26 lines
778 B
Plaintext
@node setjmp
|
|
@section @code{setjmp}
|
|
@findex setjmp
|
|
|
|
POSIX specification: @url{http://www.opengroup.org/susv3xsh/setjmp.html}
|
|
|
|
Gnulib module: ---
|
|
|
|
Portability problems fixed by Gnulib:
|
|
@itemize
|
|
@end itemize
|
|
|
|
Portability problems not fixed by Gnulib:
|
|
@itemize
|
|
@item
|
|
This function is missing on some platforms:
|
|
mingw.
|
|
@item
|
|
POSIX does not specify whether @code{setjmp} saves the signal mask in the
|
|
@code{jmp_buf}. It does on BSD platforms, and on glibc platforms when
|
|
@code{_BSD_SOURCE} is defined; in this case @code{setjmp} behaves like
|
|
@code{sigsetjmp}, and functions @code{_setjmp} and @code{_longjmp} are
|
|
available that don't save or restore the signal mask. On System V platforms,
|
|
and on glibc platforms by default, @code{setjmp} doesn't save the signal mask.
|
|
@end itemize
|