mbrlen
mbrlen
Defined in header <wchar.h> | ||
---|---|---|
size_t mbrlen( const char *s, size_t n, mbstate_t *ps ); | (since C95) | |
size_t mbrlen( const char *restrict s, size_t n, mbstate_t *restrict ps ); | (since C99) |
Determines the size, in bytes, of the representation of a multibyte character.
This function is equivalent to the call mbrtowc(nullptr, s, n, ps?ps: