avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] sprintf field width specifiers?


From: Douglas Dotson
Subject: [avr-gcc-list] sprintf field width specifiers?
Date: Thu, 1 Apr 2004 20:22:27 -0800 (PST)

I'm trying the following:

 sprintf (buffer, "%*d", width, data);

It appears that the * modifier is not supported to
allow variable width fields to be specified. Also,
negative values of "width" should produce a left
justified output.

Is this not supported in the avr-gcc library?

Doug


_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list


reply via email to

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