delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/27/17:34:17

From: Nate Eldredge <neldredge AT hmc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: cfree or free
Date: 27 Jun 2000 14:04:24 -0700
Organization: Posted via Supernews, http://www.supernews.com
Lines: 14
Sender: nate AT mercury DOT bitbucket
Message-ID: <834s6edeef.fsf@mercury.bitbucket>
References: <3958C7EF DOT 9B483332 AT uni-bremen DOT de>
X-Complaints-To: newsabuse AT supernews DOT com
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5
MIME-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Uwe Sydow <sydow AT uni-bremen DOT de> writes:

> Hi,
> whats the difference between cfree and free? 
> (besides ANSI or POSIX compatibility)

Traditionally cfree was used to free blocks returned by calloc; it
used a different algorithm than malloc/free.  These days they are the
same, or cfree may not even exist at all.

-- 

Nate Eldredge
neldredge AT hmc DOT edu

- Raw text -


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