V1/man/man2/gtty.2

Compare this file to the similar file:
Show the results in this format:

        11/3/71                                                  SYS GTTY (II)

NAME              gtty -- get typewriter status

SYNOPSIS          (file descriptor in r0)
                  sys gtty; arg / gtty = 32.; not in assembler
                  ...
                  arg: .=.+6

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.

FILES

SEE ALSO          stty

DIAGNOSTICS       Error bit (c--bit) is set if the file descriptor does not
                  refer to a typewriter.

BUGS
OWNER             ken, dmr