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

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

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


From: Galen Seitz
Subject: [avr-libc-dev] no malloc in vfscanf or vfprintf?
Date: Thu, 04 Jan 2007 08:23:45 -0800
User-agent: Thunderbird 1.5.0.9 (X11/20061222)


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





reply via email to

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