GLOB.H(3HEAD) | Headers | GLOB.H(3HEAD) |
glob.h, glob - pathname pattern-matching types
#include <glob.h>
The <glob.h> header defines the structures and symbolic constants used by the glob(3C).
The structure type glob_t contains the following members:
size_t gl_pathc /* count of paths matched by pattern */ char **gl_pathv /* pointer to a list of matched
pathnames */ size_t gl_offs /* lots to reserve at the beginning
of gl_pathv */
The following constants are provided as values for the flags argument:
GLOB_APPEND
GLOB_DOOFFS
GLOB_ERR
GLOB_MARK
GLOB_NOCHECK
GLOB_NOESCAPE
GLOB_NOSORT
The following constants are defined as error return values:
GLOB_ABORTED
GLOB_NOMATCH
GLOB_NOSPACE
GLOB_NOSYS
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Standard |
September 10, 2004 | OmniOS |