TTYNAM(3F)TTYNAM(3F)NAME
ttynam, isatty - find name of terminal port; also: is unit a terminal?
SYNOPSIS
character*(*) function ttynam (lunit)
logical function isatty (lunit)
DESCRIPTION
The function ttynam returns a blank-padded path name of the terminal
device associated with logical unit lunit.
The function isatty returns .true. if lunit is associated with a ter‐
minal device, .false. otherwise.
FILES
/dev/∗
libfui.a
DIAGNOSTICS
The function ttynam returns an empty string (all blanks) if lunit is
not associated with a terminal device in the directory
07 July 1995 TTYNAM(3F)