| 198 | } |
| 199 | |
| 200 | ssize_t sendv_n(int fd, struct iovec *iov, int iovcnt, int flag, Timeout timeout) { |
| 201 | iovector_view v(iov, iovcnt); |
| 202 | return DOIO_LOOP(sendv(fd, v.iov, v.iovcnt, flag, timeout), BufStepV(v)); |
| 203 | } |
| 204 | |
| 205 | ssize_t write(int fd, const void *buf, size_t count, Timeout timeout) { |
| 206 | return send(fd, buf, count, MSG_NOSIGNAL, timeout); |