diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | doc/posix-functions/setvbuf.texi | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,9 @@ 2019-06-23 Paul Eggert <eggert@cs.ucla.edu> + Document setvbuf _IOLBF problem + * doc/posix-functions/setvbuf.texi (setvbuf): + Document MS-Windows portability problem with _IOLBF. + Document lseek SEEK_DATA/SEEK_HOLE * doc/posix-functions/lseek.texi (lseek): Document some systems that do not support SEEK_DATA and SEEK_HOLE. diff --git a/doc/posix-functions/setvbuf.texi b/doc/posix-functions/setvbuf.texi index ec3252c385..247f75253d 100644 --- a/doc/posix-functions/setvbuf.texi +++ b/doc/posix-functions/setvbuf.texi @@ -15,4 +15,8 @@ Portability problems not fixed by Gnulib: @item On Windows platforms (excluding Cygwin), this function does not set @code{errno} upon failure. +@item +On Windows platforms (excluding Cygwin), @code{_IOLBF} (line-buffering) +is treated as if it were @code{_IOFBF} (full buffering), +possibly with a warning generated. @end itemize |