2011-02-12 05:22:29 +00:00
|
|
|
#ifndef _FNMATCH_H
|
|
|
|
#define _FNMATCH_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-09-08 03:13:55 +00:00
|
|
|
#include <features.h>
|
|
|
|
|
2011-02-12 05:22:29 +00:00
|
|
|
#define FNM_PATHNAME 0x1
|
|
|
|
#define FNM_NOESCAPE 0x2
|
|
|
|
#define FNM_PERIOD 0x4
|
|
|
|
|
|
|
|
#ifdef _GNU_SOURCE
|
2011-10-17 16:24:23 +00:00
|
|
|
#define FNM_LEADING_DIR 0x8
|
|
|
|
#define FNM_CASEFOLD 0x10
|
|
|
|
#define FNM_FILE_NAME FNM_PATHNAME
|
2011-02-12 05:22:29 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#define FNM_NOMATCH 1
|
|
|
|
#define FNM_NOSYS (-1)
|
|
|
|
|
|
|
|
int fnmatch(const char *, const char *, int);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|