mblen

Determines the number of bytes comprising the multibyte character (nonoperational in NetWare® versions 3.11 and earlier)

Local Servers:nonblocking
Remote Servers:N/A
Classification:ANSI
Service:Character Manipulation

Syntax

  #include <stdlib.h>  
   
  int mblen  (  
     const char   *s,   
     size_t       n);
  

Parameters

s
(IN) Points to the array of multibyte characters.
n
(IN) Specifies the number of bytes of the array pointed to by s to be examined.

Return Values

This function returns a value of 0 for any of the following conditions:

Remarks

At most, n bytes of the array pointed to by s are examined.

See Also

mbstowcs, mbtowc, wcstombs, wctomb