|
|
1.1 root 1: .TH TTYNAM 3F "13 June 1983"
2: .UC 4
3: .SH NAME
4: ttynam, isatty \- find name of a terminal port
5: .SH SYNOPSIS
6: .B character*(*) function ttynam (lunit)
7: .sp 1
8: .B logical function isatty (lunit)
9: .SH DESCRIPTION
10: .I Ttynam
11: returns a blank padded path name
12: of the terminal device associated with logical unit
13: .IR lunit .
14: .PP
15: .I Isatty
16: returns
17: .B .true.
18: if
19: .I lunit
20: is associated with a terminal device,
21: .B .false.
22: otherwise.
23: .SH FILES
24: /dev/\(**
25: .br
26: .ie \nM /usr/ucb/lib/libU77.a
27: .el /usr/lib/libU77.a
28: .SH DIAGNOSTICS
29: .I Ttynam
30: returns an empty string (all blanks) if
31: .I lunit
32: is not associated with a terminal device in directory `/dev'.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.