Lines Matching refs:ut
406 struct utmp ut; in update_uwtmp() local
413 ZERO(ut); in update_uwtmp()
427 ut.ut_type = OLD_TIME; in update_uwtmp()
428 strlcpy(ut.ut_line, OTIME_MSG, sizeof(ut.ut_line)); in update_uwtmp()
429 ut.ut_time = tvlast.tv_sec; in update_uwtmp()
431 pututline(&ut); in update_uwtmp()
432 ut.ut_type = NEW_TIME; in update_uwtmp()
433 strlcpy(ut.ut_line, NTIME_MSG, sizeof(ut.ut_line)); in update_uwtmp()
434 ut.ut_time = timetv.tv_sec; in update_uwtmp()
436 pututline(&ut); in update_uwtmp()
469 ut.ut_type = OLD_TIME; in update_uwtmp()
470 strlcpy(ut.ut_line, OTIME_MSG, sizeof(ut.ut_line)); in update_uwtmp()
471 ut.ut_time = tvlast.tv_sec; in update_uwtmp()
473 pututline(&ut); in update_uwtmp()
474 ut.ut_type = NEW_TIME; in update_uwtmp()
475 strlcpy(ut.ut_line, NTIME_MSG, sizeof(ut.ut_line)); in update_uwtmp()
476 ut.ut_time = timetv.tv_sec; in update_uwtmp()
478 pututline(&ut); in update_uwtmp()