TTYNAM(3F) TTYNAM(3F)
ttynam, isatty - find name of a terminal port
character*(MAXLEN) function ttynam (lunit)
logical function isatty (lunit)
Ttynam returns a blank padded path name of the terminal device associated
with logical unit lunit. MAXLEN is the maximum length of the path name
for the terminal device.
Isatty returns .true. if lunit is associated with a terminal device,
.false. otherwise.
/dev/*
/usr/lib/libU77.a
Ttynam returns an empty string (all blanks) if lunit is not associated
with a terminal device in directory `/dev'.
MIPS Computer Systems
PPPPaaaaggggeeee 1111 [ Back ]
|