string path(get_system_path(string(p)));
string path(get_system_path(mask));
int U7ListFiles(const char *p, char **& files, int& count){        glob_t globres;		string path(get_system_path(string(p)));        int err = glob(path.c_str(), GLOB_NOSORT, 0, &globres);        switch (err) {        case 0:   //OK                files = globres.gl_pathv;                count = globres.gl_pathc;                return 0;                       case 3:   //no matches                files = 0; count = 0;                return 0;        default:  //error                cerr << "Glob error " << err << endl;                return err;        }}