alstring.h 375 B

1234567891011121314151617
  1. #ifndef AL_STRING_H
  2. #define AL_STRING_H
  3. #include <cstddef>
  4. namespace al {
  5. /* These would be better served by using a string_view-like span/view with
  6. * case-insensitive char traits.
  7. */
  8. int strcasecmp(const char *str0, const char *str1) noexcept;
  9. int strncasecmp(const char *str0, const char *str1, std::size_t len) noexcept;
  10. } // namespace al
  11. #endif /* AL_STRING_H */