1#ifndef _FNMATCH_H 2#define _FNMATCH_H 3 4#ifdef __cplusplus 5extern "C" { 6#endif 7 8#define FNM_PATHNAME 0x1 9#define FNM_NOESCAPE 0x2 10#define FNM_PERIOD 0x4 11#define FNM_LEADING_DIR 0x8 12#define FNM_CASEFOLD 0x10 13#define FNM_FILE_NAME FNM_PATHNAME 14 15#define FNM_NOMATCH 1 16#define FNM_NOSYS (-1) 17 18int fnmatch(const char *, const char *, int); 19 20#ifdef __cplusplus 21} 22#endif 23 24#endif 25