If the character is n bytes or less, the mblen function returns the number of bytes comprising the multibyte character pointed to by s. If the character is greater than n bytes, the function returns -1 to indicate an error. This function is affected by the LC_CTYPE category of the program's current locale.