sl@0: /** @file ../include/glob.h sl@0: @internalComponent sl@0: */ sl@0: sl@0: /** @struct glob_t sl@0: sl@0: Includes the following members, sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: /** @var glob_t::gl_pathc sl@0: Count of total paths so far. sl@0: */ sl@0: sl@0: /** @var glob_t::gl_matchc sl@0: Count of paths matching pattern sl@0: */ sl@0: sl@0: /** @var glob_t::gl_offs sl@0: Reserved at beginning of gl_pathv. sl@0: */ sl@0: sl@0: /** @var glob_t::gl_flags sl@0: Copy of flags parameter to glob. sl@0: */ sl@0: sl@0: /** @var glob_t::gl_pathv sl@0: List of paths matching pattern. sl@0: */ sl@0: sl@0: /** @var glob_t::gl_closedir sl@0: Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2). sl@0: */ sl@0: sl@0: /** @var glob_t::gl_stat sl@0: Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2). sl@0: */ sl@0: sl@0: /** @var glob_t::gl_opendir sl@0: Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2). sl@0: */ sl@0: sl@0: /** @var glob_t::gl_lstat sl@0: Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2). sl@0: *//** @struct glob64_t sl@0: sl@0: Includes the following members, sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: /** @var glob64_t::gl_pathc sl@0: Count of total paths so far. sl@0: */ sl@0: sl@0: /** @var glob64_t::gl_matchc sl@0: Count of paths matching pattern sl@0: */ sl@0: sl@0: /** @var glob64_t::gl_offs sl@0: Reserved at beginning of gl_pathv. sl@0: */ sl@0: sl@0: /** @var glob64_t::gl_flags sl@0: Copy of flags parameter to glob. sl@0: */ sl@0: sl@0: /** @var glob64_t::gl_pathv sl@0: List of paths matching pattern. sl@0: */ sl@0: sl@0: /** @var glob64_t::gl_closedir sl@0: Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2). sl@0: */ sl@0: sl@0: /** @var glob64_t::gl_stat sl@0: Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2). sl@0: */ sl@0: sl@0: /** @var glob64_t::gl_opendir sl@0: Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2). sl@0: */ sl@0: sl@0: /** @var glob64_t::gl_lstat sl@0: Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2). sl@0: */ sl@0: sl@0: /** @fn glob(const char *, int, int (*)(const char *, int), glob_t *) sl@0: sl@0: generate pathnames matching a pattern. sl@0: The glob() function shall match all accessible pathnames against this pattern and develop a list of all pathnames that match. sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: /** @fn glob64(const char *, int, int (*)(const char *, int), glob64_t *) sl@0: sl@0: glob64() is a large-file version of the glob() sl@0: The glob64() function shall match all accessible pathnames against this pattern and develop a list of all pathnames that match. sl@0: sl@0: For full documentation see: http://www.unix.org/version2/whatsnew/lfs20mar.html#3.0 sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: /** @fn globfree(glob_t *) sl@0: sl@0: generate pathnames matching a pattern sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: /** @fn globfree64(glob64_t *) sl@0: sl@0: globfree64() frees the dynamically allocated storage from an earlier call to glob64(). sl@0: globfree64() is a 64-bit version of globfree(). sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: /** @def GLOB_APPEND sl@0: sl@0: Append to output from previous call. sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: sl@0: /** @def GLOB_DOOFFS sl@0: sl@0: Use gl_offs. sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: sl@0: /** @def GLOB_ERR sl@0: sl@0: Return on error. sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: sl@0: /** @def GLOB_MARK sl@0: sl@0: Append / to matching directories. sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: sl@0: /** @def GLOB_NOCHECK sl@0: sl@0: Return pattern itself if nothing matches. sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: /** @def GLOB_NOSORT sl@0: sl@0: Don't sort. sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: /** @def GLOB_NOSPACE sl@0: sl@0: Error values returned by glob(3). Malloc call failed. sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: /** @def GLOB_ABORTED sl@0: sl@0: Error values returned by glob(3). Unignored error. sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: /** @def GLOB_NOMATCH sl@0: sl@0: Error values returned by glob(3). No match and GLOB_NOCHECK was not set. sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: sl@0: /** @def GLOB_ALTDIRFUNC sl@0: sl@0: Use alternately specified directory funcs. sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: /** @def GLOB_BRACE sl@0: sl@0: Expand braces ala csh. sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: /** @def GLOB_QUOTE sl@0: sl@0: Quote special chars with \\. sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: /** @def GLOB_TILDE sl@0: sl@0: Expand tilde names from the passwd file. sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: /** @def GLOB_LIMIT sl@0: sl@0: limit number of returned paths sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: sl@0: sl@0: /** @def GLOB_NOMAGIC sl@0: sl@0: GLOB_NOCHECK without magic chars (csh). sl@0: sl@0: @publishedAll sl@0: @externallyDefinedApi sl@0: */ sl@0: