[ECOS] Meminfo

Deak, Ferenc ferenc.deak@stp.hu
Wed Oct 5 16:31:00 GMT 2005


On Wed, 5 Oct 2005 16:41:57 +0200
"Yegor Yefremov" <Yegor.Yefremov@Visionsystems.de> wrote:

> Hi,
> 
> I need to know at run-time, how much memory is free. In Linux one can
> open /proc/meminfo and get the free memory size. What can I do in eCos?
> 

Use the mallinfo() function. See mallinfo.h for mallinfo(), and struct mallinfo.

Best regads,
Ferenc Deak


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list