TTYNAM(3F) — FORTRAN LIBRARY ROUTINES
NAME
ttynam, isatty − find name of a terminal port
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 terminal device, .false. otherwise.
FILES
/dev/∗
libF77.a
DIAGNOSTICS
The function ttynam returns an empty string (all blanks) if lunit is not associated with a terminal device in directory ‘/dev’.
Sun Release 4.1 — Last change: 12 June 1990