This commit is contained in:
Connor Lane Smith
2011-06-02 21:15:35 +01:00
parent 164e0c171f
commit 894b42a885
4 changed files with 39 additions and 2 deletions

13
tty.1 Normal file
View File

@@ -0,0 +1,13 @@
.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)