| 174 | } |
| 175 | |
| 176 | ssize_t sendmsg(int fd, const struct msghdr* msg, int flags, Timeout timeout) { |
| 177 | return DOIO_ONCE(::sendmsg(fd, msg, flags), wait_for_fd_writable(fd, timeout)); |
| 178 | } |
| 179 | |
| 180 | ssize_t recv(int fd, void* buf, size_t count, int flags, Timeout timeout) { |
| 181 | return DOIO_ONCE(::recv(fd, buf, count, flags), wait_for_fd_readable(fd, timeout)); |
no test coverage detected