summaryrefslogtreecommitdiff
path: root/src/multibyte/mblen.c
blob: a4304bf5ada91fcde676e2da33f33520a880ad8a (plain)
1
2
3
4
5
6
#include <stdlib.h>

int mblen(const char *s, size_t n)
{
	return mbtowc(0, s, n);
}