summaryrefslogtreecommitdiff
path: root/05/musl-0.6.0/include/fnmatch.h
blob: b7aee504856d6be3ac614f8fead9835c973cca35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef	_FNMATCH_H
#define	_FNMATCH_H

#ifdef __cplusplus
extern "C" {
#endif

#define	FNM_PATHNAME 0x1
#define	FNM_NOESCAPE 0x2
#define	FNM_PERIOD   0x4

#ifdef _GNU_SOURCE
#define	FNM_CASEFOLD 0x10
#endif

#define	FNM_NOMATCH 1
#define FNM_NOSYS   (-1)

int fnmatch(const char *, const char *, int);

#ifdef __cplusplus
}
#endif

#endif