Penguin
Annotated edit history of ctermid(3) version 1 showing authors affecting page license. View with all changes included.
Rev Author # Line
1 perry 1 CTERMID
2 !!!CTERMID
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 CONFORMING TO
8 BUGS
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 ctermid - get controlling terminal name
15 !!SYNOPSIS
16
17
18 __#include
19 __''s''__);
20 __
21 !!DESCRIPTION
22
23
24 __ctermid()__ returns a string which is the pathname for
25 the current controlling terminal for this process. If
26 ''s'' is __NULL__, a static buffer is used, otherwise
27 ''s'' points to a buffer used to hold the terminal
28 pathname. The symbolic constant __L_ctermid__ is the
29 maximum number of characters in the returned
30 pathname.
31 !!RETURN VALUE
32
33
34 The pointer to the pathname.
35 !!CONFORMING TO
36
37
38 POSIX.1
39 !!BUGS
40
41
42 The path returned may not uniquely identify the controlling
43 terminal; it may, for example, be
44 __/dev/tty__.
45
46
47 It is not assured that the program can open the
48 terminal.
49 !!SEE ALSO
50
51
52 ttyname(3)
53 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.