ttynam(3F)
ttynam, isatty - find name of a terminal port
As shipped in IRIX 6.5.5. Last changed in IRIX 6.5.5.
NAME ttynam, isatty - find name of a terminal port SYNOPSIS character*(MAXLEN) function ttynam (lunit) logical function isatty (lunit) IMPLEMENTATION IRIX systems DESCRIPTION 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; it returns .false. otherwise. ttynam returns an empty string (all blanks) if lunit is not associated with a terminal device in directory /dev. FILES /dev/* /usr/ucb/lib/libU77.a /usr/lib/libU77.a SEE ALSO This man page is available only online.