Lines Matching full:master_fd
310 int pty_fd, new_fd, c = 0, w, master_fd = 0;
317 master_fd = listen_socket();
318 fcntl(master_fd, F_SETFD, FD_CLOEXEC);
319 if (master_fd > TT.gmax_fd) TT.gmax_fd = master_fd;
322 pty_fd = new_session(master_fd); //master_fd = 0
344 if (!inetd_m) FD_SET(master_fd, &rd);
363 if (!inetd_m && FD_ISSET(master_fd, &rd)) { //accept new connection
364 new_fd = accept(master_fd, NULL, NULL);