EZ_GlobFiles(3) EZWGL Functions EZ_GlobFiles(3)NAMEEZ_GlobFiles - return all files match a given pattern
SYNOPSIS
#include <EZ.h>
char **EZ_GlobFiles(char *pattern, int showHidden)
ARGUMENTS
pattern Specifies a glob pattern.
showHidden Specifies a boolean flag indicates whether hidden files be
listed (the dot files).
DESCRIPTIONEZ_GlobFiles find and returns the list of files that match pattern. It
returns NULL if no matches found. The return value, if not NULL, is
NULL terminated list of strings. The returend list and its contents
should be freed.
SEE ALSOEZ_GlobHiddenFiles(3)EZWGLEZ_GlobFiles(3)