view doc/posix-functions/setjmp.texi @ 10165:ce916d729e43

Document abort() bugs. * doc/posix-functions/abort.texi (abort): Mention anomalies. * doc/posix-functions/setjmp.texi (setjmp): Mingw has setjmp. * doc/posix-functions/sigsetjmp.texi (sigsetjmp): Cygwin has sigsetjmp. * doc/posix-functions/siglongjmp.texi (siglongjmp): Cygwin has siglongjmp, but only as a macro. * doc/posix-functions/_longjmp.texi (_longjmp): Mention that this is obsolete. * doc/posix-functions/_setjmp.texi (_setjmp): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Fri, 06 Jun 2008 10:50:17 -0600
parents 070329237839
children 7239ee79f3fa
line wrap: on
line source

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

POSIX specification: @url{http://www.opengroup.org/susv3xsh/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}, and functions @code{_setjmp} and @code{_longjmp} are
available that don't save or restore the signal mask.  On System V platforms,
and on glibc platforms by default, @code{setjmp} doesn't save the signal mask.
@end itemize