23 #if !FOLLY_HAVE_PREADV 24 extern "C" ssize_t
preadv(
int fd,
const iovec* iov,
int count, off_t offset);
26 #if !FOLLY_HAVE_PWRITEV 27 extern "C" ssize_t
pwritev(
int fd,
const iovec* iov,
int count, off_t offset);
31 extern "C" ssize_t readv(
int fd,
const iovec* iov,
int count);
32 extern "C" ssize_t writev(
int fd,
const iovec* iov,
int count);
36 #ifdef IOV_MAX // not defined on Android 37 constexpr
size_t kIovMax = IOV_MAX;
39 constexpr
size_t kIovMax = UIO_MAXIOV;
—— Concurrent Priority Queue Implementation ——
ssize_t preadv(int fd, const iovec *iov, int count, off_t offset)
ssize_t pwritev(int fd, const iovec *iov, int count, off_t offset)