Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


ttyslot()                General Function               ttyslot()




Return a terminal's line number

int ttyslot()

ttyslot returns the number of the line in the file /etc/ttys that
describes the controlling terminal (see ttys).

***** Files *****

/dev/* -- Terminal special files
/etc/ttys -- Login terminals

***** See Also *****

general functions, ioctl(), isatty(), tty, ttyname()

***** Diagnostics *****

ttyslot returns zero if an error occurs.





































COHERENT Lexicon                                           Page 1


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