V3/man/man1/tty.1

Compare this file to the similar file:
Show the results in this format:

.pa 1
.he 'TTY (I)'3/15/72'TTY (I)'
.ti 0
NAME		tty  --  get tty name
.sp
.ti 0
SYNOPSIS	tty___
.sp
.ti 0
DESCRIPTION	tty___ gives the name of the user's typewriter
in the form "ttyn" for n_ a digit.  The actual path
name is then "/dev/ttyn".
.sp
.ti 0
FILES		--
.sp
.ti 0
SEE ALSO	--
.sp
.ti 0
DIAGNOSTICS	"not a tty" if the standard input file is not a typewriter.
.sp
.ti 0
BUGS		--