SYNOPSIS
#include <unistd.h>
char *ttyname(int fildes);
DESCRIPTION
The
PARAMETERS
- fildes
-
Is the file descriptor that associates with the string containing the null-terminated path name of the terminal.
RETURN VALUES
On success,
CONFORMANCE
UNIX 98.
MULTITHREAD SAFETY LEVEL
Unsafe.
PORTING ISSUES
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
ctermid() ,isatty() ,ttyname_r()
MKS Toolkit 9.2 Documentation Build 16.