File:  [Research Unix] / researchv10dc / dist / man / v4 / man3 / ttyn.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.th TTYN III 1/15/73
.sh NAME
ttyn \*- return name of current typewriter
.sh SYNOPSIS
.ft B
jsr	pc,ttyn
.s3
ttyn(file)
.s3
.ft R
.sh DESCRIPTION
.it Ttyn
hunts up the last character of the name of the
typewriter which is the standard input (from \fIas\fR)
or is specified by the
argument
.it file
descriptor (from C).
If \fIn\fR is returned, the
typewriter name is then ``/dev/tty\fIn\fR''.
.s3
.bd x
is returned if the indicated file does not correspond to a
typewriter.
.sh BUGS

unix.superglobalmegacorp.com

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