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