Lines Matching refs:tty
469 struct termios tty;
480 tty = *sp;
481 sane(&tty);
501 if(tty.c_cflag&tp->mask)
507 if(tty.c_iflag&tp->mask)
513 if(tty.c_oflag&tp->mask)
519 if(tty.c_lflag&tp->mask)
537 if(!flags && off==(unsigned char)tty.c_cc[tp->mask])
557 if(flags || (sp->c_cflag&CSIZE) != (tty.c_cflag&CSIZE))
901 struct termios tty;
955 if (tcgetattr(fd, &tty) < 0)
956 error(ERROR_system(1), "not a tty");
962 gin(*argv, &tty);
964 set(argv, &tty);
965 if (tcsetattr(0, TCSANOW, &tty) < 0)
966 error(ERROR_system(1), "cannot set tty");
969 output(&tty, flags);