| 100 | return DOIO_LOOP(do_recv(fd, buf, count, 0, timeout), BufStep(buf, count)); |
| 101 | } |
| 102 | ssize_t readv(const iovec* iov, int iovcnt) override { |
| 103 | SmartCloneIOV<8> clone(iov, iovcnt); |
| 104 | iovector_view view(clone.ptr, iovcnt); |
| 105 | Timeout timeout(m_timeout); |
| 106 | return DOIO_LOOP(do_recvmsg(fd, tmp_msg_hdr(view), 0, timeout), BufStepV(view)); |
| 107 | } |
| 108 | ssize_t write(const void* buf, size_t count) override { |
| 109 | Timeout timeout(m_timeout); |
| 110 | return DOIO_LOOP(do_send(fd, buf, count, MSG_NOSIGNAL, timeout), BufStep((void*&)buf, count)); |
nothing calls this directly
no test coverage detected