aboutsummaryrefslogtreecommitdiff
path: root/tty.1
diff options
context:
space:
mode:
Diffstat (limited to 'tty.1')
-rw-r--r--tty.127
1 files changed, 27 insertions, 0 deletions
diff --git a/tty.1 b/tty.1
new file mode 100644
index 0000000..ac008b4
--- /dev/null
+++ b/tty.1
@@ -0,0 +1,27 @@
+TTY(1) "fases core"
+
+# NAME
+
+tty \- Return the current user's terminal name
+
+# SYNOPSIS
+
+*tty*
+
+# DESCRIPTION
+
+Write to the standard output the name of the terminal that's open as the
+standard input. If the standard input isn't a terminal, *tty* writes to
+the standard output an error message (as specified by POSIX) and returns
+1.
+
+# AUTHOR
+
+Written by Ferass El Hafidi as part of the fases
+project.
+
+Source code is at http://git.vitali64.duckdns.org/utils/fases.git.
+
+# COPYRIGHT
+
+Copyright (C) 2023 Ferass El Hafidi