KGET1
KGET1(idx, &var, sizeof(var), SVAR(var))
KGET1(type, tty, (ssize_t)(ntty * sizeof(struct tty)),