This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Adding mbstate_t, mbsinit(), mbrtowc(), mbrlen() etc.
- From: egor duda <deo at logos-m dot ru>
- To: Thomas Fitzsimmons <fitzsim at redhat dot com>
- Cc: newlib at sources dot redhat dot com
- Date: Fri, 23 Aug 2002 18:59:29 +0400
- Subject: Re: Adding mbstate_t, mbsinit(), mbrtowc(), mbrlen() etc.
- Organization: deo
- References: <11136805543.20020822215050@logos-m.ru><1030042210.28866.26.camel@toggle>
- Reply-to: egor duda <newlib at sources dot redhat dot com>
Hi!
Thursday, 22 August, 2002 Thomas Fitzsimmons fitzsim@redhat.com wrote:
TF> On Thu, 2002-08-22 at 13:50, egor duda wrote:
>> Hi!
>>
>> I'm preparing a patch to add restartable versions of multibyte
>> conversion functions to newlib. As long as all state information is
>> already handled by *_r() versions, this functions are just simple
>> wrappers around foo() of foo_r() functions, depending on MB_CAPABLE.
>>
TF> This is funny timing... I'm going to commit a (likely) very similar
TF> patch today.
Great! :)
TF> Let me know if there's something else you need once the patch is checked
TF> in.
Are wmem* in queue too?
If there's no need to implement them in assembly on per-target basis,
like mem*, i think a can add them.
Having assembly implementation would require distinguishing exact
targets, not only processor part, as wchar_t has different sizes for
different targets.
Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19