On 10/14/2012 03:19 PM, Florian Philipp wrote:
> Huh? Are there other libcs that do it differently? I can't imagine any
> alternative (except of the sbrk function from the bad old days).

Newlib at least uses sbrk, presumably because only requiring that, as
opposed to requiring a fully functional memory mapping interface which
may not exist on whatever it is ported to, is far easier.  I suspect
that other smaller and/or embedded-focused libraries that don't assume a
kernel such as Linux or BSD probably also still use sbrk.

        --- MIke

-- 
A man who reasons deliberately, manages it better after studying Logic
than he could before, if he is sincere about it and has common sense.
                                   --- Carveth Read, “Logic”

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to