[ECOS] Meminfo
Deak, Ferenc
ferenc.deak@stp.hu
Wed Oct 5 16:40:00 GMT 2005
On Wed, 5 Oct 2005 18:33:48 +0200
"Deak, Ferenc" <ferenc.deak@stp.hu> wrote:
> 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.
Sorry these are in stdlib.h (mallinfo.h is my internal header for using mallinfo()...)
--
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