Mercurial > hg > octave-shane > gnulib-hg
view doc/posix-functions/fclose.texi @ 17632:86af85d364e1 default tip
unistd: port readlink to Mac OS X 10.3.9
* lib/unistd.in.h (_GL_INCLUDING_UNISTD_H): New macro, to work
around self-include problem in Mac OS X 10.3.9 when combined with
readlink module. Problem reported by Klaus Zietler in
<http://bugs.gnu.org/16825>.
author | Paul Eggert <eggert@penguin.cs.ucla.edu> |
---|---|
date | Tue, 25 Feb 2014 11:16:27 -0800 |
parents | fb3ece2324db |
children |
line wrap: on
line source
@node fclose @section @code{fclose} @findex fclose POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/fclose.html} Gnulib module: fclose Portability problems fixed by Gnulib: @itemize @item On some platforms, this function fails to set the file position of a seekable input stream to the byte after the last one actually read: glibc 2.13, FreeBSD. @item This function crashes if the stream's file descriptor has already been closed on some platforms: MSVC 9. @item On Windows platforms (excluding Cygwin), @code{socket} and @code{accept} followed by @code{fdopen} do not return streams that can be closed by @code{fclose}. @end itemize Portability problems not fixed by Gnulib: @itemize @item On Windows platforms (excluding Cygwin), this function does not set @code{errno} upon failure. @end itemize