Library /sys$common/syshlp/helplib.hlb  —  CRTL  glob  Arguments
 pattern

    The pattern string to match with accessible files and pathnames.
    This pattern can have wildcards.

 flags

    Controls the customizable behavior of the glob function.

 errfunc

    An optional function that, if specified, is called when the glob
    function detects an error condition, or if not specified, is
    NULL.

 epath

    First argument of the optional errfunc function, epath is the
    pathname that failed because a directory could not be opened or
    read.

 eerrno

    Second argument of the optional errfunc function, eerrno is the
    errno value from a failure specified by the epath argument as set
    by the opendir, readdir, or stat functions.

 pglob

    Pointer to a glob_t structure that returns the matching
    accessible existing filenames. The structure is allocated by the
    caller. The array of structures containing the located filenames
    that match the pattern argument are stored by the glob function
    into the structure. The last entry is a NULL pointer.

    The structure type glob_t is defined in the <glob.h> header file
    and includes at least 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     //Slots to reserve at the beginning of gl_pathv.
Close Help