ttynam(3f)
NAME
ttynam, isatty − find name of a terminal port
SYNTAX
character*(*) function ttynam (lunit) logical function isatty (lunit)
DESCRIPTION
The ttynam subroutine returns a blank padded path name of the terminal device associated with logical unit lunit.
The isatty subroutine returns .true. Otherwise, if lunit is associated with a terminal device, .false.
DIAGNOSTICS
The ttynam returns an empty string (all blanks) if lunit is not associated with a terminal device in directory ‘/dev’.
FILES
/dev/∗
/usr/lib/libU77.a