C Language and Libraries Help (clang.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
mblen, _fmblen
◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
─────Run-Time Library───────────────────────────────────────────────────────
Include: <stdlib.h>
Syntax: int mblen( char *mbstr, size_t count );
int _fmblen( char __far *mbstr, size_t count );
Returns: the length, in bytes, of the multibyte character if <mbstr>
is not NULL. If <mbstr> is NULL, or the object that it points
to is the wide-character null character (L'\'), both
functions return 0. If the object that <mbstr> points to does
not form a valid multibyte character within the first <count>
characters, they return -1.
See also: mbstowcs, mbtowc, wchar_t, wcstombs, wctomb, MB_CUR_MAX,
MB_LEN_MAX
-♦-