| Deutsch English Français Italiano |
|
<ven3mo$11b4$1@gal.iecc.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail From: John Levine <johnl@taugh.com> Newsgroups: comp.arch Subject: Re: C and turtles, 80286 protected mode Date: Wed, 16 Oct 2024 01:08:40 -0000 (UTC) Organization: Taughannock Networks Message-ID: <ven3mo$11b4$1@gal.iecc.com> References: <2024Oct6.150415@mips.complang.tuwien.ac.at> <3f2cb127c8d5dc2381fc80631a495e3e@www.novabbs.org> <8HBPO.471560$_o_3.464389@fx17.iad> <d8cffb389b3fd055ee70e87da9a3403a@www.novabbs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 16 Oct 2024 01:08:40 -0000 (UTC) Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="34148"; mail-complaints-to="abuse@iecc.com" In-Reply-To: <2024Oct6.150415@mips.complang.tuwien.ac.at> <3f2cb127c8d5dc2381fc80631a495e3e@www.novabbs.org> <8HBPO.471560$_o_3.464389@fx17.iad> <d8cffb389b3fd055ee70e87da9a3403a@www.novabbs.org> Cleverness: some X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: johnl@iecc.com (John Levine) Bytes: 1934 Lines: 16 According to MitchAlsup1 <mitchalsup@aol.com>: >The paragraaph with 3 >'s indicates malloc() cannot be written >in std. C. It used to be written in std. K&R C. I am not asking >if it is still in the std libraries, I am asking what happened >to make it impossible to write malloc() in std. C ?!? It's easy enough to write malloc() in standard C if your flavor of the standard includes a way to ask the operating system for heap space. Back in the old days it was sbrk(). Now it's mmap(MAP_ANON). But I would be quite surprised if either of those ever made it into any version of standard C. -- Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly