1#ifndef RITSUKO_STRNLEN_HPP
2#define RITSUKO_STRNLEN_HPP
23inline std::size_t
strnlen(
const char* ptr, std::size_t max) {
25 for (; j < max && ptr[j] !=
'\0'; ++j) {}
Helper functions for ArtifactDB parsing and validation.
Definition Pointer.hpp:22
std::size_t strnlen(const char *ptr, std::size_t max)
Definition strnlen.hpp:23