sbase/tty.1
Connor Lane Smith 894b42a885 add tty
2011-06-02 21:15:35 +01:00

14 lines
286 B
Groff

.TH TTY 1 sbase\-VERSION
.SH NAME
tty \- print terminal name
.SH SYNOPSIS
.B tty
.SH DESCRIPTION
.B tty
prints the name of the terminal open on stdin.
.P
The status code is 0 if stdin is a terminal, and 1 if not. If an error occurred
the status code is 2.
.SH SEE ALSO
.IR ttyname (3)