struct htmp {
short uid;
char home[28];
short ttytype;
};
The is actually a two character code, and is defined by termcap(UCB).
The file is indexed by the various teletypes in a system dependent fashion, using the result of a call to ttyn (3).
A set of routines internal to libretro(UCB) allows easy access to this data base. printenv (UCB), setenv (in csh (UCB)) William Joy