| 130 | } |
| 131 | |
| 132 | ssize_t read(int fd, void *buf, size_t count, Timeout timeout) { |
| 133 | return DOIO_ONCE(::read(fd, buf, count), wait_for_fd_readable(fd, timeout)); |
| 134 | } |
| 135 | |
| 136 | ssize_t readv(int fd, const struct iovec *iov, int iovcnt, Timeout timeout) { |
| 137 | if (unlikely(iovcnt <= 0)) { |