diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2018-11-21 06:57:05 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2018-11-21 06:57:05 +0000 |
commit | ce94373d770a9aea0a5dc4a7cf14c167ab60874e (patch) | |
tree | ae4b5e7ce0cf043db5627e3ec62002539a1d0ed1 /include/dlfcn.h | |
parent | 47d4eedcfd2d0e3da3ab4d691658eba0db6108bc (diff) |
Introducing malloc_usable_size() was a mistake. While some other
libs have it, it is a function that is considered harmful, so:
Delete malloc_usable_size(). It is a function that blurs the line
between malloc managed memory and application managed memory and
exposes some of the internal workings of malloc. If an application
relies on that, it is likely to break using another implementation
of malloc. If you want usable size x, just allocate x bytes. ok
deraadt@ and other devs
Diffstat (limited to 'include/dlfcn.h')
0 files changed, 0 insertions, 0 deletions