2
0

fnmatch.h 386 B

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