Lines Matching refs:ms
25 * poll for read/write/control on fds with ms timeout
44 cspoll(Cs_t* state, Cspoll_t* fds, int num, int ms)
62 if (ms >= 0)
64 tv.tv_sec = ms / 1000;
65 tv.tv_usec = (ms % 1000) * 1000;
104 messagef((state->id, NiL, -6, "poll: %s num=%d ms=%d sec=%d usec=%d", fmttime("%K", CSTIME()), num, ms, tp ? tp->tv_sec : 0, tp ? tp->tv_usec : 0));
109 messagef((state->id, NiL, -6, "poll: %s num=%d ms=%d", fmttime("%K", CSTIME()), num, ms);
110 num = select(width + 1, rp, wp, ms);
156 n = poll(num, fds, ms);
158 n = poll(fds, num, ms);
204 _cs_poll(Cspoll_t* fds, int num, int ms)
206 return cspoll(&cs, fds, num, ms);