glob
int glob(const char *, int, int (*)(const char *, int), glob_t *);
fGlob = strdup(glob);
Grepper::Grepper(const char* pattern, const char* glob, const Model* model,
Grepper(const char* pattern, const char* glob, const Model* model,
if (glob(s, flags, NULL, &gl) == 0 && gl.gl_pathc != 0) {
if (glob(whichf, flags, 0, &gl)) {
if (glob(argv[argc], flags, NULL, &gl))
glob_t glob;
memset(&glob, 0, sizeof(glob_t));
glob.gl_closedir = (void (*)(void *))fs_close_attr_dir;
glob.gl_readdir = (dirent* (*)(void*))fs_read_attr_dir;
glob.gl_opendir = open_attr_dir;
glob.gl_lstat = stat_attr;
glob.gl_stat = stat_attr;
int result = ::glob(attribute, GLOB_ALTDIRFUNC, NULL, &glob);
for (int i = 0; i < glob.gl_pathc; i++) {
if (fs_remove_attr(fd, glob.gl_pathv[i]) != 0)
glob_t glob;
memset(&glob, 0, sizeof(glob_t));
glob.gl_closedir = (void (*)(void *))fs_close_index_dir;
glob.gl_readdir = (dirent *(*)(void *))fs_read_index_dir;
glob.gl_opendir = open_index_dir;
glob.gl_lstat = stat_index;
glob.gl_stat = stat_index;
int result = ::glob(indexPattern, GLOB_ALTDIRFUNC, NULL, &glob);
for (int i = 0; i < glob.gl_pathc; i++) {
if (remove_index(device, glob.gl_pathv[i], verbose) != 0)
if (glob(globPath.String(), GLOB_NOSORT, NULL, &globbuf) == 0) {