musl-tcc/src/multibyte/mblen.c

7 lines
85 B
C

#include <stdlib.h>
int mblen(const char *s, size_t n)
{
return mbtowc(0, s, n);
}