1TTYNAM(3F) TTYNAM(3F)
2
3
4
6 ttynam, isatty - find name of a terminal port
7
9 character*(*) function ttynam (lunit)
10
11 logical function isatty (lunit)
12
14 Ttynam returns a blank padded path name of the terminal device associ‐
15 ated with logical unit lunit.
16
17 Isatty returns .true. if lunit is associated with a terminal device,
18 .false. otherwise.
19
21 /dev/∗
22 /usr/lib/libU77.a
23
25 Ttynam returns an empty string (all blanks) if lunit is not associated
26 with a terminal device in directory `/dev'.
27
28
29
304.2 Berkeley Distribution May 15, 1985 TTYNAM(3F)