Searched refs:ttyfile (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/cmd/format/ |
H A D | misc.c | 445 if ((ttystate.ttyfile = open("/dev/tty", in echo_off() 454 if (tcgetattr(ttystate.ttyfile, &ttystate.ttystate) < 0) { in echo_off() 459 if (tcsetattr(ttystate.ttyfile, TCSANOW, &ttystate.ttystate) < 0) { in echo_off() 482 if (tcsetattr(ttystate.ttyfile, TCSANOW, &ttystate.ttystate) < 0) { in echo_on() 491 (void) close(ttystate.ttyfile); in echo_on() 506 if ((ttystate.ttyfile = open("/dev/tty", in charmode_on() 515 if (tcgetattr(ttystate.ttyfile, &ttystate.ttystate) < 0) { in charmode_on() 526 if (tcsetattr(ttystate.ttyfile, TCSANOW, &ttystate.ttystate) < 0) { in charmode_on() 552 if (tcsetattr(ttystate.ttyfile, TCSANOW, &ttystate.ttystate) < 0) { in charmode_off() 561 (void) close(ttystate.ttyfile); in charmode_off()
|
H A D | misc.h | 112 int ttyfile; /* file for ioctls */ member
|