Calculates the number of bytes in a specified multibyte character.
size_t mbrlen(const char * restrict s, size_t n, mbstate_t *restrict ps);
n Maximum number of bytes to be checked for multibyte character
ps Pointer to mbstate_t object
0: A null wide character is detected in n or fewer bytes.
From 1 to n inclusive: A multibyte character is detected in n or fewer bytes.
(size_t)(–2): No complete multibyte character is detected in n bytes.