Research V3 release
[unix-history] / man / man2 / gtty.2
.pa 1
.he 'GTTY (II)'3/15/72'GTTY (II)'
.ti 0
NAME gtty -- get typewriter status
.sp
.ti 0
SYNOPSIS (file descriptor in r0)
.br
sys gtty; arg / gtty = 32.
.br
.li
...
.ti -5
arg: .=.+6
.sp
.ti 0
DESCRIPTION gtty\b\b\b\b____
stores in the three words addressed by arg\b\b\b___ the status
of the typewriter whose file descriptor is given in r0.
The format is the same as that passed by stty\b\b\b\b____.
.sp
.ti 0
SEE ALSO stty(II)
.sp
.ti 0
DIAGNOSTICS Error bit
(c-bit) is set if the file descriptor does not refer
to a typewriter.
.sp
.ti 0
BUGS --