1#if !defined ISO && !defined ISO99 && !defined ISO11
2#ifdef POSIX
3# define size_t __size_t
4#endif
5
6type glob_t
7element glob_t size_t gl_pathc
8element glob_t {char**} gl_pathv
9element glob_t size_t gl_offs
10
11constant GLOB_APPEND
12constant GLOB_DOOFFS
13constant GLOB_ERR
14constant GLOB_MARK
15constant GLOB_NOCHECK
16constant GLOB_NOESCAPE
17constant GLOB_NOSORT
18
19constant GLOB_ABORTED
20constant GLOB_NOMATCH
21constant GLOB_NOSPACE
22# if !defined XOPEN2K8 && !defined POSIX2008 && !defined POSIX
23constant GLOB_NOSYS
24# endif
25
26function int glob (const char*, int, int (*) (const char*, int), glob_t*)
27function void globfree (glob_t *)
28
29allow gl_*
30allow GLOB_*
31allow *_t
32#endif
33