TTYN (III)                   1/15/73                   TTYN (III)





NAME            ttyn -- return name of current tty



SYNOPSIS        jsr pc,ttyn



DESCRIPTION     The routine hunts up the name of the input tty

                attached to the process (one byte from the set

                {012345678abc} at present) and returns it in r0.



                "x" is returned if no genuine input tty is at-

                tached to the process.



FILES           kept in /lib/liba.a



SEE ALSO        fstat(II)



DIAGNOSTICS     --



BUGS            --