Searched refs:xdotcf (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/cmd/xstr/ |
H A D | xstr.c | 408 FILE *xdotcf; in xsdotc() local 412 xdotcf = fopen("xs.c", "w"); in xsdotc() 413 if (xdotcf == NULL) in xsdotc() 415 (void) fprintf(xdotcf, "char\t%s[] = {\n", xname); in xsdotc() 426 (void) fprintf(xdotcf, "\n"); in xsdotc() 429 (void) fprintf(xdotcf, "0x%02x,", c); in xsdotc() 431 (void) fprintf(xdotcf, "\n"); in xsdotc() 434 (void) fprintf(xdotcf, "};\n"); in xsdotc() 435 (void) fclose(xdotcf); in xsdotc()
|
/titanic_41/usr/src/cmd/vi/misc/ |
H A D | xstr.c | 403 register FILE *xdotcf; in xsdotc() local 407 xdotcf = fopen("xs.c", "w"); in xsdotc() 408 if (xdotcf == NULL) in xsdotc() 410 fprintf(xdotcf, "char\txstr[] = {\n"); in xsdotc() 421 fprintf(xdotcf, "\n"); in xsdotc() 424 fprintf(xdotcf, "0x%02x,", c); in xsdotc() 426 fprintf(xdotcf, "\n"); in xsdotc() 429 fprintf(xdotcf, "};\n"); in xsdotc() 430 ignore(fclose(xdotcf)); in xsdotc()
|