set AD bit in dns queries, suppress for internal use
[musl.git] / src / multibyte / mbrlen.c
blobaccf4b33150eeb865b377414001c0993123a1435
1 #include <wchar.h>
3 size_t mbrlen(const char *restrict s, size_t n, mbstate_t *restrict st)
5 static unsigned internal;
6 return mbrtowc(0, s, n, st ? st : (mbstate_t *)&internal);