From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Newsgroups: comp.os.msdos.djgpp Subject: Re: __djgpp_base_address Date: 10 Mar 1997 06:46:24 GMT Organization: The National Capital FreeNet Message-ID: <5g0ao0$sjl@freenet-news.carleton.ca> References: <199703051831 DOT MAA141402 AT audumla DOT students DOT wisc DOT edu> <332200de DOT SANDMANN AT clio DOT rice DOT edu> Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) NNTP-Posting-Host: freenet3.carleton.ca Lines: 21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Two questions: * This seems to say that something like this won't work: char *the_ptr; the_ptr=malloc(the_size); _go32_lock_data_memory(the_ptr,size); (syntax? not sure) because later the data may find itself moved somewhere (despite being locked?) while the locked memory stays put? * 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. -- .*. Where feelings are concerned, answers are rarely simple [GeneDeWeese] -() < When I go to the theater, I always go straight to the "bag and mix" `*' bulk candy section...because variety is the spice of life... [me] Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh