The following issue has been SUBMITTED. ====================================================================== https://austingroupbugs.net/view.php?id=1832 ====================================================================== Reported By: alanc Assigned To: ====================================================================== Project: Issue 8 drafts Issue ID: 1832 Category: System Interfaces Type: Enhancement Request Severity: Comment Priority: normal Status: New Name: Alan Coopersmith Organization: User Reference: Section: System Interfaces Page Number: (page or range of pages) Line Number: (Line or range of lines) Final Accepted Text: ====================================================================== Date Submitted: 2024-05-24 21:48 UTC Last Modified: 2024-05-24 21:48 UTC ====================================================================== Summary: Add preadv() and pwritev() Description: Many implementations offer preadv() and pwritev() interfaces, which are like the existing readv() and writev() APIs, except that they use specified positions instead of the current file offsets, just like the existing pread() and pwrite() versions of read() and write().
FreeBSD: - https://man.freebsd.org/cgi/man.cgi?query=preadv - https://man.freebsd.org/cgi/man.cgi?query=pwritev illumos: - https://illumos.org/man/2/preadv - https://illumos.org/man/2/pwritev Linux (GNU libc): - https://man7.org/linux/man-pages/man2/preadv.2.html NetBSD: - https://man.netbsd.org/preadv.2 - https://man.netbsd.org/pwritev.2 OpenBSD: - https://man.openbsd.org/preadv.2 - https://man.openbsd.org/pwritev.2 Solaris: - (man pages not online yet, just added in 11.4.69 in May 2024) Known consumers include PostgreSQL and libuv, as discussed in the thread at https://twitter.com/MengTangmu/status/1729704220368990235 . Desired Action: Add preadv() and pwritev() to the System Interfaces in Issue 9. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2024-05-24 21:48 alanc New Issue 2024-05-24 21:48 alanc Name => Alan Coopersmith 2024-05-24 21:48 alanc Section => System Interfaces 2024-05-24 21:48 alanc Page Number => (page or range of pages) 2024-05-24 21:48 alanc Line Number => (Line or range of lines) ======================================================================