RETURN VALUES
If mbchar is NULL, the mblen function returns nonzero if shift states are supported, zero otherwise. Otherwise, if mbchar is not a null pointer, mblen either returns 0 if mbchar represents the null wide character, or returns the number of bytes processed in mbchar, or returns -1 if no multibyte character could be recognized or converted. In this case, mblen s internal conversion state is undefined.
ERRORS
The mblen function will fail if: