Lines Matching refs:tty
26 * tty
30 "[-?\n@(#)$Id: tty (AT&T Research) 2008-03-13 $\n]"
32 "[+NAME?tty - write the name of the terminal to standard output]"
35 "a terminal, \"\bnot a tty\b\" will be written to standard output.]"
42 "[+0?Standard input is a tty.]"
43 "[+1?Standard input is not a tty.]"
60 register char *tty;
84 if(!(tty=ttyname(0)))
86 tty = ERROR_translate(0, 0, 0, "not a tty");
90 sfputr(sfstdout,tty,'\n');