summaryrefslogtreecommitdiffstats
path: root/libc/include/wchar.h
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2009-11-10 12:15:33 -0800
committerDan Bornstein <danfuzz@android.com>2009-11-10 12:15:33 -0800
commit03c643b493d0d6e4385fe5a33d33d2cb945493d2 (patch)
tree409dfcce50223b11168fb23383bfb9618ab65878 /libc/include/wchar.h
parentb152dde4cafffb3b37ca60c589f71110ca988c79 (diff)
downloadbionic-03c643b493d0d6e4385fe5a33d33d2cb945493d2.zip
bionic-03c643b493d0d6e4385fe5a33d33d2cb945493d2.tar.gz
bionic-03c643b493d0d6e4385fe5a33d33d2cb945493d2.tar.bz2
Add stdlib functions mbstowcs() and wcstombs().
As with the other wchar functions in Bionic, these are really minimally functional stubs. Change-Id: I805bc5642e7bc22d9d730cfc18f9fb4a5f164416
Diffstat (limited to 'libc/include/wchar.h')
-rw-r--r--libc/include/wchar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/include/wchar.h b/libc/include/wchar.h
index e2feb60..97e1b5c 100644
--- a/libc/include/wchar.h
+++ b/libc/include/wchar.h
@@ -100,6 +100,7 @@ extern int mbsinit(const mbstate_t *);
extern size_t mbrlen(const char *, size_t, mbstate_t *);
extern size_t mbrtowc(wchar_t *, const char *, size_t, mbstate_t *);
extern size_t mbsrtowcs(wchar_t *, const char **, size_t, mbstate_t *);
+extern size_t mbstowcs(wchar_t *, const char *, size_t);
extern wint_t putwc(wchar_t, FILE *);
extern wint_t putwchar(wchar_t);
extern int swprintf(wchar_t *, size_t, const wchar_t *, ...);
@@ -130,6 +131,7 @@ extern wchar_t *wcsstr(const wchar_t *, const wchar_t *);
extern double wcstod(const wchar_t *, wchar_t **);
extern wchar_t *wcstok(wchar_t *, const wchar_t *, wchar_t **);
extern long int wcstol(const wchar_t *, wchar_t **, int);
+extern size_t wcstombs(char *, const wchar_t *, size_t);
extern unsigned long int wcstoul(const wchar_t *, wchar_t **, int);
extern wchar_t *wcswcs(const wchar_t *, const wchar_t *);
extern int wcswidth(const wchar_t *, size_t);