Lines Matching refs:outf
115 FILE *inf, *outf; in do_header() local
124 outf = fopen(file, "w"); in do_header()
125 if (outf == 0) { in do_header()
129 fprintf(outf, "#define %s %d\n", name, count); in do_header()
130 (void) fclose(outf); in do_header()
132 outf = fopen(file, "a"); in do_header()
133 if (outf == 0) { in do_header()
137 fprintf(outf, "#include <%s.h>\n", hname); in do_header()
138 (void) fclose(outf); in do_header()
187 outf = fopen(file, "w"); in do_header()
188 if (outf == 0) { in do_header()
193 fprintf(outf, "#define %s %d\n", in do_header()
197 (void) fclose(outf); in do_header()