10 #include <bits/alltypes.h>
20 int glob(const char *, int, int (*)(const char *, int), glob_t *);
21 void globfree(glob_t *);
24 #define GLOB_MARK 0x02
25 #define GLOB_NOSORT 0x04
26 #define GLOB_DOOFFS 0x08
27 #define GLOB_NOCHECK 0x10
28 #define GLOB_APPEND 0x20
29 #define GLOB_NOESCAPE 0x40
30 #define GLOB_PERIOD 0x80
32 #define GLOB_NOSPACE 1
33 #define GLOB_ABORTED 2
34 #define GLOB_NOMATCH 3