Lines Matching refs:ut
3140 struct utmpx ut; in doit() local
3141 (void) memset((char *)&ut, 0, sizeof (ut)); in doit()
3142 (void) strncpy(ut.ut_user, ".telnet", sizeof (ut.ut_user)); in doit()
3143 (void) strncpy(ut.ut_line, line, sizeof (ut.ut_line)); in doit()
3144 ut.ut_pid = getpid(); in doit()
3145 ut.ut_id[0] = 't'; in doit()
3146 ut.ut_id[1] = (char)SC_WILDC; in doit()
3147 ut.ut_id[2] = (char)SC_WILDC; in doit()
3148 ut.ut_id[3] = (char)SC_WILDC; in doit()
3149 ut.ut_type = LOGIN_PROCESS; in doit()
3150 ut.ut_exit.e_termination = 0; in doit()
3151 ut.ut_exit.e_exit = 0; in doit()
3152 (void) time(&ut.ut_tv.tv_sec); in doit()
3153 if (makeutx(&ut) == NULL) in doit()