Searched refs:pty_fd (Results 1 – 1 of 1) sorted by relevance
55 int new_fd, pty_fd; member310 int pty_fd, new_fd, c = 0, w, master_fd = 0; in telnetd_main() local322 pty_fd = new_session(master_fd); //master_fd = 0 in telnetd_main()323 if (pty_fd > TT.gmax_fd) TT.gmax_fd = pty_fd; in telnetd_main()327 tm->pty_fd = pty_fd; in telnetd_main()349 if (tm->pty_fd > 0 && tm->buff1_avail < BUFSIZE) FD_SET(tm->pty_fd, &rd); in telnetd_main()351 if (tm->pty_fd > 0 && (tm->buff2_avail - tm->buff2_written) > 0) in telnetd_main()352 FD_SET(tm->pty_fd, &wr); in telnetd_main()369 pty_fd = new_session(new_fd); in telnetd_main()370 if (pty_fd > TT.gmax_fd) TT.gmax_fd = pty_fd; in telnetd_main()[all …]