Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ isatty(3F) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ttyname(3C)

TTYNAM(3F)

+U77 FORTRAN compile-line option required

NAME

ttynam, isatty − find name of a terminal port

SYNOPSIS

character*(*) function ttynam (lunit)
INTEGER*4 lunit LOGICAL*4 function isatty (lunit)
INTEGER*4 lunit

DESCRIPTION

Ttynam returns a blank padded path name 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. 

SEE ALSO

ttyname(3C)

NOTES

The actual value returned by isatty for .true.  is 1.  For this to be interpretted as .true.  by the compiler, the LOGICAL TRUE value for the program unit must be 1, which is the default.  This value can be changed with the $LOGICAL TRUE directive, as well as with other directives and compile-line options. 
 
 

Hewlett-Packard Company  —  HP-UX Release 9.0: June 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026