🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #446

MSC replacement for coreleft()

#446
From: lqyy
Date: Thu, 18 Jan 1990 14:22
11 lines
838 bytes
Does anyone have a simple Microsoft C replacement for the coreleft()
function supplied by Turbo C?  _memavl only returns available
memory left n the default data segment, so it won't work on the
large model.  Coreleft() works in all memory models.  I am
not really interested in one of those "try malloking larger and 
larger amounts till it fails" solutions because MSC large model
does not free memory very efficiently (if at all).

Julian Humphries
lqyy@vax5.cit.cornell.edu
lqyy@crnlvax5.bitnet
Technical Details
Message-ID: <19721@vax5.CIT.CORNELL.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!vax5!lqyy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!vax5!lqyy
From: lqyy@vax5.CIT.CORNELL.EDU
Newsgroups: alt.msdos.programmer
Subject: MSC replacement for coreleft()
Message-ID: <19721@vax5.CIT.CORNELL.EDU>
Date: 18 Jan 90 14:22:53 GMT
Sender: news@vax5.CIT.CORNELL.EDU
Lines: 11
Keywords: MSC coreleft memavl