Page MenuHomeFreeBSD

D28372.id84319.diff
No OneTemporary

D28372.id84319.diff

diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -28,7 +28,7 @@
.\" @(#)write.2 8.5 (Berkeley) 4/2/94
.\" $FreeBSD$
.\"
-.Dd October 25, 2020
+.Dd February 11, 2021
.Dt WRITE 2
.Os
.Sh NAME
@@ -298,3 +298,17 @@
.Fn write
function appeared in
.At v1 .
+.Sh BUGS
+The
+.Fn pwrite
+system call appends the file without changing the file offset if
+.Dv O_APPEND
+is set, contrary to
+.St -p1003.1-2008
+where
+.Fn pwrite
+writes into
+.Fa offset
+regardless of whether
+.Dv O_APPEND
+is set.

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 28, 4:51 AM (3 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28062047
Default Alt Text
D28372.id84319.diff (567 B)

Event Timeline