Searched refs:ttyfile (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/format/ |
H A D | misc.c | 421 if ((ttystate.ttyfile = open("/dev/tty", in echo_off() 430 if (tcgetattr(ttystate.ttyfile, &ttystate.ttystate) < 0) { in echo_off() 435 if (tcsetattr(ttystate.ttyfile, TCSANOW, &ttystate.ttystate) < 0) { in echo_off() 458 if (tcsetattr(ttystate.ttyfile, TCSANOW, &ttystate.ttystate) < 0) { in echo_on() 467 (void) close(ttystate.ttyfile); in echo_on() 482 if ((ttystate.ttyfile = open("/dev/tty", in charmode_on() 491 if (tcgetattr(ttystate.ttyfile, &ttystate.ttystate) < 0) { in charmode_on() 502 if (tcsetattr(ttystate.ttyfile, TCSANOW, &ttystate.ttystate) < 0) { in charmode_on() 528 if (tcsetattr(ttystate.ttyfile, TCSANOW, &ttystate.ttystate) < 0) { in charmode_off() 537 (void) close(ttystate.ttyfile); in charmode_off()
|
H A D | misc.h | 112 int ttyfile; /* file for ioctls */ member
|