delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/28/16:39:20

From: "Steve" <steve-c AT NOSPAM DOT bigfoot DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Standard Library
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <LI1S3.289$f5.12775@news2-hme0>
Date: Thu, 28 Oct 1999 20:29:43 +0100
NNTP-Posting-Host: 195.44.206.203
X-Trace: news2-hme0 941139883 195.44.206.203 (Thu, 28 Oct 1999 20:44:43 BST)
NNTP-Posting-Date: Thu, 28 Oct 1999 20:44:43 BST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

I am trying to write some heap monitoring utilities. For this I need to
modify the function "free" so that it returns an unsigned int, indicating
how many bytes have been freed on the heap.

Can someone tell me

1) Is this functionality held in libc.a

2) Which source file I need to download

3) How I should modify the code

4) Any other useful info,

By the way this is only for debug purposes,  I do not intending to leave the
code in a modified state.

TIA





- Raw text -


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