tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Return Value of realloc(3)



John Nemeth <jnemeth%victoria.tc.ca@localhost> wrote:

> } Also, what about erealloc(3) in libutil ? Looking at its
> 
>     That's part of the implementation.  It's allowed to make assumptions.

It's not (it's not even in the same library with malloc), and it's not.
It is supposed to be usable with any allocator that happens to be linked.

-uwe



Home | Main Index | Thread Index | Old Index