Lines Matching refs:out_file
97 FILE *out_file; in write_msg_file() local
132 out_file = fopen (hname, "w"); in write_msg_file()
133 if (out_file == NULL) { in write_msg_file()
140 (void) fprintf (out_file, "%s", in write_msg_file()
207 (void) fprintf (out_file, "#define MSG_NONE\tNULL\n"); in write_msg_file()
209 (void) fprintf (out_file, "#define MSG_%s\t((msg)(long)%d)\n", in write_msg_file()
212 (void) fprintf (out_file, "\n#endif\n"); in write_msg_file()
214 fclose (out_file); in write_msg_file()
217 out_file = fopen (cname, "w"); in write_msg_file()
218 if (out_file == NULL) { in write_msg_file()
225 (void)fprintf (out_file, "#include \"%s\"\n", hname); in write_msg_file()
228 (void)fprintf (out_file, "const char *msg_list[] = {\nNULL,\n"); in write_msg_file()
230 write_str (out_file, t->msg); in write_msg_file()
231 (void)fprintf (out_file, "NULL};\n"); in write_msg_file()
235 fputc(ch, out_file); in write_msg_file()
237 fclose (out_file); in write_msg_file()