Home
last modified time | relevance | path

Searched refs:outcf (Results 1 – 1 of 1) sorted by relevance

/mirbsd/src/usr.bin/crunchgen/
Dcrunchgen.c828 FILE *outcf; in gen_output_cfile() local
836 if ((outcf = fopen(outcfname, "w")) == NULL) { in gen_output_cfile()
841 fprintf(outcf, "/* %s - generated from %s by crunchgen %s */\n", in gen_output_cfile()
849 fprintf(outcf, "#define EXECNAME \"%s\"\n", execfname); in gen_output_cfile()
850 fprintf(outcf, "#define NUMS %zu\n", nums); in gen_output_cfile()
851 fputs(crunched_skel, outcf); in gen_output_cfile()
854 fprintf(outcf, "extern int _crunched_%s_main(int, char **," in gen_output_cfile()
857 fprintf(outcf, "\nstatic const struct stub entry_points[NUMS] = {\n"); in gen_output_cfile()
859 fprintf(outcf, "\t{ \"%s\", _crunched_%s_main },\n", in gen_output_cfile()
862 fprintf(outcf, "\t{ \"%s\", _crunched_%s_main },\n", in gen_output_cfile()
[all …]