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 object internal of type std::mbstate_t, except that the expression ps is evaluated only once.
Parameters
s - pointer