Lines Matching defs:maxfd
75 static int maxfd;
230 if (fd > maxfd) maxfd = fd;
233 if (sock_w > maxfd) maxfd = sock_w;
234 if (sock_r > maxfd) maxfd = sock_r;
325 /* scan all sessions and find new maxfd */
327 maxfd = 0;
329 if (maxfd < ts->ptyfd)
330 maxfd = ts->ptyfd;
331 if (maxfd < ts->sockfd_read)
332 maxfd = ts->sockfd_read;
333 if (maxfd < ts->sockfd_write)
334 maxfd = ts->sockfd_write;
417 * maxfd among remaining fd's: */
418 if (master_fd > maxfd)
419 maxfd = master_fd;
439 selret = select(maxfd + 1, &rdfdset, &wrfdset, 0, 0);