Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ttynam(3F) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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 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 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.

CX/UX Hf77 Fortran Reference Manual

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