This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: snprintfv 1.1 pre-release
- From: "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: jlquinn at optonline dot net, Paolo Carlini <pcarlini at unitus dot it>, bkorb at gnu dot org, GCC Development <gcc at gcc dot gnu dot org>
- Date: Thu, 24 Jul 2003 17:34:36 +0100 (BST)
- Subject: Re: snprintfv 1.1 pre-release
- References: <001101c351f8$a10144a0$0315623e@philo>
On Thu, 24 Jul 2003, Paolo Bonzini wrote:
> * there is support for width/precision positional parameters (%NNN$s was
> supported in 1.0 too), like
>
> printf ("%2$*1$s", "fubar", -10);
This, of course, being an erroneous example, taking "fubar" as the width
and -10 as the string to be formatted.
--
Joseph S. Myers
jsm@polyomino.org.uk