diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-03-01 23:24:45 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-03-01 23:24:45 -0500 |
commit | e0614f7cd418afedd06c9bcd5abb965608bc52f8 (patch) | |
tree | b4b51646b9f65279caa01c3413e42060fe95c395 /src/locale | |
parent | 899b13cae77469a9ed1f076c456b66d567af69d8 (diff) | |
download | musl-e0614f7cd418afedd06c9bcd5abb965608bc52f8.tar.gz musl-e0614f7cd418afedd06c9bcd5abb965608bc52f8.tar.bz2 musl-e0614f7cd418afedd06c9bcd5abb965608bc52f8.tar.xz musl-e0614f7cd418afedd06c9bcd5abb965608bc52f8.zip |
add all missing wchar functions except floating point parsers
these are mostly untested and adapted directly from corresponding byte
string functions and similar.
Diffstat (limited to 'src/locale')
-rw-r--r-- | src/locale/wcscoll_l.c | 6 | ||||
-rw-r--r-- | src/locale/wcsxfrm_l.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/locale/wcscoll_l.c b/src/locale/wcscoll_l.c new file mode 100644 index 00000000..f257ec8d --- /dev/null +++ b/src/locale/wcscoll_l.c @@ -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); +} diff --git a/src/locale/wcsxfrm_l.c b/src/locale/wcsxfrm_l.c new file mode 100644 index 00000000..831998e9 --- /dev/null +++ b/src/locale/wcsxfrm_l.c @@ -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); +} |