| Linux Standard Base Core Specification 2.1 | ||
|---|---|---|
| <<< Previous | Next >>> | |
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_flagsreserved for internal use
gl_closedirpointer to a function capable of closing a directory opened by
gl_opendir
gl_readdir64pointer to a function capable of reading entries in a large directory
gl_opendirpointer to a function capable of opening a large directory
gl_statpointer to a function capable of returning file status for a large file
gl_lstatpointer 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.
On success, 0 is returned. Other possible returns are:
out of memory
read error
no match found
| <<< Previous | Home | Next >>> |
| getutent_r | Up | globfree64 |