This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Available RAM?
On Tue, Aug 24, 2004 at 03:17:29PM +0200, Jakob Kjaer wrote:
> Hi!
>
> I've not succeeded to find any function to return the size of the largest
> availabe RAM block. Does such a function exist?
Do you mean on the heap? Take a look at mallinfo(). The malloc4.cxx
test program shows how to use it.
> PS: Have anyone ported GNUchess (or another _free_ chess-engine) to eCos?
> It's for our chess-in-space program ;-)
Not that anybody has admitted to as far as i know.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss