Mercurial > hg > octave-nkf > gnulib-hg
view doc/posix-functions/setjmp.texi @ 12355:9961377da68e
pread: new module
* modules/pread: New file.
* lib/pread.c (pread): New file.
* m4/pread.m4: Likewise.
* lib/unistd.in.h (pread): Define/declare.
* m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Define defaults.
* modules/unistd (Makefile.am): Substitute witnesses.
* doc/posix-functions/pread.texi (pread): Update.
* MODULES.html.sh: Add pread.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Wed, 25 Nov 2009 14:33:30 +0100 |
parents | c83dc7e8df57 |
children | bb0ceefd22dc |
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 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