Mail Archives: djgpp/1992/11/09/07:24:56
I just stumbled upon a thought:
I vaguely remember that a malloc-call just
allocates the memory internally but doesn't do anything
about it. Does that mean that malloc returns successfully
even though there may be no swap space for it?
(meaning: does GO32 allocate swap space for rquested memory
if there's no RAM left?) In consequence, if so, would that
mean there's no safe way to check if memory allocation is
possible at all?
If this is stupid, just > /dev/nul
Cheers :-> Chipsy
- Raw text -