avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-libc-dev] no malloc in vfscanf or vfprintf?


From: Eric Weddington
Subject: RE: [avr-libc-dev] no malloc in vfscanf or vfprintf?
Date: Thu, 04 Jan 2007 09:54:53 -0700

Go ahead and sumbit a bug report on the documentation, that way we don't
forget the issue. Then one of us will go and double check the code. If the
docs need fixing then we'll do just that.

Thanks for catching this!

Eric Weddington 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Galen Seitz
> Sent: Thursday, January 04, 2007 9:24 AM
> To: address@hidden
> Subject: [avr-libc-dev] no malloc in vfscanf or vfprintf?
> 
> 
> The documentation at
>    http://www.nongnu.org/avr-libc/user-manual/group__avr__stdio.html
> 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.  Have I missed something, or should I submit a 
> bug on the 
> documentation?
> 
> thanks,
> galen
> 
> 
> 
> _______________________________________________
> AVR-libc-dev mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]