Mail Archives: djgpp/1997/03/10/06:56:31
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
- Raw text -