www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/11/09/07:24:56

Date: Mon, 9 Nov 92 13:14:37 +0100
From: ms AT informatik DOT uni-hannover DOT de (Michael Sperber)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Memory allocation under Go32

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019