URL:
<http://savannah.nongnu.org/bugs/?18688>
Summary: vfscanf and vfprintf don't use malloc
Project: AVR C Runtime Library
Submitted by: None
Submitted on: Thursday 01/04/2007 at 17:28 UTC
Category: Documentation
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: None
Originator Email: [EMAIL PROTECTED]
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
The documentation for stdio says
"By default, fdevopen() as well as the floating-point versions of the printf
and scanf family require malloc()."
Looking at the version 1.4.5 source code for vfscanf and vfprintf, it appears
that the floating point buffers are local variables, and malloc is not used.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?18688>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev