Searched refs:new_fd (Results 1 – 4 of 4) sorted by relevance
/external/toybox/toys/pending/ |
D | telnetd.c | 55 int new_fd, pty_fd; member 310 int pty_fd, new_fd, c = 0, w, master_fd = 0; in telnetd_main() local 326 tm->new_fd = 0; in telnetd_main() 350 if (tm->new_fd >= 0 && tm->buff2_avail < BUFSIZE) FD_SET(tm->new_fd, &rd); in telnetd_main() 353 if (tm->new_fd >= 0 && (tm->buff1_avail - tm->buff1_written) > 0) in telnetd_main() 354 FD_SET(tm->new_fd, &wr); in telnetd_main() 364 new_fd = accept(master_fd, NULL, NULL); in telnetd_main() 365 if (new_fd < 0) continue; in telnetd_main() 367 fcntl(new_fd, F_SETFD, FD_CLOEXEC); in telnetd_main() 368 if (new_fd > TT.gmax_fd) TT.gmax_fd = new_fd; in telnetd_main() [all …]
|
/external/openssh/ |
D | mux.c | 314 int new_fd[3]; in process_mux_new_session() local 376 if ((new_fd[i] = mm_receive_fd(c->sock)) == -1) { in process_mux_new_session() 380 close(new_fd[j]); in process_mux_new_session() 398 new_fd[0], new_fd[1], new_fd[2]); in process_mux_new_session() 408 close(new_fd[0]); in process_mux_new_session() 409 close(new_fd[1]); in process_mux_new_session() 410 close(new_fd[2]); in process_mux_new_session() 435 if (cctx->want_tty && tcgetattr(new_fd[0], &cctx->tio) == -1) in process_mux_new_session() 439 if (!isatty(new_fd[0])) in process_mux_new_session() 440 set_nonblock(new_fd[0]); in process_mux_new_session() [all …]
|
/external/bison/lib/ |
D | spawni.c | 256 int new_fd = open_not_cancel (action->action.open_action.path, in __spawni() local 261 if (new_fd == -1) in __spawni() 266 if (new_fd != action->action.open_action.fd) in __spawni() 268 if (dup2 (new_fd, action->action.open_action.fd) in __spawni() 273 if (close_not_cancel (new_fd) != 0) in __spawni()
|
/external/ppp/pppd/ |
D | sys-linux.c | 267 static void set_ppp_fd (int new_fd) in set_ppp_fd() argument 269 ppp_fd = new_fd; in set_ppp_fd() 271 ppp_dev_fd = new_fd; in set_ppp_fd()
|