malloc

Sergei Organov osv@topconrd.ru
Mon Feb 9 16:53:00 GMT 2004


"Artem B. Bityuckiy" <abityuckiy@yandex.ru> writes:

> Hello.
> 
> Can anybody give me a hint how to get Heap size *when using Newlib*. There is
> no such POSIX call. I need some hack to be shure that my program doesn't eat
> memory.

I guess malloc_stats()/mallinfo() could help.

-- 
Sergei.




More information about the Newlib mailing list