std::mbrlen (3) Linux Manual Page
std::mbrlen – std::mbrlen Synopsis Defined in header<cwchar> std::size_t mbrlen(const char *s, std::size_t n, std::mbstate_t *ps); Determines the size, in bytes, of the remainder of the multibyte character whose first byte is pointed to by s, given the current conversion state ps. This function is equivalent to the call std::mbrtowc(nullptr, s, n, ps?ps:&internal) for some hidden…
