Unix |
Unix v6 |
|
![]() |
ttyn(3) |
![]() |
ttyn return name of current typewriter jsr pc,ttyn ttyn(file) hunts up the last character of the name of the typewriter which is the standard input (from as) or is specified by the argument descriptor (from C). If n is returned, the typewriter name is then ‘‘/dev/ttyn’’. is returned if the indicated file does not correspond to a typewriter.
![]() |
ttyn(3) | ![]() |