delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/25/03:55:15

Message-ID: <3632AF88.28462E72@geocities.com>
From: Sahab Yazdani <sahaby AT geocities DOT com>
X-Mailer: Mozilla 4.5b2 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Amount of free memory to application...
Lines: 35
Date: Sat, 24 Oct 1998 23:56:40 -0500
NNTP-Posting-Host: 209.148.143.8
X-Complaints-To: abuse AT sprint DOT ca
X-Trace: HME2.newscontent-01.sprint.ca 909288405 209.148.143.8 (Sun, 25 Oct 1998 00:06:45 EDT)
NNTP-Posting-Date: Sun, 25 Oct 1998 00:06:45 EDT
Organization: Sprint Canada Inc.
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Well first of all I'd like to thank everybody for their help with my
previous problems... now down to the real matters...

I'd like to know if I can see the amount of free memory that is
available to the application that I'm writing.  For instance in Watcom I
could do this:

void main() {
// Non-Important Code
	printf("Amount of Free Memory: %dK\n",_memmax());
// Non-Important Code
}

or something along those lines,  is there any such function in DJGPP?

its not really important, move that I just want to know if its possible
(and where other software developers get their info from :=) ).

Coming Soon...  Questions on Controlling Game Speed

\\||||||||||||||||//
-                  -
-     Applause     -
-                  -
//||||||||||||||||\\

lol.  end.
-- 
**********************************************************************
* Sahab Yazdani              *    Let the Dragon ride again on the   *
* Thornhill Secondary School *     winds of Time - Wheel of Time     *
**********************************************************************
* http://www.geocities.com/TimesSquare/Bunker/8994/index.html        *
* Click the link to visit my portion of The Neverhood                *
**********************************************************************

- Raw text -


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