diff options
Diffstat (limited to 'gnulib/doc/posix-functions/longjmp.texi')
m--------- | gnulib | 0 | ||||
-rw-r--r-- | gnulib/doc/posix-functions/longjmp.texi | 24 |
2 files changed, 24 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 4fc10daa05477586fea99b6b3ca02a87d1102fa diff --git a/gnulib/doc/posix-functions/longjmp.texi b/gnulib/doc/posix-functions/longjmp.texi new file mode 100644 index 00000000..0cdeb0b6 --- /dev/null +++ b/gnulib/doc/posix-functions/longjmp.texi @@ -0,0 +1,24 @@ +@node longjmp +@section @code{longjmp} +@findex longjmp + +POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/longjmp.html} + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +The effects of this call are system and compiler optimization dependent, +since it restores the contents of register-allocated variables but not +the contents of stack-allocated variables. +@item +When longjumping out of a signal handler that was being executed on an +alternate stack (installed through @code{sigaltstack}), on FreeBSD, NetBSD, +OpenBSD, you need to clear the @code{SS_ONSTACK} flag in the @code{stack_t} +structure managed by the kernel. +@end itemize |