Home
last modified time | relevance | path

Searched refs:pty_fd (Results 1 – 2 of 2) sorted by relevance

/external/toybox/toys/pending/
Dtelnetd.c55 int new_fd, pty_fd; member
310 int pty_fd, new_fd, c = 0, w, master_fd = 0; in telnetd_main() local
322 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 …]
/external/lldb/source/Target/
DPlatform.cpp700 int pty_fd = launch_info.GetPTY().ReleaseMasterFileDescriptor(); in DebugProcess() local
701 if (pty_fd != lldb_utility::PseudoTerminal::invalid_fd) in DebugProcess()
703 process_sp->SetSTDIOFileDescriptor(pty_fd); in DebugProcess()