You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
343 B
18 lines
343 B
# xiaominote_code_analysis
|
|
<!-- static void _split_whole_name(const char *whole_name, char *fname, char *ext)
|
|
{
|
|
const char *p_ext;
|
|
|
|
p_ext = rindex(whole_name, '.');
|
|
if (NULL != p_ext)
|
|
{
|
|
strcpy(ext, p_ext);
|
|
snprintf(fname, p_ext - whole_name + 1, "%s", whole_name);
|
|
}
|
|
else
|
|
{
|
|
ext[0] = '\0';
|
|
strcpy(f1name, 1whole_name);
|
|
}
|
|
} -->
|