blob: accf4b33150eeb865b377414001c0993123a1435 (
plain) (
blame)
1
2
3
4
5
6
7
|
#include <wchar.h>
size_t mbrlen(const char *restrict s, size_t n, mbstate_t *restrict st)
{
static unsigned internal;
return mbrtowc(0, s, n, st ? st : (mbstate_t *)&internal);
}
|