glob64

Name

glob64 -- find pathnames matching a pattern (Large File Support)

Synopsis

#include <glob.h>
int glob64((const char *pattern, int flags,
            int (*errfunc) (const char *, int),
            glob64_t *pglob));

Description

The glob64() function 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 which is declared in <glob.h> and includes the following elements defined by POSIX.2 (more may be present as an extension):

The glob64() function is a 64-bit version of glob.

Return Value

On successful completion, glob64() returns zero. Other possible returns are: GLOB_NOSPACE for running out of memory, GLOB_ABORTED for a read error, and GLOB_NOMATCH for no found matches.