split_path
split_path(const char *fullPath, char *&path, char *&leaf)
split_path(const char *fullPath, char **path, char **leaf)