aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/isatty.txt
diff options
context:
space:
mode:
authorGravatar Steven Fackler <sfackler@gmail.com>2013-04-21 21:13:18 -0400
committerGravatar Steven Fackler <sfackler@gmail.com>2013-04-21 21:36:48 -0400
commit03c1f2ef5b1215654cdaff8544be22e5e93ca633 (patch)
tree01dcb9ba52edc91f38d74757bb18779f68049512 /doc_src/isatty.txt
parentd215e866623f7ec935eedfe0fc81e950b0d0381e (diff)
Some documentation cleanup
Diffstat (limited to 'doc_src/isatty.txt')
-rw-r--r--doc_src/isatty.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc_src/isatty.txt b/doc_src/isatty.txt
index f72e9e12..bccf8ab8 100644
--- a/doc_src/isatty.txt
+++ b/doc_src/isatty.txt
@@ -3,10 +3,13 @@
\subsection isatty-synopsis Synopsis
<tt>isatty [FILE DESCRIPTOR]</tt>
-where FILE DESCRIPTOR may be either the number of a file descriptor, or one
-of the strings stdin, stdout and stderr.
+\subsection isatty-description Description
+The <tt>isatty</tt> command is used to test if a file descriptor is a tty.
-If the specified file descriptor is a tty, the exit status of the
-command is zero, otherwise, it is non-zero.
+FILE DESCRIPTOR may be either the number of a file descriptor, or one of the
+strings stdin, stdout and stderr.
+
+If the specified file descriptor is a tty, the exit status of the command is
+zero, otherwise, it is non-zero.