int extract_dir(char *out, const char *in); // extract the directory from the path
int extract_name(char *out, const char *in, int test_dir = 1); // extract the name from the path
int join_names(char *out, const char *dir_in, const char *name_in); // combine a directory and filename
int extract_dir(char *out, const char *in); // extract the directory from the path
int extract_name(char *out, const char *in, int test_dir = 1); // extract the name from the path
int join_names(char *out, const char *dir_in, const char *name_in); // combine a directory and filename