File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / man / man3 / ttynam.3f
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

.TH TTYNAM 3F "13 June 1983"
.UC 4
.SH NAME
ttynam, isatty \- find name of a terminal port
.SH SYNOPSIS
.B character*(*) function ttynam (lunit)
.sp 1
.B logical function isatty (lunit)
.SH DESCRIPTION
.I Ttynam
returns a blank padded path name
of the terminal device associated with logical unit
.IR lunit .
.PP
.I Isatty
returns
.B .true.
if
.I lunit
is associated with a terminal device,
.B .false.
otherwise.
.SH FILES
/dev/\(**
.br
.ie \nM /usr/ucb/lib/libU77.a
.el /usr/lib/libU77.a
.SH DIAGNOSTICS
.I Ttynam
returns an empty string (all blanks) if
.I lunit
is not associated with a terminal device in directory `/dev'.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.