Searched refs:buff1_avail (Results 1 – 1 of 1) sorted by relevance
57 int buff1_avail, buff2_avail; member349 if (tm->pty_fd > 0 && tm->buff1_avail < BUFSIZE) FD_SET(tm->pty_fd, &rd); in telnetd_main()353 if (tm->new_fd >= 0 && (tm->buff1_avail - tm->buff1_written) > 0) in telnetd_main()385 if ((c = read(tm->pty_fd, tm->buff1 + tm->buff1_avail, in telnetd_main()386 BUFSIZE-tm->buff1_avail)) <= 0) break; in telnetd_main()387 tm->buff1_avail += c; in telnetd_main()389 tm->buff1_avail - tm->buff1_written)) < 0) break; in telnetd_main()408 tm->buff1_avail - tm->buff1_written)) < 0) break; in telnetd_main()411 if (tm->buff1_written == tm->buff1_avail) in telnetd_main()412 tm->buff1_written = tm->buff1_avail = 0; in telnetd_main()