file-expand-wildcards

file-expand-wildcards is a compiled Lisp function in `files.el'.

(file-expand-wildcards PATTERN &optional FULL)

Expand wildcard pattern PATTERN.
This returns a list of file names which match the pattern.

If PATTERN is written as an absolute file name,
the values are absolute also.

If PATTERN is written as a relative file name, it is interpreted
relative to the current default directory, `default-directory'.
The file names returned are normally also relative to the current
default directory. However, if FULL is non-nil, they are absolute.