TTYNAM(3F) BSD TTYNAM(3F)
NAME
ttynam, isatty - find name of a terminal port
SYNOPSIS
character*(*) function ttynam (lunit)
logical function isatty (lunit)
DESCRIPTION
ttynam returns a blank padded pathname 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'.