Lines Matching defs:pf
529 FILE *pf;
565 pf = popen(buf, "w");
566 if (pf == NULL) {
574 fprintf(pf, "From: rdist (Remote distribution program)\n");
575 fprintf(pf, "To:");
577 fprintf(pf, " %s@%s", to->n_name, nrhost);
579 fprintf(pf, " %s", to->n_name);
583 fprintf(pf, ", %s@%s", to->n_name, nrhost);
585 fprintf(pf, ", %s", to->n_name);
588 putc('\n', pf);
590 fprintf(pf, "Subject: files updated by rdist from %s to %s\n",
593 fprintf(pf, "Subject: files updated after %s\n", ctime(&lmod));
594 putc('\n', pf);
597 if (fwrite(buf, 1, len, pf) < 1)
600 (void) pclose(pf);