X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Ffgets.texi;h=02fb3bd4cfb3b8b96e4463160b557316414e21c7;hb=5556cec1e3f87122e1b0e7bf82f1f75c57219a21;hp=b14917e96413a64b08dce56d44beeb6209165e1d;hpb=4e39aa42880fd6a5c6d55f67c912381c0d0980aa;p=gnulib.git diff --git a/doc/posix-functions/fgets.texi b/doc/posix-functions/fgets.texi index b14917e96..02fb3bd4c 100644 --- a/doc/posix-functions/fgets.texi +++ b/doc/posix-functions/fgets.texi @@ -18,6 +18,13 @@ 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. @end itemize