ttynam(3f) — RISC
NAME
ttynam, isatty − find name of a terminal port
SYNTAX
character*(*) function ttynam ( lunit ) logical function isatty ( lunit )
DESCRIPTION
The ttynam function returns a blank padded path name of the terminal device associated with the specified logical unit lunit.
The isatty fuction returns .true. if the specified lunit is associated with a terminal device and .false. otherwise.
DIAGNOSTICS
The ttynam function returns an empty string (all blanks) if the specified lunit is not associated with a terminal device in the /dev directory.
FILES
/dev/∗
/usr/lib/libU77.a