Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dtty.c123 static int pty_master; /* fd for master side of pty */ variable
527 pty_master = -1; in connect_tty()
531 if (!get_pty(&pty_master, &pty_slave, ppp_devnam, uid)) { in connect_tty()
641 if (device_script(ptycommand, pty_master, pty_master, 1) < 0) in connect_tty()
668 close(pty_master); in connect_tty()
669 pty_master = -1; in connect_tty()
754 if (pty_master >= 0) { in connect_tty()
755 close(pty_master); in connect_tty()
756 pty_master = -1; in connect_tty()
1038 if (ifd >= FD_SETSIZE || ofd >= FD_SETSIZE || pty_master >= FD_SETSIZE)
[all …]