8 #if __STDC_VERSION__ >= 199901L
9 #define __restrict restrict
10 #elif !defined(__GNUC__)
16 #include <bits/alltypes.h>
26 int glob(const char *__restrict, int, int (*)(const char *, int), glob_t *__restrict);
27 void globfree(glob_t *);
30 #define GLOB_MARK 0x02
31 #define GLOB_NOSORT 0x04
32 #define GLOB_DOOFFS 0x08
33 #define GLOB_NOCHECK 0x10
34 #define GLOB_APPEND 0x20
35 #define GLOB_NOESCAPE 0x40
36 #define GLOB_PERIOD 0x80
38 #define GLOB_NOSPACE 1
39 #define GLOB_ABORTED 2
40 #define GLOB_NOMATCH 3
43 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
45 #define globfree64 globfree