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