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