23 char *p1 = strdup(pattern.c_str());
24 char *p2 = strdup(pattern.c_str());
35 int find(
const std::string& fmask, T iter) {
39 struct dirent **namelist;
47 *iter++ = namelist[n]->d_name;
59 static int findFiles(
const std::string& fmask, T iter) {
61 return ff.
find(fmask, iter);
void setPattern(const std::string &pattern)
int find(const std::string &fmask, T iter)
int findFiles(const std::string &fmask, T iter)
const string & __set_fnmatchpattern(const string &pattern)
static int findFiles(const std::string &fmask, T iter)
FFind(const std::string &pattern)
void setPattern(const string &pattern)
int __fixed_fnmatch(const struct dirent *dent)