1570af302Sopenharmony_ci#include <glob.h> 2570af302Sopenharmony_ci#define T(t) (t*)0; 3570af302Sopenharmony_ci#define F(t,n) {t *y = &x.n;} 4570af302Sopenharmony_ci#define C(n) switch(n){case n:;} 5570af302Sopenharmony_cistatic void f() 6570af302Sopenharmony_ci{ 7570af302Sopenharmony_ciT(glob_t) 8570af302Sopenharmony_ciT(size_t) 9570af302Sopenharmony_ci{ 10570af302Sopenharmony_ciglob_t x; 11570af302Sopenharmony_ciF(size_t, gl_pathc) 12570af302Sopenharmony_ciF(char**, gl_pathv) 13570af302Sopenharmony_ciF(size_t, gl_offs) 14570af302Sopenharmony_ci} 15570af302Sopenharmony_ciC(GLOB_APPEND) 16570af302Sopenharmony_ciC(GLOB_DOOFFS) 17570af302Sopenharmony_ciC(GLOB_ERR) 18570af302Sopenharmony_ciC(GLOB_MARK) 19570af302Sopenharmony_ciC(GLOB_NOCHECK) 20570af302Sopenharmony_ciC(GLOB_NOESCAPE) 21570af302Sopenharmony_ciC(GLOB_NOSORT) 22570af302Sopenharmony_ciC(GLOB_ABORTED) 23570af302Sopenharmony_ciC(GLOB_NOMATCH) 24570af302Sopenharmony_ciC(GLOB_NOSPACE) 25570af302Sopenharmony_ci{int(*p)(const char*restrict,int,int(*)(const char*,int),glob_t*restrict) = glob;} 26570af302Sopenharmony_ci{void(*p)(glob_t*) = globfree;} 27570af302Sopenharmony_ci} 28