Lines Matching refs:Ut
110 static struct futmpx Ut, Ut2;
191 while (winp(Temp, &Ut)) {
192 adjust(rectmpin, &Ut);
194 if (fwrite(&Ut, UTRSZ, 1, stdout) < 1) {
373 ((n = fread(&Ut, (size_t)UTRSZ, (size_t)1, Wtmpx)) > 0) ||
452 if (rectmp == 0 || Ut.ut_type == BOOT_TIME)
454 if (Ut.ut_type == RUN_LVL) {
456 if (Ut.ut_line[RLVLMSG_LEN] == 'S')
458 else if ((Ut.ut_line[RLVLMSG_LEN] == '2') ||
459 (Ut.ut_line[RLVLMSG_LEN] == '3') ||
460 (Ut.ut_line[RLVLMSG_LEN] == '4'))
463 if (invalid(Ut.ut_name) == INVALID) {
467 OUTPUT_NSZ, Ut.ut_name);
468 (void) strncpy(Ut.ut_name, "INVALID", NSZ);
478 if (Ut.ut_type == OLD_TIME) {
504 setdtab(rectmp, &Ut, &Ut2);
506 if ((fwrite(&Ut, UTRSZ, 1, Temp) < 1) ||
513 if (fwrite(&Ut, UTRSZ, 1, Temp) < 1) {
537 * Globals: Ut, lastmonth, nextmonth; recin, cur_input_name (diagnostics)
540 * INRANGE_DROP -- Ut appears consistent but isn't of interest
542 * INRANGE_PASS -- Ut appears consistent and this record is of interest
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) {
561 switch (Ut.ut_type) {
568 * We'd like to have Ut.ut_user[0] == '\0' here, but sadly
574 if (strncmp(Ut.ut_line, RUN_LEVEL_MSG, RLVLMSG_LEN) != 0) {
591 if (strcmp(Ut.ut_line, BOOT_MSG) != 0) {
602 if (strcmp(Ut.ut_line, OTIME_MSG) != 0) {
619 if (strcmp(Ut.ut_line, NTIME_MSG) != 0) {
633 if ((strcmp(Ut.ut_user, "psradm") == 0) &&
634 (Ut.ut_id[0] == '\0') &&
635 (Ut.ut_pid > 0)) {
636 if ((Ut.ut_xtime > lastmonth) &&
637 (Ut.ut_xtime < nextmonth)) {
643 if ((Ut.ut_user[0] == '\0') &&
644 (strncmp(Ut.ut_id, "ftp", 3) == 0) &&
645 (strncmp(Ut.ut_line, "ftp", 3) == 0)) {
646 if ((Ut.ut_xtime > lastmonth) &&
647 (Ut.ut_xtime < nextmonth)) {
655 if (Ut.ut_user[0] == '\0') {
668 if (Ut.ut_pid == 0) {
684 if (Ut.ut_xtime <= 0) {
688 if ((Ut.ut_xtime > lastmonth) &&
689 (Ut.ut_xtime < nextmonth)) {
704 if ((strcmp(Ut.ut_line, RUNACCT_MSG) != 0) &&
705 (strcmp(Ut.ut_line, ACCTG_ON_MSG) != 0) &&
706 (strcmp(Ut.ut_line, ACCTG_OFF_MSG) != 0)) {
715 if (strcmp(Ut.ut_line, DOWN_MSG) != 0) {