GNU-style changes:
1) Rename FNM_ICASE to FNM_CASEFOLD 2) Add FNM_LEADING_DIR
This commit is contained in:
parent
392b773de0
commit
0732ee025a
@ -41,14 +41,15 @@
|
|||||||
#define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */
|
#define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */
|
||||||
#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */
|
#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */
|
||||||
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
|
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
|
||||||
#define FNM_ICASE 0x08 /* case insensitive search */
|
#ifndef _POSIX_SOURCE
|
||||||
|
#define FNM_LEADING_DIR 0x08 /* Ignore "/*" after match */
|
||||||
|
#define FNM_CASEFOLD 0x10 /* Case insensitive search */
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
#ifndef _POSIX_SOURCE
|
|
||||||
int fnmatch __P((const char *, const char *, int));
|
int fnmatch __P((const char *, const char *, int));
|
||||||
#endif
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* !_FNMATCH_H_ */
|
#endif /* !_FNMATCH_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user