[uClibc]Re: Addition of 'valloc' function to uClibc...

Tobias Anderberg tobias.anderberg at axis.com
Wed Sep 4 09:32:04 UTC 2002


Miles Bader wrote:

> Tobias Anderberg <tobias.anderberg at axis.com> writes:
> > > The old `valloc.c' file in malloc-930716's Attic can be used for the
> > > generic version.  It contains a huge hairy mess of ifdefs to get the
> > > pagesize; perhaps that's unnecessary for uClibc and could be removed.
> >
> > Just make sure that there is no assumption about the actual pagesize,
> > i.e. 4k.
>
> Well, here's the code; I'd guess that, we can just delete the #ifdefs,
> and include an appropriate header that declares __getpagesize:

Yep, that should do.

-- 
tobias





More information about the uClibc mailing list