Lines Matching refs:uxp
303 struct utmpx *uxp; /* working pointer */ in readutmpx() local
306 while (uxp = getutxent()) { in readutmpx()
308 if (uxp->ut_type != LOGIN_PROCESS) in readutmpx()
310 if (uxp->ut_user[sizeof (uxp->ut_user) - 1] == '\0') { in readutmpx()
316 sp = findpm(uxp->ut_user); in readutmpx()
319 (void) memcpy(sp->sc_utid, uxp->ut_id, IDLEN); in readutmpx()
320 sp->sc_pid = uxp->ut_pid; in readutmpx()
333 if (strncmp(uxp->ut_user, sp->sc_tag, in readutmpx()
334 sizeof (uxp->ut_user)) == 0) { in readutmpx()
350 (void) memcpy(savesp->sc_utid, uxp->ut_id, in readutmpx()
352 savesp->sc_pid = uxp->ut_pid; in readutmpx()