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