Home | History | Annotate | Download | only in libprofile

Lines Matching refs:filename

68   char *filename = 0;
75 filename = malloc(strlen(prefix) + 1 + strlen(orig_filename) + 1);
76 strcpy(filename, prefix);
77 strcat(filename, "/");
78 strcat(filename, orig_filename);
80 return filename;
83 static void recursive_mkdir(const char *filename) {
87 for (i = 1, e = strlen(filename); i != e; ++i) {
88 if (filename[i] == '/') {
90 strncpy(pathname, filename, i);
111 char *filename;
112 filename = mangle_filename(orig_filename);
113 recursive_mkdir(filename);
114 output_file = fopen(filename, "wb");
139 free(filename);