unix: add support for libc::readv and libc::writev #4048
Labels
A-shims
Area: This affects the external function shims
A-unix
Area: affects our shared Unix target support
C-enhancement
Category: a PR with an enhancement or an issue tracking an accepted enhancement
readv and writev are vectored versions of read/write which are included in POSIX. (See e.g. man 3p readv, writev .) They could be (and sometimes have been) implemented using a loop and many read or write calls, so their semantics are not unusual.
I was advised to make this issue by the following error message:
A workaround for this error: under cfg(miri), replace libc::readv/libc::writev with functions that implement them using libc::read/libc::write directly.
The text was updated successfully, but these errors were encountered: