diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-06-23 15:36:49 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-06-23 15:40:32 -0700 |
commit | 232ba923073d6f1bebb6ae1baaa7feb68b90619a (patch) | |
tree | ae72acf857763f6c2dddb0789f0b14efbb31e3ea | |
parent | e0ddd0761e1874141f28d3b6839ba87018b6d832 (diff) | |
download | gnulib-232ba923073d6f1bebb6ae1baaa7feb68b90619a.tar.gz |
Document setvbuf _IOLBF problem
* doc/posix-functions/setvbuf.texi (setvbuf):
Document MS-Windows portability problem with _IOLBF.
-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 |