Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ttyslot(S) — Xenix 2.3.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getut(S)

ttyname(S)



     TTYSLOT(S)               XENIX System V                TTYSLOT(S)



     Name
          ttyslot - Finds the slot in the utmp file of the current
          user.

     Syntax
          int ttyslot ( )

     Description
          ttyslot returns the index of the current user's entry in the
          /etc/utmp file.

     Files
          /etc/utmp

     See Also
          getut(S), ttyname(S)

     Diagnostics
          A value of 0 is returned if an error was encountered while
          searching for the terminal name or if none of the above file
          descriptors is associated with a terminal device.


































     Page 1                                           (printed 8/7/87)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026