[Icc-avr] csscanf return value
Comlink AB - Fredrik Reinodt
fredrik.reinodt at comlink.se
Fri Apr 4 04:11:25 PST 2008
Hi
I have a problem using csscanf() to parse incomming strings.
It seems to me that the return value isn't the number of matched
and assigned items, as described in standard C documentation for
sscanf() (ImageCraft documentation says nothing about the return value).
Looking in the C:\iccv7avr\libsrc.avr\libsrc library, I can see that
_scanf() and cscanf() returns the variable 'converted', but
csscanf() returns some pointer arithmetic (p - buf, I guess it's
the number of read characters).
Is that difference done on purpose, or is it a bug.
Best regards
/Fredrik Reinodt
More information about the Icc-avr
mailing list