Home | History | Annotate | Download | only in msgc

Lines Matching defs:out_file

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