aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/glibc/generic/malloc.cpp
blob: b5a4dafbe5b94a372a873141a40ac884c59d76ff (plain)
1
2
3
4
5
6
#include <bits/glibc/glibc_malloc.h>
#include <mlibc/allocator.hpp>

size_t malloc_usable_size(void *p) {
	return getAllocator().get_size(p);
}