extensive header cleanup for standards conformance & correctness
[musl] / include / fnmatch.h
1 #ifndef _FNMATCH_H
2 #define _FNMATCH_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #define FNM_PATHNAME 0x1
9 #define FNM_NOESCAPE 0x2
10 #define FNM_PERIOD   0x4
11
12 #ifdef _GNU_SOURCE
13 #define FNM_CASEFOLD 0x10
14 #endif
15
16 #define FNM_NOMATCH 1
17 #define FNM_NOSYS   (-1)
18
19 int fnmatch(const char *, const char *, int);
20
21 #ifdef __cplusplus
22 }
23 #endif
24
25 #endif