Commit cca99e84 authored by Patrycja Rosa's avatar Patrycja Rosa
Browse files

wchar: add __mbrlen

parent 5bd1f89a
#include <assert.h> /* assert */
#include <stdarg.h> /* va_list, va_start, va_end */
#include <stddef.h> /* size_t */
#include <wchar.h> /* wchar_t, *wprintf */
#include <wchar.h> /* wchar_t, *wprintf, mbstate_t */
int __vswprintf_chk(wchar_t *s, size_t n, int flag, size_t slen,
const wchar_t *format, va_list ap);
......@@ -135,3 +135,8 @@ double wcstod_l(const wchar_t *nptr, wchar_t **endptr, locale_t loc)
return wcstod(nptr, endptr);
size_t __mbrlen(const char *restrict s, size_t n, mbstate_t *restrict st) {
return mbrlen(s, n, st);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment