Add XNU magnums for preadv() and writev()

Apple introduced support sometime between 2018 and 2020.
This commit is contained in:
Justine Tunney 2022-04-12 01:07:47 -07:00
parent e500e8fb48
commit f68f1789bd
5 changed files with 6 additions and 6 deletions

View file

@ -66,7 +66,7 @@ ssize_t pwritev(int fd, const struct iovec *iov, int iovlen, int64_t off) {
}
/*
* NT, XNU, and 2007-era Linux don't support this system call.
* NT, 2018-era XNU, and 2007-era Linux don't support this system call
*/
if (!once) {
err = errno;