Lines Matching refs:fbuf

95 	FILE *ibuf, *fbuf, *obuf;  in collect()  local
515 if ((fbuf = npopen(++cp, "r"))==NULL) { in collect()
529 if ((fbuf = fopen(cp, "r")) == NULL) { in collect()
537 while ((t = getc(fbuf)) != EOF) { in collect()
542 npclose(fbuf); in collect()
545 fclose(fbuf); in collect()
551 npclose(fbuf); in collect()
554 fclose(fbuf); in collect()
605 if ((fbuf = fopen(THELPFILE, "r")) == NULL) { in collect()
609 t = getc(fbuf); in collect()
612 t = getc(fbuf); in collect()
614 fclose(fbuf); in collect()
628 fbuf = stdout; in collect()
642 fbuf = npopen(MORE, "w"); in collect()
643 if (fbuf == NULL) { in collect()
645 fbuf = stdout; in collect()
652 fprintf(fbuf, gettext("-------\nMessage contains:\n")); in collect()
653 puthead(hp, fbuf, GMASK, 0); in collect()
655 putc(t, fbuf); in collect()
657 if (fbuf != stdout) { in collect()
658 npclose(fbuf); in collect()
724 if ((fbuf = fopen(deadletter, in collect()
727 puthead(hp, fbuf, GMASK|GCLEN, fsize(ibuf)); in collect()
728 lcwrite(deadletter, ibuf, fbuf, value("appenddeadletter") != NOSTR); in collect()
729 fclose(fbuf); in collect()
838 FILE *fbuf; in mesedit() local
855 (fbuf = fdopen(fd, "w")) == NULL) { in mesedit()
861 puthead(hp, fbuf, GMASK, 0); in mesedit()
863 putc(t, fbuf); in mesedit()
864 fflush(fbuf); in mesedit()
865 if (fferror(fbuf)) { in mesedit()
870 fclose(fbuf); in mesedit()
918 if ((fbuf = fopen(tempEdit, "r")) == NULL) { in mesedit()
934 while (gethfield(fbuf, hdr, 9999L) > 0) { in mesedit()
962 fclose(fbuf); in mesedit()
968 fclose(fbuf); in mesedit()
977 while ((t = getc(fbuf)) != EOF) in mesedit()
979 fclose(fbuf); in mesedit()