]>
git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/include/glob.h
12 #include <bits/alltypes.h>
22 int glob(const char *__restrict
, int, int (*)(const char *, int), glob_t
*__restrict
);
23 void globfree(glob_t
*);
26 #define GLOB_MARK 0x02
27 #define GLOB_NOSORT 0x04
28 #define GLOB_DOOFFS 0x08
29 #define GLOB_NOCHECK 0x10
30 #define GLOB_APPEND 0x20
31 #define GLOB_NOESCAPE 0x40
32 #define GLOB_PERIOD 0x80
34 #ifdef __wasilibc_unmodified_upstream // WASI has no usernames
35 #define GLOB_TILDE 0x1000
36 #define GLOB_TILDE_CHECK 0x4000
39 #define GLOB_NOSPACE 1
40 #define GLOB_ABORTED 2
41 #define GLOB_NOMATCH 3
44 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
46 #define globfree64 globfree
47 #define glob64_t glob_t