Rename two directories: headers -> posix-headers, functions -> posix-functions.
[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/susv3xsh/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 This function is missing on some platforms:
17 mingw.
18 @item
19 POSIX does not specify whether @code{setjmp} saves the signal mask in the
20 @code{jmp_buf}.  It does on BSD platforms, and on glibc platforms when
21 @code{_BSD_SOURCE} is defined; in this case @code{setjmp} behaves like
22 @code{sigsetjmp}, and functions @code{_setjmp} and @code{_longjmp} are
23 available that don't save or restore the signal mask.  On System V platforms,
24 and on glibc platforms by default, @code{setjmp} doesn't save the signal mask.
25 @end itemize