Files
KirkOS/user/include/mlibc/options/glibc/generic/malloc.cpp
T
kaguya 9a9b91c940 user: implement mlibc as the libc, finally.
It's finally done..

Signed-off-by: kaguya <vpshinomiya@protonmail.com>
2026-05-02 03:31:49 -04:00

7 lines
144 B
C++

#include <bits/glibc/glibc_malloc.h>
#include <mlibc/allocator.hpp>
size_t malloc_usable_size(void *p) {
return getAllocator().get_size(p);
}