COHERENT manpages
This page displays the COHERENT manpage for ttyslot() [Return a terminal's line number].
List of available manpages
Index
ttyslot() -- General Function (libc) 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 libc Diagnostics ttyslot() returns zero if an error occurs.