mblen()

This is a Hardware specific function. It is not implemented in the Compiler.

Syntax
  #include <stdlib.h>

  
  int mblen(const char *s, size_t n);

  
Description

mblen() determines the number of bytes the multi-byte character pointed to by s occupies.

Return

0, if s is NULL.

-1, if the first n bytes of *s do not form a valid multi-byte character.

n, the number of bytes of the multi-byte character otherwise.

See also

mbtowc() and

mbstowcs()