TTYNAM(3F) — System Interface Manual — Fortran Interfaces
NAME
ttynam, isatty − find name of a terminal port
SYNOPSIS
character∗(∗) function ttynam (lunit) logical function isatty (lunit)
DESCRIPTION
Ttynam returns a blank padded path name of the terminal device associated with logical unit lunit.
Isatty returns .TRUE. if lunit is associated with a terminal device, .FALSE. otherwise.
FILES
/dev/∗
/usr/lib/libU77.a
DIAGNOSTICS
Ttynam returns an empty string (all blanks) if lunit is not associated with a terminal device in directory ‘/dev’.
Sun System Release 0.3 — 19 January 1983