X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=doc%2Fposix-functions%2Ffflush.texi;h=9ba3e8ef4beebfd8246514c853678fb2a470518c;hb=bb09133116a45861827711f5e8faf2c82b98c552;hp=86e90377b37bb7fa5b4f487f0c9ce3b94dc8ad85;hpb=6ef93da4cacc1865683aa3d3d6e0a97e0ed3e429;p=gnulib.git diff --git a/doc/posix-functions/fflush.texi b/doc/posix-functions/fflush.texi index 86e90377b..9ba3e8ef4 100644 --- a/doc/posix-functions/fflush.texi +++ b/doc/posix-functions/fflush.texi @@ -14,7 +14,7 @@ stream, should have the effect of positioning the underlying file descriptor. 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. +end of the previous buffer, on some platforms: mingw, MSVC 9. @item @code{fflush} on an input stream right after @code{ungetc} does not discard the @code{ungetc} buffer, on some platforms: @@ -26,12 +26,18 @@ Portability problems not fixed by Gnulib: @item @code{fflush}, @code{ftell}, @code{ftello}, @code{fgetpos} behave incorrectly on input streams that are opened in @code{O_TEXT} mode and whose contents -contains Unix line terminators (LF), on some platforms: mingw. +contains Unix line terminators (LF), on some platforms: mingw, MSVC 9. @item On Windows platforms (excluding Cygwin), this function does not set @code{errno} upon failure. @item +This function crashes if the stream's file descriptor has already been +closed, if @code{MSVC_INVALID_PARAMETER_HANDLING} is +@code{HAIRY_LIBRARY_HANDLING} or @code{SANE_LIBRARY_HANDLING}, +on some platforms: +MSVC 9. +@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. +AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11 2010-11, mingw, MSVC 9. @end itemize