Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

mbrlen - Determine remaining length of a multibyte character

&pagelevel(4)&pagelevel

Definition

#include <wchar.h>

size_t mbrlen(const char *s, size_t n, mbstate_t *ps);

mbrlen determines the number of bytes as of position *s that are needed to complete a multibyte character. A maximum of n bytes are examined.

mbrlen is equivalent to the call

mbrtowc(NULL, s, n, ps!= NULL ? ps: internal)

where internal is the mbstate_t object for the mbrlen function.

Description: see mbrtowc.