Lines Matching defs:timeout
91 static ssize_t timedread(int fd, void *buf, size_t maxlen, int timeout);
123 bufcnt = timedread(fd, buf, bufsize, timeout);
145 * timedread - read buffer (like "read"), but with timeout (in seconds)
149 timedread(int fd, void *buf, size_t size, int timeout)
155 if (!timeout)
158 tv.tv_sec = (time_t)timeout;
265 if (timeout && setsockopt(s, IPPROTO_TCP, TCP_ABORT_THRESHOLD,
1233 while ((c = timedread(infd, buf, FTPBUFSIZ, timeout)) > 0) {
1483 if (timeout && setsockopt(data, IPPROTO_TCP,
1612 if (timeout && setsockopt(data, IPPROTO_TCP, TCP_ABORT_THRESHOLD,