timeval_to_ms
static inline int timeval_to_ms(const struct timeval *t);
return is_infinite ? -1 : timeval_to_ms(&tv);
if (poll(&pfd, 1, timeval_to_ms(&t)) == 0)
if (poll(&pfd, 1, timeval_to_ms(&t)) == 0)
static inline int timeval_to_ms(const struct timeval *t);
return is_infinite ? -1 : timeval_to_ms(&tv);
if (poll(&pfd, 1, timeval_to_ms(&t)) == 0)
if (poll(&pfd, 1, timeval_to_ms(&t)) == 0)
ms = is_infinite ? -1 : timeval_to_ms(&tv);