| 252 | } |
| 253 | |
| 254 | inline int |
| 255 | UnixSocket::poll(struct pollfd *fds, unsigned long nfds, int timeout) |
| 256 | { |
| 257 | int r; |
| 258 | do { |
| 259 | if ((r = ::poll(fds, nfds, timeout)) >= 0) { |
| 260 | break; |
| 261 | } |
| 262 | r = -errno; |
| 263 | } while (transient_error()); |
| 264 | return r; |
| 265 | } |
| 266 | |
| 267 | inline int |
| 268 | UnixSocket::getsockname(struct sockaddr *sa, socklen_t *sz) const |
nothing calls this directly
no test coverage detected