summaryrefslogtreecommitdiff
path: root/include/malloc.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-01-31 05:27:54 +0000
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-01-31 18:48:29 +0000
commit1bc015efddaf7dc4ddd1b6b6831c43e7ad4582c0 (patch)
tree9850117d2b9182ce36354cb4b0ec1163df7aa374 /include/malloc.h
parentf20179d6931df17c9310fd911dd4a348141ba72c (diff)
malloc: add malloc_usable_size()
Diffstat (limited to 'include/malloc.h')
-rw-r--r--include/malloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/malloc.h b/include/malloc.h
index b16a1105a..e52792381 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -162,6 +162,8 @@ extern int malloc_trim(size_t pad);
/* Prints brief summary statistics on the stderr. */
extern void malloc_stats(void);
+extern size_t malloc_usable_size(void *);
+
/* SVID2/XPG mallopt options */
#ifndef M_MXFAST
# define M_MXFAST 1 /* UNUSED in this malloc */