V3/usr/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____
stores in the three words addressed by arg___ the status
of the typewriter whose file descriptor is given in r0.
The format is the same as that passed by stty____.
.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 --