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