Commit | Line | Data |
---|---|---|
139ef826 KB |
1 | /*- |
2 | * Copyright (c) 1992 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * %sccs.include.redist.c% | |
6 | * | |
5b706da6 | 7 | * @(#)fnmatch.h 5.2 (Berkeley) %G% |
139ef826 KB |
8 | */ |
9 | ||
5b706da6 KB |
10 | #ifndef _FNMATCH_H_ |
11 | #define _FNMATCH_H_ | |
12 | ||
139ef826 KB |
13 | #define FNM_NOMATCH 1 /* Match failed. */ |
14 | ||
15 | #define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */ | |
16 | #define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */ | |
17 | #define FNM_PERIOD 0x04 /* Period must be matched by period. */ | |
5b706da6 KB |
18 | |
19 | #include <sys/cdefs.h> | |
20 | ||
21 | __BEGIN_DECLS | |
22 | #ifndef _POSIX_SOURCE | |
23 | int fnmatch __P((const char *, const char *, int)); | |
24 | #endif | |
25 | __END_DECLS | |
26 | ||
27 | #endif /* !_FNMATCH_H_ */ |