MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / realloc

Function realloc

src/memory/memory.cpp:82–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82extern "C" auto realloc(void* ptr, size_t new_size) -> void* {
83 if (allocator) {
84 return allocator->realloc(ptr, new_size);
85 }
86 return nullptr;
87}
88
89extern "C" auto aligned_alloc(size_t alignment, size_t size) -> void* {
90 if (allocator) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected