Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dtty.c126 static int real_ttyfd; /* fd for actual serial port (not pty) */ variable
534 real_ttyfd = -1; in connect_tty()
576 real_ttyfd = open(devnam, O_NONBLOCK | O_RDWR, 0); in connect_tty()
580 if (real_ttyfd >= 0) in connect_tty()
590 ttyfd = real_ttyfd; in connect_tty()
682 if (real_ttyfd != -1) { in connect_tty()
685 setdtr(real_ttyfd, 0); /* in case modem is off hook */ in connect_tty()
687 setdtr(real_ttyfd, 1); in connect_tty()
719 if (real_ttyfd != -1) in connect_tty()
720 set_up_tty(real_ttyfd, 0); in connect_tty()
[all …]