aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-12-05 01:36:32 +0000
committerJeff Johnston <jjohnstn@redhat.com>2003-12-05 01:36:32 +0000
commit3aca088831db311523415d156bbaafee3d9ec6f2 (patch)
tree73b0ef2a76668d355165005938e88abc7195e855 /newlib
parent0444b90fcd4ea7267d955722b0c1ef6f420cca29 (diff)
downloadnewlib-3aca088831db311523415d156bbaafee3d9ec6f2.zip
newlib-3aca088831db311523415d156bbaafee3d9ec6f2.tar.gz
newlib-3aca088831db311523415d156bbaafee3d9ec6f2.tar.bz2
2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/wchar.h: Add prototypes for _mbrtowc_r, _wcrtomb_r, and _wcsrtombs_r.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/wchar.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 3a25738..2d09818 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
+ _wcrtomb_r, and _wcsrtombs_r.
+
2003-12-01 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/fcntl.h: Don't define struct flock when on
diff --git a/newlib/libc/include/wchar.h b/newlib/libc/include/wchar.h
index 9e89537..d532b9c 100644
--- a/newlib/libc/include/wchar.h
+++ b/newlib/libc/include/wchar.h
@@ -42,10 +42,15 @@ wint_t _EXFUN(btowc, (int));
int _EXFUN(wctob, (wint_t));
size_t _EXFUN(mbrlen, (const char * , size_t, mbstate_t *));
size_t _EXFUN(mbrtowc, (wchar_t * , const char * , size_t, mbstate_t *));
+size_t _EXFUN(_mbrtowc_r, (struct _reent *, wchar_t * , const char * ,
+ size_t, mbstate_t *));
int _EXFUN(mbsinit, (const mbstate_t *));
size_t _EXFUN(mbsrtowcs, (wchar_t * , const char ** , size_t, mbstate_t *));
size_t _EXFUN(wcrtomb, (char * , wchar_t, mbstate_t *));
+size_t _EXFUN(_wcrtomb_r, (struct _reent *, char * , wchar_t, mbstate_t *));
size_t _EXFUN(wcsrtombs, (char * , const wchar_t ** , size_t, mbstate_t *));
+size_t _EXFUN(_wcsrtombs_r, (struct _reent *, char * , const wchar_t ** ,
+ size_t, mbstate_t *));
wchar_t *_EXFUN(wcscat, (wchar_t * , const wchar_t *));
wchar_t *_EXFUN(wcschr, (const wchar_t *, wchar_t));
int _EXFUN(wcscmp, (const wchar_t *, const wchar_t *));