summaryrefslogtreecommitdiff
path: root/gnulib/doc/posix-functions/setjmp.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/doc/posix-functions/setjmp.texi')
m---------gnulib0
-rw-r--r--gnulib/doc/posix-functions/setjmp.texi23
2 files changed, 23 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1
diff --git a/gnulib/doc/posix-functions/setjmp.texi b/gnulib/doc/posix-functions/setjmp.texi
new file mode 100644
index 0000000..fbf6cc5
--- /dev/null
+++ b/gnulib/doc/posix-functions/setjmp.texi
@@ -0,0 +1,23 @@
+@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