| 240 | } |
| 241 | |
| 242 | inline int |
| 243 | UnixSocket::sendmsg(struct msghdr const *m, int flags) const |
| 244 | { |
| 245 | int r; |
| 246 | do { |
| 247 | if (unlikely((r = ::sendmsg(this->fd, m, flags)) < 0)) { |
| 248 | r = -errno; |
| 249 | } |
| 250 | } while (r == -EINTR); |
| 251 | return r; |
| 252 | } |
| 253 | |
| 254 | inline int |
| 255 | UnixSocket::poll(struct pollfd *fds, unsigned long nfds, int timeout) |
no outgoing calls
no test coverage detected