summaryrefslogtreecommitdiffstats
path: root/libc/docs
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-06-14 17:18:35 -0700
committerDavid 'Digit' Turner <digit@google.com>2010-06-15 07:04:41 -0700
commit3527fd6f0df794207215790321824b7844cc712d (patch)
treebf295d17cdd7dfccd75ec314e02f93d3e1cd125a /libc/docs
parentda3019b55305ce51b1b483d8727641e791ce0941 (diff)
downloadbionic-3527fd6f0df794207215790321824b7844cc712d.zip
bionic-3527fd6f0df794207215790321824b7844cc712d.tar.gz
bionic-3527fd6f0df794207215790321824b7844cc712d.tar.bz2
wchar.h: improve wchar_t support in Bionic
Change-Id: Iffd41046fd0933c66542abf7627a1569522dfcb2
Diffstat (limited to 'libc/docs')
-rw-r--r--libc/docs/CHANGES.TXT25
1 files changed, 25 insertions, 0 deletions
diff --git a/libc/docs/CHANGES.TXT b/libc/docs/CHANGES.TXT
index b57e87a..0eae752 100644
--- a/libc/docs/CHANGES.TXT
+++ b/libc/docs/CHANGES.TXT
@@ -21,6 +21,31 @@ Differences between current and Android 2.2:
- <unistd.h>: add missing declaration for truncate(). The implementation
was already here since Android 1.5.
+- <wchar.h>: small fixes to really support wchar_t in Bionic (not there yet).
+
+ the size of wchar_t is still 32-bit (decided by the compiler)
+
+ WCHAR_MIN: changed from 0 to INT_MIN
+ WCHAR_MAX: changed from 255 to INT_MAX
+
+ wcpcpy(), wcpncpy(), wcscat(), wcschr(), wcscmp(),
+ wcscpy(), wcscspn(), wcsdup(), wcslcat(), wcslcpy(),
+ wcslen(), wcsncat(), wcsncmp(), wcsncpy(), wcsnlen(),
+ wcspbrk(), wcsrchr(), wcsrchr(), wcsspn(), wcsstr(),
+ wcstok(), wcswidth(), wmemchr(), wmemcmp(), wmemcpy(),
+ wmemmove(), wmemset(): Added proper implementations.
+
+ wcscasecmp(), wcsncasecmp(): Added implementation limited
+ to ASCII codes for lower/upper.
+
+ wcscoll(): added dummy implementation that calls wcscmp()
+ wcsxfrm(): added dummy implementation that calls wcsncpy()
+
+ NOTE: Technically, this breaks the ABI, but we never claimed to support
+ wchar_t anyway. The wchar_t support is still *NOT* official at this
+ point. We need better multi-byte support code, and wprintf/wscanf
+ stuff too.
+
-------------------------------------------------------------------------------
Differences between Android 2.2. and Android 2.1: