Re: malloc() implementation



Richard Tobin wrote:
In article <jue0l3xomr.ln2@xxxxxxxxxxxxxxxxxxxxxxx>,
Flash Gordon <spam@xxxxxxxxxxxxxxxxxx> wrote:

Read C Programming Kerninghan & Ritchie you will get the idea.

Get the idea about what? Please provide context when responding, there is no guarantee that people can see the post you are replying to.

It's a good answer to almost every on-topic question in comp.lang.c,
so the context doesn't matter :-)

The standard and the FAQ are better answers ;-)

In any case, last time I looked I'm sure that K&R did not describe how to implement malloc which is what the subject line of this thread is..

It describes the implementation of a "rudimentary" storage allocator
as an example in the section on Address Arithmetic (5.4).

My reply was still technically accurate, I was sure of what I stated. It just happens that I was wrong to be sure of it ;-)
--
Flash Gordon, living in interesting times.
Web site - http://home.flash-gordon.me.uk/
comp.lang.c posting guidelines and intro:
http://clc-wiki.net/wiki/Intro_to_clc
.



Relevant Pages

  • Re: Escaping backslashes issue with printf/grep/popen!
    ... Flash Gordon wrote: ... Provide context, or do you think others provide context for the fun of it? ... vs what you should be passing. ...
    (comp.lang.c)
  • Re: functions
    ... mother tongue is not english.. ... please provide context when replying to a post. ... Flash Gordon ...
    (comp.lang.c)
  • Re: Prime numbers
    ... Search the group for instructions on how to get context in Google. ... Flash Gordon ... Living in interesting times. ...
    (comp.lang.c)
  • Re: malloc() implementation
    ... Richard Tobin wrote: ... Flash Gordon wrote: ... is no guarantee that people can see the post you are replying to. ...
    (comp.lang.c)
  • Re: malloc() implementation
    ... Flash Gordon wrote: ... is no guarantee that people can see the post you are replying to. ... It describes the implementation of a "rudimentary" storage allocator ...
    (comp.lang.c)