Update contrib.
1 /** @file ../include/glob.h
7 Includes the following members,
13 /** @var glob_t::gl_pathc
14 Count of total paths so far.
17 /** @var glob_t::gl_matchc
18 Count of paths matching pattern
21 /** @var glob_t::gl_offs
22 Reserved at beginning of gl_pathv.
25 /** @var glob_t::gl_flags
26 Copy of flags parameter to glob.
29 /** @var glob_t::gl_pathv
30 List of paths matching pattern.
33 /** @var glob_t::gl_closedir
34 Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2).
37 /** @var glob_t::gl_stat
38 Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2).
41 /** @var glob_t::gl_opendir
42 Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2).
45 /** @var glob_t::gl_lstat
46 Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2).
47 *//** @struct glob64_t
49 Includes the following members,
55 /** @var glob64_t::gl_pathc
56 Count of total paths so far.
59 /** @var glob64_t::gl_matchc
60 Count of paths matching pattern
63 /** @var glob64_t::gl_offs
64 Reserved at beginning of gl_pathv.
67 /** @var glob64_t::gl_flags
68 Copy of flags parameter to glob.
71 /** @var glob64_t::gl_pathv
72 List of paths matching pattern.
75 /** @var glob64_t::gl_closedir
76 Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2).
79 /** @var glob64_t::gl_stat
80 Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2).
83 /** @var glob64_t::gl_opendir
84 Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2).
87 /** @var glob64_t::gl_lstat
88 Alternate filesystem access methods for glob; replacement versions of closedir(3), readdir(3), opendir(3), stat(2) and lstat(2).
91 /** @fn glob(const char *, int, int (*)(const char *, int), glob_t *)
93 generate pathnames matching a pattern.
94 The glob() function shall match all accessible pathnames against this pattern and develop a list of all pathnames that match.
100 /** @fn glob64(const char *, int, int (*)(const char *, int), glob64_t *)
102 glob64() is a large-file version of the glob()
103 The glob64() function shall match all accessible pathnames against this pattern and develop a list of all pathnames that match.
105 For full documentation see: http://www.unix.org/version2/whatsnew/lfs20mar.html#3.0
108 @externallyDefinedApi
111 /** @fn globfree(glob_t *)
113 generate pathnames matching a pattern
116 @externallyDefinedApi
119 /** @fn globfree64(glob64_t *)
121 globfree64() frees the dynamically allocated storage from an earlier call to glob64().
122 globfree64() is a 64-bit version of globfree().
125 @externallyDefinedApi
130 Append to output from previous call.
133 @externallyDefinedApi
142 @externallyDefinedApi
151 @externallyDefinedApi
157 Append / to matching directories.
160 @externallyDefinedApi
164 /** @def GLOB_NOCHECK
166 Return pattern itself if nothing matches.
169 @externallyDefinedApi
177 @externallyDefinedApi
180 /** @def GLOB_NOSPACE
182 Error values returned by glob(3). Malloc call failed.
185 @externallyDefinedApi
188 /** @def GLOB_ABORTED
190 Error values returned by glob(3). Unignored error.
193 @externallyDefinedApi
196 /** @def GLOB_NOMATCH
198 Error values returned by glob(3). No match and GLOB_NOCHECK was not set.
201 @externallyDefinedApi
205 /** @def GLOB_ALTDIRFUNC
207 Use alternately specified directory funcs.
210 @externallyDefinedApi
215 Expand braces ala csh.
218 @externallyDefinedApi
223 Quote special chars with \\.
226 @externallyDefinedApi
231 Expand tilde names from the passwd file.
234 @externallyDefinedApi
239 limit number of returned paths
242 @externallyDefinedApi
246 /** @def GLOB_NOMAGIC
248 GLOB_NOCHECK without magic chars (csh).
251 @externallyDefinedApi