]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2/readv.2: Document RWF_NOAPPEND
authorJohn Garry <john.g.garry@oracle.com>
Tue, 26 Nov 2024 09:08:46 +0000 (09:08 +0000)
committerAlejandro Colomar <alx@kernel.org>
Sat, 4 Jan 2025 20:33:50 +0000 (21:33 +0100)
Document flag introduced in Linux v6.9.

Cc: Rich Felker <dalias@libc.org>
Cc: Christian Brauner <brauner@kernel.org>
Signed-off-by: John Garry <john.g.garry@oracle.com>
Message-ID: <20241126090847.297371-2-john.g.garry@oracle.com>
[alx: wfix, srcfix]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/readv.2

index 78232c19ffe8cc4013ff1b7a8bcad766a708a2e2..5ba5aebc2e11e2fe8a7df6e18601b8d21e51d0fe 100644 (file)
@@ -238,6 +238,29 @@ However, if the
 .I offset
 argument is \-1, the current file offset is updated.
 .TP
+.BR RWF_NOAPPEND " (since Linux 6.9)"
+Do not honor the
+.B O_APPEND
+.BR open (2)
+flag.
+This flag is meaningful only for
+.BR pwritev2 ().
+Historically,
+Linux honored
+.B O_APPEND
+flag if set and ignored the offset argument,
+which is a bug.
+For
+.BR pwritev2 (),
+the
+.I offset
+argument is honored as expected if
+.B RWF_NOAPPEND
+flag is set,
+the same as if
+.B O_APPEND
+flag were not set.
+.TP
 .BR RWF_ATOMIC " (since Linux 6.11)"
 Requires that
 writes to regular files in block-based filesystems