This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: snprintf and malloc


Thanks!

It looks like the best option is to implement my own snprintf() and avoid
using newlib's.

Trampas

On Tue, Dec 5, 2017 at 12:21 PM, Dave Nadler <drn@nadler.com> wrote:

> On 12/5/2017 11:51 AM, Trampas Stern wrote:
>
> I was using snprintf() and was shocked to find it called malloc(), is there
> a version that does not, or will I need to write my own version?
>
> Hi Trampas - If you're doing embedded you might find this helpful:
> http://www.nadler.com/embedded/newlibAndFreeRTOS.html
> Hope that helps!
> Best Regards, Dave
>
> --
> Dave Nadler, USA East Coast voice (978) 263-0097, drn@nadler.com, Skype
>  Dave.Nadler1
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]