19 FFind(
const string& pattern) { setPattern(pattern); }
22 char *p1 = strdup(pattern.c_str());
23 char *p2 = strdup(pattern.c_str());
35 struct dirent **namelist;
44 *iter++ = namelist[n]->d_name;
58 cerr << errmsg << endl;
62 struct dirent **namelist;
char __fnmatchpattern[2048]
int findFiles(const std::string &fmask, T iter)
void perror(const char *errmsg)
FFind(const string &pattern)
void setPattern(const string &pattern)
int __fixed_fnmatch(const struct dirent *dent)