avoid some overlong lines from posix urls, etc.
[gnulib.git] / doc / posix-functions / setjmp.texi
1 @node setjmp
2 @section @code{setjmp}
3 @findex setjmp
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/setjmp.html}
6
7 Gnulib module: ---
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @end itemize
12
13 Portability problems not fixed by Gnulib:
14 @itemize
15 @item
16 POSIX does not specify whether @code{setjmp} saves the signal mask in the
17 @code{jmp_buf}.  It does on BSD platforms, and on glibc platforms when
18 @code{_BSD_SOURCE} is defined; in this case @code{setjmp} behaves like
19 @code{sigsetjmp(.,1)}, and functions @code{_setjmp} and @code{_longjmp} are
20 available that don't save or restore the signal mask.  On System V platforms
21 (excluding HP-UX), and on glibc platforms by default, @code{setjmp} doesn't
22 save the signal mask.
23 @end itemize