Searched refs:extension_position (Results 1 – 1 of 1) sorted by relevance
/external/libmtp/src/ |
D | libmtp.c | 5573 char * extension_position; local 5577 extension_position = strrchr(filename,'.'); 5579 char basename[extension_position - filename + 1]; 5580 strncpy(basename, filename, extension_position - filename); 5581 basename[extension_position - filename] = '\0'; 5584 char newname[ strlen(basename) + 6 + strlen(extension_position)]; 5585 sprintf(newname, "%s_%d%s", basename, suffix, extension_position); 5588 sprintf(newname, "%s_%d%s", basename, suffix, extension_position);
|