Lines Matching refs:tfp

352 	register SM_FILE_T *tfp;
384 tfp = e->e_lockfp;
385 if (tfp == NULL && newid)
399 (tfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT,
408 tf, (int) geteuid(), tfd, tfp);
411 e->e_lockfp = tfp;
468 if (tfd < 0 || (tfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT,
498 sm_dprintf(" tfp=");
499 dumpfd(sm_io_getinfo(tfp, SM_IO_WHAT_FD, NULL), true, false);
610 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "V%d\n", QF_VERSION);
613 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "T%ld\n", (long) e->e_ctime);
616 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "K%ld\n", (long) e->e_dtime);
619 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "N%d\n", e->e_ntries);
622 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "P%ld\n", e->e_msgpriority);
631 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "d%s\n",
639 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "I%ld/%ld/%llu\n",
647 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "B%s\n",
652 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "q%s\n",
657 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "M%s\n",
678 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "F%s\n", buf);
681 queueup_macros(macid("{persistentMacros}"), tfp, e);
688 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "S%s\n",
693 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "Z%s\n",
698 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "A%s\n",
701 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "!%c %ld\n",
713 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "M%s\n",
717 printctladdr(q, tfp);
719 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "Q%s\n",
723 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "r%s\n",
726 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'R');
728 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'P');
730 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'N');
732 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'S');
734 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'F');
736 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'D');
739 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'A');
740 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, ':');
741 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "%s\n",
780 mcibuf.mci_out = tfp;
804 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "H?");
810 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT,
814 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT,
825 (void) sm_io_putc(tfp, SM_TIME_DEFAULT,
828 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, '?');
834 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "%s:%s\n",
855 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "%s:%s\n",
869 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, ".\n");
871 if (sm_io_flush(tfp, SM_TIME_DEFAULT) != 0 ||
875 fsync(sm_io_getinfo(tfp, SM_IO_WHAT_FD, NULL)) < 0) ||
876 sm_io_error(tfp))
944 e->e_lockfp = tfp;
972 ** tfp -- file pointer.
983 printctladdr(a, tfp)
985 SM_FILE_T *tfp;
995 if (a == NULL || a->q_alias == NULL || tfp == NULL)
997 if (lastctladdr != NULL && tfp != NULL)
998 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "C\n");
1028 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "C");
1030 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "C%s:%ld:%ld",
1033 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, ":%s\n",