From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <10304241937.AA17457@clio.rice.edu> Subject: Re: nmalloc revisited To: djgpp-workers AT delorie DOT com Date: Thu, 24 Apr 2003 14:37:29 -0500 (CDT) In-Reply-To: <3EA82F6D.40414228@yahoo.com> from "CBFalconer" at Apr 24, 2003 02:39:41 PM X-Mailer: ELM [version 2.5 PL2] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > @example > #include > > struct mallinfo mallinfo(void); > @end example If this is true it's wrong - the current mallinfo structure is in stdlib.h On AIX, OSF1, and Solaris mallinfo lives in malloc.h; on djgpp malloc.h includes stdlib.h so it works for compatibility purposes. The elements in the structure in the current CVS mallinfo are identical to those other platforms - so we ought to keep it that way (a standard...) I'm not sure about the other functions currently documented as using malldbg - but if any of them are compatible with other platforms they should be in the same include file as the other platforms provide (probably not malldbg.h). I also see we don't provide mallopt (which appears to be in the same malloc.h on all 3 platforms I checked).