This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: %S %C vfprintf contribution


Artem B. Bityuckiy wrote:

Hello.

Here is the patch that makes vfprintf (and hence, all other vfprintf-based Xprintf functions) understand ISO C 90 %S (same as %ls) and %C (same as %lc) format placeholders. Please, review it and give us know if something is wrong.

This is tested a little bit- it works and it seems should work with any locale if wcrtomb and wcsrtomb functions work.


I believe the preferred patch type is unidiff or `diff -up`.


Cheers,
Nicholas



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]