Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!poly-vlsi!siegfried.vlsi.polymtl.ca!pierreg From: pierreg@siegfried.vlsi.polymtl.ca (Pierre Girard (Cerbere)) Newsgroups: comp.lang.c Subject: Re: Just a little question Message-ID: Date: 16 Apr 91 02:33:57 GMT References: <1276@sicsun.epfl.ch> Sender: news@vlsi.polymtl.ca (USENET News System) Organization: Ecole Polytechnique de Montreal, Canada Lines: 18 In-Reply-To: stauffer@masg1.epfl.ch's message of 11 Apr 91 07:57:13 GMT > Hello, > I just want to know if there is a function which returns the > amount of free dynamic memory ? None that i know of on UNIX, on PCs and turbo C there is coreleft and farcoreleft. Of course you can implement an inefficient one by allocating blocks 'till malloc tells youy there ain't no space left. -- ___ ___ ___ ___ ___ ___ ___ / /__ /__/ /__/ /__ /__/ /__ /__ /__ / \ /__/ /___ / \ /___ Pierre Girard, Ecole Polytechnique de Montreal, Quebec, Canada. pierreg@info.polymtl.ca pierreg@crt.umontreal.ca