Lines Matching defs:timeout
9 /* int read_wait(fd, timeout)
11 /* int timeout;
20 /* .IP timeout
61 /* read_wait - block with timeout until file descriptor is readable */
63 int read_wait(int fd, int timeout)
87 if (timeout >= 0) {
89 tv.tv_sec = timeout;
120 switch (poll(&pollfd, 1, timeout < 0 ?
121 WAIT_FOR_EVENT : timeout * 1000)) {
139 /* read_wait - block with timeout until file descriptor is readable */
141 int read_wait_no_poll(int fd, int timeout)
164 if (timeout >= 0) {
166 tv.tv_sec = timeout;