Lines Matching defs:utmpt
781 static struct utmpx utmpt;
785 while (i < (int)sizeof (utmpt.ut_user) &&
787 utmpt.ut_user[i++] = *pwp->pw_name++;
793 while (i < (int)sizeof (utmpt.ut_line) &&
795 utmpt.ut_line[i++] = *ttname++;
797 utmpt.ut_id[0] = 0;
798 utmpt.ut_pid = getpid();
799 utmpt.ut_type = USER_PROCESS;
800 (void) time(&utmpt.ut_xtime);
801 utmpp = &utmpt;