diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | manual/filesys.texi | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2015-09-29 Carlos O'Donell <carlos@redhat.com> + + * manual/filesys.texi (Storage Allocation): Document that + posix_fallocate emulation fails when fd is open with O_WRONLY. + 2015-09-28 Joseph Myers <joseph@codesourcery.com> [BZ #19016] diff --git a/manual/filesys.texi b/manual/filesys.texi index ed4f5fd..4064885 100644 --- a/manual/filesys.texi +++ b/manual/filesys.texi @@ -3300,6 +3300,10 @@ underlying file in the to-be-allocated area. Non-null bytes could be overwritten with null bytes. @item +If @var{fd} has been opened with the @code{O_WRONLY} flag, the function +will fail with an @code{errno} value of @code{EBADF}. + +@item If @var{fd} has been opened with the @code{O_APPEND} flag, the function will fail with an @code{errno} value of @code{EBADF}. |