Lines Matching refs:fp
84 FILE *fp = (FILE *)arg;
86 (void) fwrite(s, strlen(s) + 1, 1, fp);
93 FILE *fp = (FILE *)arg;
95 (void) fwrite(s, strlen(s) + 1, 1, fp);
101 FILE *fp;
140 if ((fp = fopen(fname, "w")) == NULL)
162 (void) fwrite(&hdr, sizeof (hdr), 1, fp);
163 if (ferror(fp))
167 lut_walk(Ident, (lut_cb)ident_printer, (void *)fp);
169 lut_walk(Dicts, (lut_cb)dict_printer, (void *)fp);
177 if (cc != fwrite(buf, 1, cc, fp) || ferror(fp))
184 (void) fclose(fp);