add all missing wchar functions except floating point parsers

these are mostly untested and adapted directly from corresponding byte
string functions and similar.
This commit is contained in:
Rich Felker 2012-03-01 23:24:45 -05:00
commit e0614f7cd4
12 changed files with 98 additions and 0 deletions

6
src/locale/wcscoll_l.c Normal file
View file

@ -0,0 +1,6 @@
#include <wchar.h>
int wcscoll_l(const wchar_t *l, const wchar_t *r, locale_t locale)
{
return wcscoll(l, r);
}

6
src/locale/wcsxfrm_l.c Normal file
View file

@ -0,0 +1,6 @@
#include <wchar.h>
size_t wcsxfrm_l(wchar_t *dest, const wchar_t *src, size_t n, locale_t locale)
{
return wcsxfrm(dest, src, n);
}