Lines Matching refs:sane
157 static void show_flags(tcflag_t actual, tcflag_t sane, in show_flags() argument
163 if (toys.optflags&FLAG_a) sane = ~actual; in show_flags()
168 if ((actual&mask)==value && (sane&mask)!=value) { in show_flags()
173 if ((actual&value) != (sane&value)) { in show_flags()
319 struct termios old, sane; in do_stty() local
412 make_sane(&sane); in do_stty()
421 if (ch == sane.c_cc[chars[i].value] && (toys.optflags&FLAG_a)==0) in do_stty()
442 show_flags(old.c_cflag, sane.c_cflag, cflags, ARRAY_LEN(cflags)); in do_stty()
443 show_flags(old.c_iflag, sane.c_iflag, iflags, ARRAY_LEN(iflags)); in do_stty()
444 show_flags(old.c_oflag, sane.c_oflag, oflags, ARRAY_LEN(oflags)); in do_stty()
445 show_flags(old.c_lflag, sane.c_lflag, lflags, ARRAY_LEN(lflags)); in do_stty()