summaryrefslogtreecommitdiff
path: root/src/basic/alloc-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-03-20 10:31:38 +0100
committerLennart Poettering <lennart@poettering.net>2019-03-20 10:48:33 +0100
commitd4b604baeadbb2498e4f2c3e260260eed210f5d6 (patch)
tree65f19bca6856ee4f96320eda5e4e473baa803406 /src/basic/alloc-util.h
parent23964f7faf86df7fd297dc5b0a9f1dfb03a0eb56 (diff)
downloadsystemd-d4b604baeadbb2498e4f2c3e260260eed210f5d6.tar.gz
alloc-util: use malloc_usable_size() to determine allocated size
It's a glibc-specific API, but supported on FreeBSD and musl too at least, hence fairly common. This way we can reduce our calls to realloc() as much as possible.
Diffstat (limited to 'src/basic/alloc-util.h')
0 files changed, 0 insertions, 0 deletions