Merge branch 'upstream' from 3f08220c1a263dfc45f6e0ce6dcee97631dd5e56
[gnulib.git] / doc / posix-functions / fflush.texi
index 2cc9d88..3716b64 100644 (file)
@@ -2,7 +2,7 @@
 @section @code{fflush}
 @findex fflush
 
-POSIX specification: @url{http://www.opengroup.org/susv3xsh/fflush.html}
+POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/fflush.html}
 
 Gnulib module: fflush
 
@@ -15,6 +15,10 @@ It doesn't do this on some platforms.
 @item
 @code{fflush} on an input stream changes the position of the stream to the
 end of the previous buffer, on some platforms: mingw.
+@item
+@code{fflush} on an input stream right after @code{ungetc} does not discard
+the @code{ungetc} buffer, on some platforms:
+MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, Cygwin 1.5.25-10.
 @end itemize
 
 Portability problems not fixed by Gnulib:
@@ -26,4 +30,8 @@ contains Unix line terminators (LF), on some platforms: mingw.
 @item
 On Windows platforms (excluding Cygwin), this function does not set @code{errno}
 upon failure.
+@item
+@code{fflush} on an input stream right after @code{ungetc} does not discard
+the @code{ungetc} buffer, on some platforms:
+AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, mingw.
 @end itemize