Lines Matching refs:pf
656 FILE *pf, *popen(); in notify() local
686 pf = popen(MAILCMD, "w"); in notify()
687 if (pf == NULL) { in notify()
695 fprintf(pf, "From: rdist (Remote distribution program)\n"); in notify()
696 fprintf(pf, "To:"); in notify()
698 fprintf(pf, " %s@%s", to->n_name, rhost); in notify()
700 fprintf(pf, " %s", to->n_name); in notify()
704 fprintf(pf, ", %s@%s", to->n_name, rhost); in notify()
706 fprintf(pf, ", %s", to->n_name); in notify()
709 putc('\n', pf); in notify()
711 fprintf(pf, "Subject: files updated by rdist from %s to %s\n", in notify()
714 fprintf(pf, "Subject: files updated after %s\n", ctime(&lmod)); in notify()
715 putc('\n', pf); in notify()
718 (void) fwrite(buf, 1, len, pf); in notify()
720 (void) pclose(pf); in notify()