.TH TTYNAM 3F "13 June 1983"
ttynam, isatty \- find name of a terminal port
.B character*(*) function ttynam (lunit)
.B logical function isatty (lunit)
returns a blank padded path name
of the terminal device associated with logical unit
is associated with a terminal device,
.ie \nM /usr/ucb/lib/libU77.a
returns an empty string (all blanks) if
is not associated with a terminal device in directory `/dev'.