Home
last modified time | relevance | path

Searched refs:session_index (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/sbin/init/
H A Dinit.c1091 new_session(session_t *sprev, int session_index, struct ttyent *typ) in new_session() argument
1105 sp->se_index = session_index; in new_session()
1173 int session_index = 0; in read_ttys() local
1228 if ((snext = new_session(sp, ++session_index, typ)) != NULL) in read_ttys()
1532 int session_index = 0; in clean_ttys() local
1542 ++session_index; in clean_ttys()
1550 if (sp->se_index != session_index) { in clean_ttys()
1553 session_index); in clean_ttys()
1554 sp->se_index = session_index; in clean_ttys()
1576 (void)new_session(sprev, session_index, typ); in clean_ttys()