fix reversed argument order x86_64 sigsetjmp's call to sigprocmask
[musl] / include / fnmatch.h
1 #ifndef _FNMATCH_H
2 #define _FNMATCH_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include <features.h>
9
10 #define FNM_PATHNAME 0x1
11 #define FNM_NOESCAPE 0x2
12 #define FNM_PERIOD   0x4
13
14 #ifdef _GNU_SOURCE
15 #define FNM_LEADING_DIR 0x8           
16 #define FNM_CASEFOLD    0x10
17 #define FNM_FILE_NAME   FNM_PATHNAME
18 #endif
19
20 #define FNM_NOMATCH 1
21 #define FNM_NOSYS   (-1)
22
23 int fnmatch(const char *, const char *, int);
24
25 #ifdef __cplusplus
26 }
27 #endif
28
29 #endif