summaryrefslogtreecommitdiff
path: root/include/fnmatch.h
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1996-10-23 16:42:33 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1996-10-23 16:42:33 +0000
commitd9de4eee402fc43218950538c8b0938428b5402f (patch)
tree3de27ef5bcf1144ab28fb530f6e9f4e497ca41c4 /include/fnmatch.h
parent3deeb59da9ad8eeeff9986863d41f13a711eef8e (diff)
downloadsrc-test2-d9de4eee402fc43218950538c8b0938428b5402f.tar.gz
src-test2-d9de4eee402fc43218950538c8b0938428b5402f.zip
Notes
Diffstat (limited to 'include/fnmatch.h')
-rw-r--r--include/fnmatch.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
index c664422bce68..30322e99d97d 100644
--- a/include/fnmatch.h
+++ b/include/fnmatch.h
@@ -41,14 +41,15 @@
#define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */
#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */
#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>
__BEGIN_DECLS
-#ifndef _POSIX_SOURCE
int fnmatch __P((const char *, const char *, int));
-#endif
__END_DECLS
#endif /* !_FNMATCH_H_ */