Home | History | Annotate | Download | only in init

Lines Matching defs:typ

655 	struct ttyent *typ;
695 typ = getttynam("console");
697 if (typ && (from_securitylevel >=2 || (typ->ty_status
1091 new_session(session_t *sprev, int session_index, struct ttyent *typ)
1095 if ((typ->ty_status & TTY_ON) == 0 || typ->ty_name == NULL ||
1096 typ->ty_getty == NULL)
1107 (void)asprintf(&sp->se_device, "%s%s", _PATH_DEV, typ->ty_name);
1113 if (setupargv(sp, typ) == 0) {
1134 setupargv(session_t *sp, struct ttyent *typ)
1141 (void)asprintf(&sp->se_getty, "%s %s", typ->ty_getty, typ->ty_name);
1151 if (typ->ty_window) {
1154 sp->se_window = strdup(typ->ty_window);
1175 struct ttyent *typ;
1227 while ((typ = getttyent()) != NULL)
1228 if ((snext = new_session(sp, ++session_index, typ)) != NULL)
1531 struct ttyent *typ;
1541 while ((typ = getttyent()) != NULL) {
1545 if (strcmp(typ->ty_name, sp->se_device + devlen) == 0)
1556 if ((typ->ty_status & TTY_ON) == 0 ||
1557 typ->ty_getty == 0) {
1564 if (setupargv(sp, typ) == 0) {
1576 (void)new_session(sprev, session_index, typ);