fix inet_pton
[musl.git] / include / fnmatch.h
blob72345b8b32de9571b5b3c15b35ab8d7689bf31b1
1 #ifndef _FNMATCH_H
2 #define _FNMATCH_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 #include <features.h>
10 #define FNM_PATHNAME 0x1
11 #define FNM_NOESCAPE 0x2
12 #define FNM_PERIOD 0x4
14 #ifdef _GNU_SOURCE
15 #define FNM_LEADING_DIR 0x8
16 #define FNM_CASEFOLD 0x10
17 #define FNM_FILE_NAME FNM_PATHNAME
18 #endif
20 #define FNM_NOMATCH 1
21 #define FNM_NOSYS (-1)
23 int fnmatch(const char *, const char *, int);
25 #ifdef __cplusplus
27 #endif
29 #endif