snprintf and malloc

Trampas Stern trampas@gmail.com
Tue Dec 5 21:05:00 GMT 2017


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
>
>



More information about the Newlib mailing list