home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man3 / ttyn.3 < prev   
Encoding:
Text File  |  1975-06-26  |  481 b   |  26 lines

  1. .th TTYN III 1/15/73
  2. .sh NAME
  3. ttyn \*- return name of current typewriter
  4. .sh SYNOPSIS
  5. .ft B
  6. jsr    pc,ttyn
  7. .s3
  8. ttyn(file)
  9. .s3
  10. .ft R
  11. .sh DESCRIPTION
  12. .it Ttyn
  13. hunts up the last character of the name of the
  14. typewriter which is the standard input (from \fIas\fR)
  15. or is specified by the
  16. argument
  17. .it file
  18. descriptor (from C).
  19. If \fIn\fR is returned, the
  20. typewriter name is then ``/dev/tty\fIn\fR''.
  21. .s3
  22. .bd x
  23. is returned if the indicated file does not correspond to a
  24. typewriter.
  25. .sh BUGS
  26.