TYPEOF(VII) − PWB/UNIX 11/13/77
NAME
typeof − get the typeof of a terminal from the ttytype data base
SYNOPSIS
typeof(tty)
char tty; char *
stypeof(tty)
char tty;
DESCRIPTION
These routines extract the terminal type from the ttytype data base given a single character terminal character such as returned from ttyn (III). The only difference between the two routines is that typeof returns two characters packed into an integer, while stypeof returns a pointer to a string; the string is in a static place so it must be saved if stypeof is to be called again.
FILES
/etc/ttytypedata base
SEE ALSO
AUTHOR
William Joy
BUGS