Computes the number of bytes in a character.
#include <wchar.h>
int mbrlen (
const char *s,
size_t n,
mbstate_t *ps);
(IN) Points to the character whose bytes are to be counted.
(IN) Specifies the maximum number of bytes to examine.
(IN) Points to the conversion state of the character sequence. If ps is a NULL pointer, mbrlen uses its own state, which is initialized at program startup. A thread-safe application must not pass a NULL pointer.
Returns the first of the following that applies: