2 #include <posix/glob.h>
5 # include <sys/types.h>
7 libc_hidden_proto (glob
)
8 libc_hidden_proto (glob64
)
9 libc_hidden_proto (globfree
)
10 libc_hidden_proto (globfree64
)
13 # define glob64_time64_t glob64_t
15 # include <sys/stat.h>
24 void (*gl_closedir
) (void *);
25 struct dirent64
*(*gl_readdir
) (void *);
26 void *(*gl_opendir
) (const char *);
27 int (*gl_lstat
) (const char *__restrict
, struct __stat64_t64
*__restrict
);
28 int (*gl_stat
) (const char *__restrict
, struct __stat64_t64
*__restrict
);
31 extern int __glob64_time64 (const char *pattern
, int flags
,
32 int (*errfunc
) (const char *, int),
33 glob64_time64_t
*pglob
);
34 libc_hidden_proto (__glob64_time64
)
35 void __globfree64_time64 (glob64_time64_t
*pglob
);
36 libc_hidden_proto (__globfree64_time64
)
39 /* Now define the internal interfaces. */
40 extern int __glob_pattern_p (const char *__pattern
, int __quote
);
41 extern int __glob64 (const char *__pattern
, int __flags
,
42 int (*__errfunc
) (const char *, int),
44 libc_hidden_proto (__glob64
)