Commit 86d4db21 authored by Michał Kazior's avatar Michał Kazior
Browse files

wchar: implement wcstoul_l

This is similar to strtoll_l() in a way it ignores
the locale_t argument and uses the global locale
Signed-off-by: Michał Kazior's avatarMichal Kazior <>
parent 338ea5e9
......@@ -103,3 +103,14 @@ long int __wcstol_internal(const wchar_t *nptr, wchar_t **endptr, int base,
assert(group == 0);
return wcstol(nptr, endptr, base);
* Convert a wide-character string to an unsigned long int.
* Some day, when musl supports LC_NUMERIC, we can probably remove this.
unsigned long int wcstoul_l(const wchar_t *nptr, wchar_t **endptr,
int base, locale_t loc)
return wcstoul(nptr, endptr, base);
Supports Markdown
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