Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dgetty.c266 struct utmp *utp_ptr; in utmp_entry() local
272 while ((utp_ptr = getutent())) in utmp_entry()
273 if (utp_ptr->ut_pid == pid && utp_ptr->ut_type >= INIT_PROCESS) break; in utmp_entry()
274 if (!utp_ptr) { in utmp_entry()
Dtelnetd.c115 struct utmp *utp_ptr; in utmp_entry() local
120 while ((utp_ptr = getutent()) != NULL) { in utmp_entry()
121 if (utp_ptr->ut_pid == pid && utp_ptr->ut_type >= INIT_PROCESS) break; in utmp_entry()
123 if (!utp_ptr) entry.ut_type = DEAD_PROCESS; in utmp_entry()