Lines Matching defs:fi
50 static FILE *infix(struct header *hp, FILE *fi);
52 static int savemail(char name[], struct header *hp, FILE *fi);
595 infix(struct header *hp, FILE *fi)
602 rewind(fi);
606 return(fi);
611 return(fi);
625 puthead(hp, nfo, (GMASK & ~GBCC) | GCLEN, fsize(fi));
627 while ((c = getc(fi)) != EOF)
629 if (ferror(fi)) {
631 return(fi);
638 return(fi);
641 fclose(fi);
728 savemail(char name[], struct header *hp, FILE *fi)
750 puthead(hp, fo, GMASK|GCLEN, fsize(fi) - textpos);
751 fseek(fi, textpos, 0);
753 while (fgets(line, sizeof line, fi)) {
759 while ((c = getc(fi)) != EOF)