[Top][All Lists]
[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
- [avr-gcc-list] Resetting the chip from software to hook the bootloader, Mike van Meeteren, 2004/04/01
- Re: [avr-gcc-list] Resetting the chip from software to hook the bootloader, Geoffrey Wossum, 2004/04/01
- [avr-gcc-list] sprintf field width specifiers?,
Douglas Dotson <=
- [avr-gcc-list] Trouble with floating point formatting., Douglas Dotson, 2004/04/02
- Re: [avr-gcc-list] Trouble with floating point formatting., Mike Panetta, 2004/04/02
- Re: [avr-gcc-list] Trouble with floating point formatting., Douglas Dotson, 2004/04/02
- [avr-gcc-list] WinAVR 20040404 Released, Colin O'Flynn, 2004/04/02
- [avr-gcc-list] Re: WinAVR 20040404 Released, Volkmar Dierkes, 2004/04/03
- Re: [avr-gcc-list] Re: WinAVR 20040404 Released, E. Weddington, 2004/04/05
- [avr-gcc-list] Trouble with floating point formatting., Douglas Dotson, 2004/04/02