Penguin
Annotated edit history of ttyname(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 TTYNAME
2 !!!TTYNAME
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 CONFORMING TO
7 SEE ALSO
8 ----
9 !!NAME
10
11
12 ttyname - return name of a terminal
13 !!SYNOPSIS
14
15
16 __#include
17 __ ''desc'' __);
18 __
19 !!DESCRIPTION
20
21
22 Returns a pointer to the pathname of the terminal device
23 that is open on the file descriptor ''desc'', or
24 __NULL__ on error (for example, if ''desc'' is not
25 connected to a terminal).
26 !!CONFORMING TO
27
28
29 POSIX.1
30 !!SEE ALSO
31
32
33 fstat(2), isatty(3)
34 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.