aboutsummaryrefslogtreecommitdiff
path: root/man/tty.1
blob: ac008b48f7d6c8f4126c7c20e211ddbda907d9a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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