Ben Pfaff wrote:
Daniel Jacobowitz <address@hidden> writes:
Is there any interest in a full C99 printf in gnulib? Right now,
there's snprintf, vasnprintf, vasprintf, vsnprintf, and xvasprintf.
The problem with these is that they punt to the system's underlying
printf for some things. That's an issue e.g. with Windows's %I64d
versus %lld, and with C99 formats like %a.
I'd be very pleased to have a full C99 printf in gnulib, mainly
because I'm getting tired of not being able to write %zu to print
a size_t.
Hi Gary, Paolo,
OK Guys, shall we dust this "snprintfv" thing off, polish a bit and
hand off to the interested gnulib folks? :) It'd be nice to have it
have first class support. Heck, I'd like to see some of the add-on
interfaces made more widely available anyway. :)