X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=doc%2Fposix-functions%2Ffgetc.texi;h=84092304f08c54c559b8224983225ba3bc53ff9b;hb=d93e239a6a447bb45b77121739015760aad15584;hp=ea3772e5f543592d1e2f55ffdabdf53fc6ab9338;hpb=4e39aa42880fd6a5c6d55f67c912381c0d0980aa;p=gnulib.git diff --git a/doc/posix-functions/fgetc.texi b/doc/posix-functions/fgetc.texi index ea3772e5f..84092304f 100644 --- a/doc/posix-functions/fgetc.texi +++ b/doc/posix-functions/fgetc.texi @@ -18,6 +18,19 @@ mingw, MSVC 9. Portability problems not fixed by Gnulib: @itemize @item +C99 and POSIX.1-2001 and later require end-of-file to be sticky, that +is, they require this function to act as if it reads end-of-file if +@code{feof} would return nonzero. However, on some systems this +function attempts to read from the underlying file descriptor even if +the stream's end-of-file indicator is set. These systems include +glibc and default Solaris. +@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. @end itemize