This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: snprintfv 1.1 pre-release


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


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