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
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
ctermid() ,isatty() ,ttyname_r()
PTC MKS Toolkit 10.5 Documentation Build 40.