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