Lines Matching refs:path
43 char *path, *p, *q;
52 path = malloc(strlen(argv[1])+4); /* extra space to add ".ct" */
53 strcpy(path, argv[1]);
54 p = strrchr(path, '/');
56 p = path;
61 strcat(path, ".ct");
62 yyin = fopen(path, "rF");
64 perror(path);
68 p = strrchr(path, '.');
70 q = rindex(path, '/');
71 strncpy(c_file, (q) ? q + 1 : path, sizeof(c_file) - 1);
85 fputs(path, output_file);