This document was created by man2html using the manual pages.
Section: Linux Programmer's Manual (3)
Return to NetAdminTools
ttyname - return name of a terminal
char *ttyname ( int desc );
Returns a pointer to the pathname of the terminal device that is open on
the file descriptor desc, or NULL on error (for example, if
desc is not connected to a terminal).
- CONFORMING TO
- SEE ALSO
Return to NetAdminTools,