Merge branch 'stable'
[gnulib.git] / doc / posix-functions / fclose.texi
index c231812..3db9198 100644 (file)
@@ -2,12 +2,24 @@
 @section @code{fclose}
 @findex fclose
 
-POSIX specification: @url{http://www.opengroup.org/susv3xsh/fclose.html}
+POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/fclose.html}
 
-Gnulib module: ---
+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: