sprintf without realloc?

Darin Johnson chezdj@earthlink.net
Mon Sep 25 20:50:00 GMT 2006


>I'm doing something using newlib, but I'm precluded from using any of
>the *alloc functions, due to standards I must observe.

You can write your own *alloc functions that are just wrappers
that call the actual allocation routines you need to use.   If you've
got C++, you might want to create your own "new" allocator as well.
I think it's somewhat common for people to do this.

--
Darin Johnson



More information about the Newlib mailing list