Add FNM_NOCASE and FNM_IGNORECASE as synonyms to FNM_CASEFOLD

for better compatibility with other systems
This commit is contained in:
Andrey A. Chernov 1997-01-02 18:27:22 +00:00
parent cc59ca2185
commit e1a1573d6f

View File

@ -44,6 +44,8 @@
#ifndef _POSIX_SOURCE
#define FNM_LEADING_DIR 0x08 /* Ignore /<tail> after Imatch. */
#define FNM_CASEFOLD 0x10 /* Case insensitive search. */
#define FNM_NOCASE FNM_CASEFOLD
#define FNM_IGNORECASE FNM_CASEFOLD
#endif
#include <sys/cdefs.h>