This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Meminfo


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]