diff options
Diffstat (limited to 'gnulib/doc/posix-functions/fclose.texi')
m--------- | gnulib | 0 | ||||
-rw-r--r-- | gnulib/doc/posix-functions/fclose.texi | 30 |
2 files changed, 30 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1 diff --git a/gnulib/doc/posix-functions/fclose.texi b/gnulib/doc/posix-functions/fclose.texi new file mode 100644 index 0000000..3db9198 --- /dev/null +++ b/gnulib/doc/posix-functions/fclose.texi @@ -0,0 +1,30 @@ +@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 |