Date: Mon, 10 Mar 1997 08:30:20 -0500 Message-Id: <199703101330.IAA24767@delorie.com> From: DJ Delorie To: ao950 AT FreeNet DOT Carleton DOT CA CC: djgpp AT delorie DOT com In-reply-to: <5g0ao0$sjl@freenet-news.carleton.ca> (ao950@FreeNet.Carleton.CA) Subject: Re: __djgpp_base_address > * What is sbrk()? It sounds like the "malloc behind malloc"... as in, the > routine to allocate more heap from the kernel or DPMI host, rather than to > allocate more for the app from the heap. Again, the Lexicon talks about what the "break" is. sbrk() obtains memory from the OS (and can release it, also) - but it only gets one large chunk. The purpose of malloc() is to work with that chunk to give the program what it needs.