OSDN Git Service

2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
authorjjohnstn <jjohnstn>
Fri, 5 Dec 2003 01:36:32 +0000 (01:36 +0000)
committerjjohnstn <jjohnstn>
Fri, 5 Dec 2003 01:36:32 +0000 (01:36 +0000)
        * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
        _wcrtomb_r, and _wcsrtombs_r.

newlib/ChangeLog
newlib/libc/include/wchar.h

index 3a25738..2d09818 100644 (file)
@@ -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
index 9e89537..d532b9c 100644 (file)
@@ -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 *));