The glob64
function is a large-file
version of the glob
defined in
ISO POSIX (2003).
It shall search for pathnames matching
pattern according to the rules used by
the shell, /bin/sh.
No tilde expansion or parameter substitution is done; see
wordexp
.
The results of a glob64
call are stored in the structure pointed to by pglob,
which is a glob64_t declared in
glob.h with the following members:
typedef struct { size_t |
Structure members with the same name as corresponding members of a glob_t as defined in ISO POSIX (2003) shall have the same purpose.
Other members are defined as follows:
gl_flags
reserved for internal use
gl_closedir
pointer to a function capable of closing a directory opened by
gl_opendir
gl_readdir64
pointer to a function capable of reading entries in a large directory
gl_opendir
pointer to a function capable of opening a large directory
gl_stat
pointer to a function capable of returning file status for a large file
gl_lstat
pointer to a function capable of returning file status information for a large file or symbolic link
A large file or large directory is one with a size which cannot be represented by a variable of type off_t.