Lines Matching refs:globbuf
246 glob_t globbuf;
255 retval = glob(globpat, GLOB_NOSORT, NULL, &globbuf);
257 globfree(&globbuf);
270 *modules = calloc(globbuf.gl_pathc, sizeof (char **));
272 globfree(&globbuf);
276 for (i = 0; i < globbuf.gl_pathc; i++) {
277 ptr = strrchr(globbuf.gl_pathv[i], '/');
279 ptr = globbuf.gl_pathv[i];
287 globfree(&globbuf);
294 globfree(&globbuf);