Home
last modified time | relevance | path

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

/netbsd-src/usr.bin/crunch/crunchgen/
H A Dcrunchgen.c877 FILE *outcf; in gen_output_cfile() local
884 if ((outcf = fopen(outcfname, "w")) == NULL) { in gen_output_cfile()
890 fprintf(outcf, in gen_output_cfile()
894 fprintf(outcf, "#define EXECNAME \"%s\"\n", execfname); in gen_output_cfile()
896 fprintf(outcf, "%s\n", *cp); in gen_output_cfile()
899 fprintf(outcf, "extern int _crunched_%s_stub(int, char **, char **);\n", in gen_output_cfile()
902 fprintf(outcf, "\nstatic const struct stub entry_points[] = {\n"); in gen_output_cfile()
904 fprintf(outcf, "\t{ \"%s\", _crunched_%s_stub },\n", in gen_output_cfile()
907 fprintf(outcf, "\t{ \"%s\", _crunched_%s_stub },\n", in gen_output_cfile()
911 fprintf(outcf, "\t{ EXECNAME, crunched_main },\n"); in gen_output_cfile()
[all …]