Searched refs:seltime (Results 1 – 1 of 1) sorted by relevance
613 struct timeval seltime, now; in conloop() local623 seltime = c->c_tv; in conloop()624 seltime.tv_sec -= now.tv_sec; in conloop()625 seltime.tv_usec -= now.tv_usec; in conloop()626 if (seltime.tv_usec < 0) { in conloop()627 seltime.tv_usec += 1000000; in conloop()628 seltime.tv_sec--; in conloop()631 seltime.tv_sec = seltime.tv_usec = 0; in conloop()638 while (select(maxfd, r, NULL, e, &seltime) == -1 && in conloop()