[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] sscanf
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] sscanf |
Date: |
Fri, 12 Aug 2005 07:00:46 +0200 |
User-agent: |
Mutt/1.4.2.1i |
As Darcy Watkins wrote:
> The return value should be the number of fields assigned (and not
> count those with assignment suppressed).
That half-sentence in the brackets is your own though. I wish the
standard had that explicit wording. But it appears you are right,
it's the number of assignments that ought to be returned, not the
number of successful conversions.
> This behaviour is observed in both the minimalist and floating scanf
> libraries.
Sure, there's no reason why they would be different.
Please open a bug report for this at
https://savannah.nongnu.org/bugs/?group=avr-libc
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)