Searched refs:tty_mode (Results 1 – 2 of 2) sorted by relevance
76 static int tty_mode = -1; /* 1 for raw, 0 for cooked, -1 for initial */ variable132 if(mode != tty_mode && mode != -1) { in set_raw_tty()167 tty_mode = mode; in set_raw_tty()
130 mode_t tty_mode = (mode_t)-1; /* Original access permissions to tty */ variable607 tty_mode = statbuf.st_mode; in connect_tty()845 if (tty_mode != (mode_t) -1) { in finish_tty()846 if (fchmod(real_ttyfd, tty_mode) != 0) in finish_tty()