File:  [Research Unix] / researchv10dc / dist / man / v4 / man2 / gtty.2
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 GTTY II 8/5/73
.sh NAME
gtty  \*-  get typewriter status
.sh SYNOPSIS
(gtty = 32.)
.br
(file descriptor in r0)
.ft B
.br
sys gtty; arg
.br
.li
...
arg: .=.+6
.s3
gtty(fildes, arg)
.br
int arg[3];
.ft R
.sh DESCRIPTION
.it Gtty
stores in the three words addressed by
.it arg
the status
of the typewriter whose file descriptor is given in r0
(resp. given as the first argument).
The format is the same as that passed by
.it stty.
.sh "SEE ALSO"
stty(II)
.sh DIAGNOSTICS
Error bit
(c-bit) is set if the file descriptor does not refer
to a typewriter.
From C, a \*-1 value is returned for an
error, 0, for a successful call.

unix.superglobalmegacorp.com

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