ttynam(3F) 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 path name of the terminal dev-
ice associated with logical unit lunit.
isatty returns .TRUE. if lunit is associated with a termi-
nal 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".
NOTES
When compiling source with the -Qocs option, an explicit
underscore needs to be added to the end of isatty.
When compiling source with the -Qocs option, the function
ttynam is not accessible because the 88Open OCS standard
specifies that CHARACTER values be returned differently.
Page 1 CX/UX Hf77 Fortran Reference Manual