🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #909

Far heap available (Microsoft C 7.0)

#909
From: Ping Huang
Date: Fri, 14 Aug 1992 21:07
12 lines
1112 bytes
How do you find out how much free far heap you still have available? The
only function which looks like it even comes close is _memavl(), but
that only reports on the near heap. (I'm compiling for the large memory
model and using third-party libraries, ergo mostly using far heap.) I've
checked the documentation in QH, "Managing Memory in C" in the
Programming Techniques manual, and the function reference manuals but to
no avail. The non-orthogonality bothers me (there should be a _fmemavl).

--
| Ping Huang (INTERNET: pshuang@martigny.ai.mit.edu) speaking for himself.
| "One Thing to name them all, One Thing to define them,
|  One Thing to place them in environments and bind them..."
Technical Details
Message-ID: <PSHUANG.92Aug14170715@freeside.ai.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!mintaka.lcs.mit.edu!ai-lab!zurich.ai.mit.edu!pshuang

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!mintaka.lcs.mit.edu!ai-lab!zurich.ai.mit.edu!pshuang
From: pshuang@zurich.ai.mit.edu (Ping Huang)
Newsgroups: comp.os.msdos.programmer
Subject: Far heap available (Microsoft C 7.0)
Message-ID: <PSHUANG.92Aug14170715@freeside.ai.mit.edu>
Date: 14 Aug 92 21:07:15 GMT
Sender: news@ai.mit.edu
Distribution: comp
Organization: M.I.T. Artificial Intelligence Lab.
Lines: 12