fnmatch.h 358 B

123456789101112131415161718192021
  1. #ifndef _FNMATCH_H
  2. #define _FNMATCH_H
  3. #include <sys/cdefs.h>
  4. __BEGIN_DECLS
  5. int fnmatch(const char *pattern, const char *string, int flags) __THROW;
  6. #define FNM_NOESCAPE 1
  7. #define FNM_PATHNAME 2
  8. #define FNM_FILE_NAME 2
  9. #define FNM_PERIOD 4
  10. #define FNM_LEADING_DIR 8
  11. #define FNM_CASEFOLD 16
  12. #define FNM_NOMATCH 1
  13. __END_DECLS
  14. #endif