Lines Matching refs:Ut

110 static struct	futmpx	Ut, Ut2;  variable
191 while (winp(Temp, &Ut)) { in main()
192 adjust(rectmpin, &Ut); in main()
194 if (fwrite(&Ut, UTRSZ, 1, stdout) < 1) { in main()
373 ((n = fread(&Ut, (size_t)UTRSZ, (size_t)1, Wtmpx)) > 0) || in scanfile()
452 if (rectmp == 0 || Ut.ut_type == BOOT_TIME) in scanfile()
454 if (Ut.ut_type == RUN_LVL) { in scanfile()
456 if (Ut.ut_line[RLVLMSG_LEN] == 'S') in scanfile()
458 else if ((Ut.ut_line[RLVLMSG_LEN] == '2') || in scanfile()
459 (Ut.ut_line[RLVLMSG_LEN] == '3') || in scanfile()
460 (Ut.ut_line[RLVLMSG_LEN] == '4')) in scanfile()
463 if (invalid(Ut.ut_name) == INVALID) { in scanfile()
467 OUTPUT_NSZ, Ut.ut_name); in scanfile()
468 (void) strncpy(Ut.ut_name, "INVALID", NSZ); in scanfile()
478 if (Ut.ut_type == OLD_TIME) { in scanfile()
504 setdtab(rectmp, &Ut, &Ut2); in scanfile()
506 if ((fwrite(&Ut, UTRSZ, 1, Temp) < 1) || in scanfile()
513 if (fwrite(&Ut, UTRSZ, 1, Temp) < 1) { in scanfile()
547 (Ut.ut_pid != 0) || \
548 (Ut.ut_exit.e_termination != 0) || \
549 (Ut.ut_exit.e_exit != 0)
555 if (Ut.ut_pid < 0) { in inrange()
561 switch (Ut.ut_type) { in inrange()
574 if (strncmp(Ut.ut_line, RUN_LEVEL_MSG, RLVLMSG_LEN) != 0) { in inrange()
591 if (strcmp(Ut.ut_line, BOOT_MSG) != 0) { in inrange()
602 if (strcmp(Ut.ut_line, OTIME_MSG) != 0) { in inrange()
619 if (strcmp(Ut.ut_line, NTIME_MSG) != 0) { in inrange()
633 if ((strcmp(Ut.ut_user, "psradm") == 0) && in inrange()
634 (Ut.ut_id[0] == '\0') && in inrange()
635 (Ut.ut_pid > 0)) { in inrange()
636 if ((Ut.ut_xtime > lastmonth) && in inrange()
637 (Ut.ut_xtime < nextmonth)) { in inrange()
643 if ((Ut.ut_user[0] == '\0') && in inrange()
644 (strncmp(Ut.ut_id, "ftp", 3) == 0) && in inrange()
645 (strncmp(Ut.ut_line, "ftp", 3) == 0)) { in inrange()
646 if ((Ut.ut_xtime > lastmonth) && in inrange()
647 (Ut.ut_xtime < nextmonth)) { in inrange()
655 if (Ut.ut_user[0] == '\0') { in inrange()
668 if (Ut.ut_pid == 0) { in inrange()
684 if (Ut.ut_xtime <= 0) { in inrange()
688 if ((Ut.ut_xtime > lastmonth) && in inrange()
689 (Ut.ut_xtime < nextmonth)) { in inrange()
704 if ((strcmp(Ut.ut_line, RUNACCT_MSG) != 0) && in inrange()
705 (strcmp(Ut.ut_line, ACCTG_ON_MSG) != 0) && in inrange()
706 (strcmp(Ut.ut_line, ACCTG_OFF_MSG) != 0)) { in inrange()
715 if (strcmp(Ut.ut_line, DOWN_MSG) != 0) { in inrange()