%S %C vfprintf contribution

Artem B. Bityuckiy abitytsky@softminecorp.com
Fri Oct 31 17:43:00 GMT 2003


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 

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

Best regards,
Artem B. Bityuckiy
SoftMine Corporation, Software Engineer
Tel.: +7(812)329-67-44, +7(812)329-67-45
Mobile: +79112449030
E-mail: abitytsky@softminecorp.com
Web: www.softminecorp.com

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vfprintf.diff
URL: <http://sourceware.org/pipermail/newlib/attachments/20031031/eb7b912b/attachment.ksh>

More information about the Newlib mailing list