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

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

[avr-libc-dev] [bug #18688] vfscanf and vfprintf don't use malloc


From: anonymous
Subject: [avr-libc-dev] [bug #18688] vfscanf and vfprintf don't use malloc
Date: Thu, 04 Jan 2007 17:28:42 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.9) Gecko/20061222 CentOS/1.5.0.9-0.1.el4.centos4 Firefox/1.5.0.9

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: address@hidden
             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/





reply via email to

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