view doc/posix-functions/_setjmp.texi @ 17921:58c1b50299a6

getopt: give accurate ambiguity diagnostic on mem exhaustion * lib/getopt.c (_getopt_internal_r): The previous commit broke out the loop too early, which could give a false indication of ambiguous options under memory exhaustion.
author Pádraig Brady <P@draigBrady.com>
date Wed, 18 Feb 2015 22:37:31 +0000
parents bb0ceefd22dc
children
line wrap: on
line source

@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
This function is missing on some platforms:
Solaris 2.5.1.
@end itemize

Note: A future revision of POSIX later than the 2008/2009 one may drop the
functions @code{_setjmp} and @code{_longjmp}.  Still, in 2008, on all
systems which have @code{_setjmp}, it is the fastest way to save the
registers but not the signal mask (up to 30 times faster than @code{setjmp}
on some systems).