Searched refs:utp_ptr (Results 1 – 2 of 2) sorted by relevance
266 struct utmp *utp_ptr; in utmp_entry() local272 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()
115 struct utmp *utp_ptr; in utmp_entry() local120 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()