Lines Matching defs: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",
638 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "I%ld/%ld/%llu\n",
646 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "B%s\n",
651 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "q%s\n",
656 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "M%s\n",
677 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "F%s\n", buf);
680 queueup_macros(macid("{persistentMacros}"), tfp, e);
687 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "S%s\n",
692 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "Z%s\n",
697 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "A%s\n",
700 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "!%c %ld\n",
712 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "M%s\n",
716 printctladdr(q, tfp);
718 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "Q%s\n",
722 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "r%s\n",
725 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'R');
727 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'P');
729 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'N');
731 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'S');
733 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'F');
735 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'D');
738 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'A');
739 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, ':');
740 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "%s\n",
779 mcibuf.mci_out = tfp;
803 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "H?");
809 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT,
813 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT,
824 (void) sm_io_putc(tfp, SM_TIME_DEFAULT,
827 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, '?');
833 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "%s:%s\n",
854 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "%s:%s\n",
868 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, ".\n");
870 if (sm_io_flush(tfp, SM_TIME_DEFAULT) != 0 ||
874 fsync(sm_io_getinfo(tfp, SM_IO_WHAT_FD, NULL)) < 0) ||
875 sm_io_error(tfp))
943 e->e_lockfp = tfp;
971 ** tfp -- file pointer.
982 printctladdr(a, tfp)
984 SM_FILE_T *tfp;
994 if (a == NULL || a->q_alias == NULL || tfp == NULL)
996 if (lastctladdr != NULL && tfp != NULL)
997 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "C\n");
1027 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "C");
1029 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "C%s:%ld:%ld",
1032 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, ":%s\n",