parse_path
parse_path(const char *fullPath, char *dirPath, char *leaf)
parse_path(const char *fullPath, int &dirEnd, int &leafStart, int &leafEnd)