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 vate-remove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/tools/perf/util/find-vdso-map.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/find-vdso-map.c')