getttyent
struct ttyent *getttyent(void);
__weak_alias(getttyent,_getttyent)
while ((t = getttyent()) != NULL)
for (slot = 1; (ttyp = getttyent()) != NULL; ++slot)
while (getttyent() != NULL)
while ((typ = getttyent()) != NULL)
while ((typ = getttyent()) != NULL) {
for (tep = getttyent(); tep != NULL; tep = getttyent())
while ((tty = getttyent()) != NULL)