glob64 searches for all the pathnames matching pattern according to the rules used by the shell. (See glob(7).) No tilde expansion or parameter substitution is done; if you want these, use wordexp(3).
The results of a glob64 call are stored in the structure pointed to by pglob, which is a glob64_t declared in glob.h and includes the following elements defined by POSIX.2 (more may be present as an extension):
glob64 is a 64-bit version of glob.
On success, 0 is returned. Other possible returns are:
out of memory
no match found