🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #1262

Re: malloc

#1262
From: Howard Hinnant
Date: Sat, 31 Mar 2001 00:01
12 lines
1783 bytes
In article <geek-3003011453120001@192.168.1.3>, Steve
<geek@geeksrus.com> wrote:

| So does the MW malloc make sure that everything is page aligned, and does
| calloc do the zeroing down in the VM layer?

The alignment for malloc is currently at 16 bytes.  calloc simply calls
memset on the block of memory.

-- 
Howard Hinnant
Metrowerks
Technical Details
Message-ID: <300320011903478930%hinnant@antispam.metrowerks.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!howland.erols.net!newsfeed.skycache.com!Cidera!cyclone-0.nyroc.rr.com!cyclone-out.nyroc.rr.com!typhoon.nyroc.rr.com.POSTED!not-for-mail
References: <geek-3003011104050001@192.168.1.3> <macdev-B358A3.15145230032001@senator-bedfellow.mit.edu> <geek-3003011453120001@192.168.1.3>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,f25b8fe85dff6cc0
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,f25b8fe85dff6cc0
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2001-03-30 16:06:01 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!howland.erols.net!newsfeed.skycache.com!Cidera!cyclone-0.nyroc.rr.com!cyclone-out.nyroc.rr.com!typhoon.nyroc.rr.com.POSTED!not-for-mail
Subject: Re: malloc
From: Howard Hinnant <hinnant@antispam.metrowerks.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Message-ID: <300320011903478930%hinnant@antispam.metrowerks.com>
References: <geek-3003011104050001@192.168.1.3> <macdev-B358A3.15145230032001@senator-bedfellow.mit.edu> <geek-3003011453120001@192.168.1.3>
Organization: Metrowerks
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8bit
Mail-Copies-To: nobody
User-Agent: Thoth/1.1.0 (Carbon/OS X)
X-Face: )mY~XFHLw)UOW!W#[Ljvxq6Ja7(g'#F0-g*&puNxR8hEJkd@Oue/70^.)I78\
        (%a%&Id211u"l/t.llWo/M|?15XUlx9!IGkdWiEmcasiyg"k;Q9[~XuE+`t2"*n(>nmm
        @L/q,TjMd5+H{gASEPDR^$
Lines: 12
Date: Sat, 31 Mar 2001 00:01:15 GMT
NNTP-Posting-Host: 24.24.13.166
X-Complaints-To: abuse@twcny.rr.com
X-Trace: typhoon.nyroc.rr.com 985996875 24.24.13.166 (Fri, 30 Mar 2001 19:01:15 EST)
NNTP-Posting-Date: Fri, 30 Mar 2001 19:01:15 EST