mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-30 12:25:49 +00:00
macOS pwrite and pwritev write at the given offset even when the descriptor was opened with O_APPEND. FreeBSD's vn_write appends to an O_APPEND regular file whatever the offset and leaves the file offset unchanged, and Linux pwrite appends too. On macOS, sceKernelPwrite, pwrite, sceKernelPwritev, pwritev and the AIO write commands now append such writes with writev and restore the file offset, as #8359 does on Windows. Co-authored-by: Himansh Raj <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>