123456789101112131415161718192021222324252627282930313233343536373839 |
- #include <wchar.h>
- size_t
- mbrlen(const char * __restrict s, size_t n, mbstate_t * __restrict ps)
- {
- static mbstate_t mbs;
- if (ps == NULL)
- ps = &mbs;
- return (mbrtowc(NULL, s, n, ps));
- }
|