Searched refs:utmpt (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/who/
H A Dwho.c781 static struct utmpx utmpt; local
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;
[all...]

Completed in 44 milliseconds