Open System Services Library Calls Reference Manual (G06.27+, H06.04+)
OSS Library Calls (g - h) glob(3)
GLOB_NOSPACE
Indicates an attempt to allocate memory failed.
A call to the malloc() function failed and the function given by the *errfunc
parameter was called with an errno value of [ENOMEM].
If, during the search, a directory is encountered that cannot be opened or read and the errfunc
parameter is not null, the glob() function calls the function inidcated by errfunc with two param-
eters:
epath Specifies the pathname that failed.
eerrno Specifies the value of errno from the failure, as set by the opendir(), readdir(),
or stat() function.
If errfunc is called and returns a nonzero value, or if the GLOB_ERR flag is set in the flags
parameter, the glob() function stops the scan and returns GLOB_ABORTED after setting the
pglob parameter to reflect the pathnames already found. If GLOB_ERR is not set and either
errfunc is null or errfunc returns 0 (zero), the error is ignored.
FILES
/usr/include/glob.h
Defines glob() macros, data types, and functions.
RELATED INFORMATION
Functions: fnmatch(3), globfree(3), opendir(3), readdir(3), stat(2), wordexp(3).
527187-004 Hewlett-Packard Company 3−91