source: trunk/minix/man/man1/tty.1@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 466 bytes
Line 
1.TH TTY 1
2.SH NAME
3tty \- print the device name of this tty
4.SH SYNOPSIS
5\fBtty \fR[\fB\-s\fR]\fR
6.br
7.de FL
8.TP
9\\fB\\$1\\fR
10\\$2
11..
12.de EX
13.TP 20
14\\fB\\$1\\fR
15# \\$2
16..
17.SH OPTIONS
18.FL "\-s" "Silent mode, only the exit status is affected."
19.SH EXAMPLES
20.EX "tty " "Print the tty name"
21.SH DESCRIPTION
22.PP
23Print the name of the controlling tty. If the flag \fB\-s\fR is given,
24\fItty\fR is equivalent to the call \fBtest \-t 0\fR.
25.SH "SEE ALSO"
26.BR ttyname (3).
Note: See TracBrowser for help on using the repository browser.