1
0

fnmatch.h 339 B

12345678910111213141516171819202122232425
  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. #ifdef _GNU_SOURCE
  10. #define FNM_CASEFOLD 0x10
  11. #endif
  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