Penguin

TTYNAME

TTYNAME

NAME SYNOPSIS DESCRIPTION CONFORMING TO SEE ALSO


NAME

ttyname - return name of a terminal

SYNOPSIS

#include 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

fstat(2), isatty(3)


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.