delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/17/05:04:35

From: Waldemar Schultz <schultz AT ma DOT tum DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: alternative malloc
Date: Mon, 17 Apr 2000 10:38:50 +0200
Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany)
Lines: 18
Message-ID: <38FACD9A.7C2328B7@ma.tum.de>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000416105208 DOT 2482l-100000 AT is>
NNTP-Posting-Host: pcritter10.mathematik.tu-muenchen.de
Mime-Version: 1.0
X-Trace: wsc10.lrz-muenchen.de 955960739 23527 131.159.69.74 (17 Apr 2000 08:38:59 GMT)
X-Complaints-To: news AT lrz-muenchen DOT de
NNTP-Posting-Date: 17 Apr 2000 08:38:59 GMT
X-Mailer: Mozilla 4.7 [de] (Win98; I)
X-Accept-Language: de,en,en-US
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii schrieb:
> 
> On Sat, 15 Apr 2000, OiSyN wrote:
> 
> > Is there an easy way to replace DJGPP's malloc with your own one?
> > With an easy way I mean a way without changing stdlib...
> 
> If your program has replacements for malloc, free, and realloc, then
> the linker will use them instead of the versions in the library.
> 
> But you *must* implement all the 3 functions, since the library
> version has them all on a single module.

and what about 'strdup' (? etc.)
-- 
 Gruss Waldemar Schultz.
 Technische Universität München, Zentrum Mathematik M1, D 80290 München
 Tel: +49 (0)89 2892 8226        FAX: +49 (0)89 2892 8228

- Raw text -


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