GNU-style changes:

1) Rename FNM_ICASE to FNM_CASEFOLD
2) Add FNM_LEADING_DIR
This commit is contained in:
Andrey A. Chernov 1996-10-23 16:42:33 +00:00
parent 3deeb59da9
commit d9de4eee40
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=19133

View File

@ -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_ */