Index: lib/libc/sys/write.2 =================================================================== --- lib/libc/sys/write.2 +++ lib/libc/sys/write.2 @@ -298,3 +298,18 @@ .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.