Commit | Line | Data |
---|---|---|
d8649de5 C |
1 | .TH TTY 1 "10 February 1983" |
2 | .SH NAME | |
3 | tty \- get terminal name | |
4 | .SH SYNOPSIS | |
5 | .B tty | |
6 | [ -s ] | |
7 | .SH DESCRIPTION | |
8 | .I Tty | |
9 | prints the pathname of the user's terminal unless the \-s | |
10 | (silent) is given. In either case, the exit value is zero if the | |
11 | standard input is a terminal and one if it is not. | |
12 | .SH DIAGNOSTICS | |
13 | `not a tty' if the standard input file is not a terminal. |