autoconf: split into subdirectories; redirect calls in debug builds
[m6w6/ext-psi] / m4 / posix / glob.m4
1 PSI_CHECK_GLOB() {
2 PSI_CONFIG_POSIX(glob, glob.h)
3
4 PSI_STRUCT(glob_t, [
5 size_t gl_pathc,
6 int gl_matchc,
7 size_t gl_offs,
8 int gl_flags,
9 char **gl_pathv])
10
11 PSI_FUNCTOR_TYPE(int glob_err, [(const char *epath, int eerrno)])
12 PSI_DECL(int glob, [(char *path, int flags, glob_err err, glob_t *buf)])
13 PSI_DECL(void globfree, [(glob_t *buf)])
14
15 PSI_CONST(GLOB_APPEND, int)
16 PSI_CONST(GLOB_BRACE, int)
17 PSI_CONST(GLOB_DOOFFS, int)
18 PSI_CONST(GLOB_ERR, int)
19 PSI_CONST(GLOB_MARK, int)
20 PSI_CONST(GLOB_NOCHECK, int)
21 PSI_CONST(GLOB_NOESCAPE, int)
22 PSI_CONST(GLOB_NOMAGIC, int)
23 PSI_CONST(GLOB_NOSORT, int)
24 PSI_CONST(GLOB_ONLYDIR, int)
25 PSI_CONST(GLOB_PERIOD, int)
26 PSI_CONST(GLOB_TILDE, int)
27 PSI_CONST(GLOB_TILDE_CHECK, int)
28 PSI_CONST(GLOB_ABORTED, int)
29 PSI_CONST(GLOB_NOMATCH, int)
30 PSI_CONST(GLOB_NOSPACE, int)
31 }