home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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..."
-