Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dtty.c124 static int pty_slave; /* fd for slave side of pty */ variable
528 pty_slave = -1; in connect_tty()
531 if (!get_pty(&pty_master, &pty_slave, ppp_devnam, uid)) { in connect_tty()
536 set_up_tty(pty_slave, 1); in connect_tty()
667 ttyfd = pty_slave; in connect_tty()
758 if (pty_slave >= 0) { in connect_tty()
759 close(pty_slave); in connect_tty()
760 pty_slave = -1; in connect_tty()
788 if (pty_slave >= 0) in tty_close_fds()
789 close(pty_slave); in tty_close_fds()