Copyright (C) 2000-2012 |
Manpages TTYNAMESection: Linux Programmer's Manual (3)Updated: 1995-04-20 Index Return to Main Contents NAMEttyname - return name of a terminalSYNOPSIS#include <unistd.h> char *ttyname ( int desc ); DESCRIPTIONReturns 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 TOPOSIX.1SEE ALSOfstat(2), isatty(3)
IndexThis document was created by man2html, using the manual pages. Time: 12:22:42 GMT, March 29, 2024 |