

ttyslot()                General Function               ttyslot()




Return a terminal's line number

iinntt ttttyysslloott()

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

***** Files *****

/ddeevv/* -- Terminal special files
/eettcc/ttttyyss -- Login terminals

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

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

***** Diagnostics *****

ttyslot returns zero if an error occurs.





































COHERENT Lexicon                                           Page 1


