g_opendir
static DIR *g_opendir(wcat_t *, glob_t *);
if ((dirp = g_opendir(pathbuf, pglob)) == NULL) {