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