Closed 617076674 closed 1 month ago
In ssize_t readv(int fd, const struct iovec *iov, int iovcnt); function, the return value is the number of bytes read. How can we known how mant bytes we have read through io_uring_prep_readv method?
ssize_t readv(int fd, const struct iovec *iov, int iovcnt);
Like any other operation, the result is returned in cqe->res
cqe->res
In
ssize_t readv(int fd, const struct iovec *iov, int iovcnt);
function, the return value is the number of bytes read. How can we known how mant bytes we have read through io_uring_prep_readv method?