[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printf for gnulib?

From: Gary V. Vaughan
Subject: Re: Printf for gnulib?
Date: Mon, 19 Feb 2007 16:59:02 -0700

Hi Bruce, Paolo,

On 19 Feb 2007, at 16:53, Bruce Korb wrote:
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.  :)

That sounds like a splendid idea!  I'll even have some time to spend
on it starting next month.

  ())_.              Email me: address@hidden
  ( '/           Read my blog: http://blog.azazil.net
  / )=         ...and my book: http://sources.redhat.com/autobook
`(_~)_ Join my AGLOCO Network: http://www.agloco.com/r/BBBS7912

Attachment: PGP.sig
Description: This is a digitally signed message part

reply via email to

[Prev in Thread] Current Thread [Next in Thread]