Lines Matching refs:tfp

355 	register SM_FILE_T *tfp;  local
389 tfp = e->e_lockfp;
390 if (tfp == NULL && newid)
404 (tfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT,
413 tf, (long) geteuid(), tfd, (void *)tfp);
416 e->e_lockfp = tfp;
473 if (tfd < 0 || (tfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT,
504 dumpfd(sm_io_getinfo(tfp, SM_IO_WHAT_FD, NULL), true, false);
616 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "V%d\n", QF_VERSION);
619 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "T%ld\n", (long) e->e_ctime);
622 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "K%ld\n", (long) e->e_dtime);
625 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "N%d\n", e->e_ntries);
628 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "P%ld\n", e->e_msgpriority);
637 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "d%s\n",
644 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "I%ld/%ld/%llu\n",
652 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "B%s\n",
657 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "q%s\n",
662 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "M%s\n",
687 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "F%s\n", buf);
690 queueup_macros(macid("{persistentMacros}"), tfp, e);
697 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "S%s\n",
702 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "Z%s\n",
707 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "A%s\n",
710 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "!%c %ld\n",
723 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "M%s\n",
727 printctladdr(q, tfp);
729 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "Q%s\n",
733 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "r%s\n",
736 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'R');
738 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'P');
740 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'N');
742 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'S');
744 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'F');
746 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'D');
748 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'B');
750 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'X');
753 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, 'A');
757 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, QDYNMAILFLG);
758 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, ':');
759 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "%s\n",
806 mcibuf.mci_out = tfp;
830 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "H?");
836 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT,
840 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT,
851 (void) sm_io_putc(tfp, SM_TIME_DEFAULT,
854 (void) sm_io_putc(tfp, SM_TIME_DEFAULT, '?');
860 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "%s:%s\n",
881 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "%s:%s\n",
895 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, ".\n");
897 if (sm_io_flush(tfp, SM_TIME_DEFAULT) != 0 ||
901 fsync(sm_io_getinfo(tfp, SM_IO_WHAT_FD, NULL)) < 0) ||
902 sm_io_error(tfp))
970 e->e_lockfp = tfp;
1037 printctladdr(a, tfp) in printctladdr() argument
1039 SM_FILE_T *tfp;
1049 if (a == NULL || a->q_alias == NULL || tfp == NULL)
1051 if (lastctladdr != NULL && tfp != NULL)
1052 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "C\n");
1082 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "C");
1084 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "C%s:%ld:%ld",
1087 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, ":%s\n",