You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
348 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __FNMATCH_H
  2. #define __FNMATCH_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #define FNM_NOESCAPE 0x01
  7. #define FNM_PATHNAME 0x02
  8. #define FNM_PERIOD 0x04
  9. #define FNM_NOCASE 0x08
  10. #define FNM_NOMATCH 1
  11. #define FNM_ERROR 2
  12. int fnmatch(const char *_pattern, const char *_string, int _flags);
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16. #endif /* __FNMATCH_H */