Lines Matching defs:tfp

345 	register SM_FILE_T *tfp;
377 tfp = e->e_lockfp;
378 if (tfp == NULL && newid)
392 (tfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT,
401 tf, (long) geteuid(), tfd, tfp);
404 e->e_lockfp = tfp;
461 if (tfd < 0 || (tfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT,
491 sm_dprintf(" tfp=");
492 dumpfd(sm_io_getinfo(tfp, SM_IO_WHAT_FD, NULL), true, false);
603 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "V%d\n", QF_VERSION);
606 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "T%ld\n", (long) e->e_ctime);
609 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "K%ld\n", (long) e->e_dtime);
612 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "N%d\n", e->e_ntries);
615 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "P%ld\n", e->e_msgpriority);
624 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "d%s\n",
631 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "I%ld/%ld/%llu\n",
639 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "B%s\n",
644 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "q%s\n",
649 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "M%s\n",
670 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "F%s\n", buf);
673 queueup_macros(macid("{persistentMacros}"), tfp, e);
680 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "S%s\n",
685 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "Z%s\n",
690 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "A%s\n",
693 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "!%c %ld\n",
705 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "M%s\n",
709 printctladdr(q, tfp);
711 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "Q%s\n",
715 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "r%s\n",
718 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'R');
720 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'P');
722 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'N');
724 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'S');
726 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'F');
728 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'D');
730 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'B');
733 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'A');
737 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, QDYNMAILFLG);
738 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, ':');
739 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "%s\n",
778 mcibuf.mci_out = tfp;
802 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "H?");
808 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT,
812 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT,
823 (void) sm_io_putc(tfp, SM_TIME_DEFAULT,
826 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, '?');
832 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "%s:%s\n",
853 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "%s:%s\n",
867 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, ".\n");
869 if (sm_io_flush(tfp, SM_TIME_DEFAULT) != 0 ||
873 fsync(sm_io_getinfo(tfp, SM_IO_WHAT_FD, NULL)) < 0) ||
874 sm_io_error(tfp))
942 e->e_lockfp = tfp;
970 ** tfp -- file pointer.
981 printctladdr(a, tfp)
983 SM_FILE_T *tfp;
993 if (a == NULL || a->q_alias == NULL || tfp == NULL)
995 if (lastctladdr != NULL && tfp != NULL)
996 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "C\n");
1026 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "C");
1028 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "C%s:%ld:%ld",
1031 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, ":%s\n",