Return to tty.1 CVS log | Up to [local] / src / usr.bin / tty |
version 1.13, 2009/02/08 17:15:10 | version 1.14, 2010/09/03 11:09:29 | ||
---|---|---|---|
|
|
||
.Dq Li "test -t 0" | .Dq Li "test -t 0" | ||
command. | command. | ||
.El | .El | ||
.Pp | .Sh EXIT STATUS | ||
The | The | ||
.Nm | .Nm | ||
utility exits 0 if the standard input is a terminal, 1 if the standard input | utility exits 0 if the standard input is a terminal, 1 if the standard input | ||
is not a terminal, or >1 if an error occurred. | is not a terminal, or \*(Gt1 if an error occurred. | ||
.Sh SEE ALSO | .Sh SEE ALSO | ||
.Xr stty 1 , | .Xr stty 1 , | ||
.Xr test 1 , | .Xr test 1 , |