aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerass El Hafidi <vitali64pmemail@protonmail.com>2023-02-19 12:02:15 +0100
committerFerass El Hafidi <vitali64pmemail@protonmail.com>2023-02-19 12:02:15 +0100
commit71d2faf09cf18536e7d690c7e26a55c99effac85 (patch)
treefc44377fcd63ee1bf8bd33fce6ea80c2a588a9d8
parente36a5982bd7d73ad5623fb3b91c41ab6f7bd6ff8 (diff)
downloadfases-71d2faf09cf18536e7d690c7e26a55c99effac85.tar.gz
fases-71d2faf09cf18536e7d690c7e26a55c99effac85.zip
man/: tty.1
Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
-rw-r--r--man/tty.127
1 files changed, 27 insertions, 0 deletions
diff --git a/man/tty.1 b/man/tty.1
new file mode 100644
index 0000000..ac008b4
--- /dev/null
+++ b/man/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