view doc/posix-functions/setjmp.texi @ 15607:6355dc4626b5

doc: Update regarding MSVC 9. * doc/gnulib-intro.texi (Target Platforms): Classify MSVC as "rarely tested". * doc/posix-functions/*.texi: Update with info about MSVC 9. * doc/posix-headers/*.texi: Likewise. * doc/pastposix-functions/*.texi: Likewise. * doc/glibc-functions/*.texi: Likewise. * doc/glibc-headers/*.texi: Likewise.
author Bruno Haible <bruno@clisp.org>
date Sun, 11 Sep 2011 21:56:17 +0200
parents bb0ceefd22dc
children
line wrap: on
line source

@node setjmp
@section @code{setjmp}
@findex setjmp

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/setjmp.html}

Gnulib module: ---

Portability problems fixed by Gnulib:
@itemize
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@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(.,1)}, and functions @code{_setjmp} and @code{_longjmp} are
available that don't save or restore the signal mask.  On System V platforms
(excluding HP-UX), and on glibc platforms by default, @code{setjmp} doesn't
save the signal mask.
@end itemize