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

Function calloc

src/memory/memory.cpp:75–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75extern "C" auto calloc(size_t num, size_t size) -> void* {
76 if (allocator) {
77 return allocator->calloc(num, size);
78 }
79 return nullptr;
80}
81
82extern "C" auto realloc(void* ptr, size_t new_size) -> void* {
83 if (allocator) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected