[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] 1.4.5 question
From: |
Steve Franks |
Subject: |
[avr-libc-dev] 1.4.5 question |
Date: |
Fri, 29 Dec 2006 16:25:52 -0700 |
Howdy,
I see:
" The macro
fdev_setup_stream()<http://www.nongnu.org/avr-libc/user-manual/group__avr__stdio.html#gf41f158c022cbb6203ccd87d27301226>is
provided to prepare a user-supplied FILE buffer for operation with
stdio.
If floating-point operation is desired, a user-supplied buffer can as well
be passed for the internal buffering for the floating-point numbers (and
processing of %[ scanf data)."
has appeared in the libc docs. I was wondering about the "as well ... for
the internal buffering" part - this is new, no? I seem to be having malloc
issues with sscanf(%f), so now is a good time for me to get rid of malloc
anyway, as our code is not using it. I read pretty much all the related
items I could find in the libc manual, and saw no mention of how this might
be done. I presume the fdev_setup stream examples are just for the uart
i/o, and not for the floating point buffer - right?
Thanks as always,
Steve
--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-dev] 1.4.5 question,
Steve Franks <=