From 7e0f021a9aec35fd8e6725e87e3313b101d26f5e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 27 Jan 2008 11:37:44 +0100 Subject: Initial import (2.0.2-6) --- reference/C/MAN/ttyname.htm | 98 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 reference/C/MAN/ttyname.htm (limited to 'reference/C/MAN/ttyname.htm') diff --git a/reference/C/MAN/ttyname.htm b/reference/C/MAN/ttyname.htm new file mode 100644 index 0000000..58615dc --- /dev/null +++ b/reference/C/MAN/ttyname.htm @@ -0,0 +1,98 @@ +ttyname + +
+
+
+
+
+

TTYNAME(3) Linux Programmer's Manual TTYNAME(3) +

+ +

NAME +

ttyname - return name of a terminal + +

SYNOPSIS +

#include <unistd.h> + + char *ttyname ( int desc ); + +

DESCRIPTION +

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 +

POSIX.1 + +
+
+

SEE ALSO +

+isatty, +fstat, +

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Linux April 20, 1995 1 +

+ +
+

+


+

+

+ + + + +
+Top + +Master Index + +Keywords + +Functions +
+
+

+


+ +This manual page was brought to you by mjl_man V-2.0 -- cgit v1.2.3-54-g00ecf