summaryrefslogtreecommitdiff
path: root/kernel/src/klibc/stdlib.cpp
blob: ab6e06e244833fa32841af9849a0e83017968975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <generic/heap.hpp>
#include <cstdint>

namespace klibc {
    
    void* malloc(std::size_t size) {
        return kheap::malloc(size);
    }

    void free(void* ptr) {
        kheap::free(ptr);
    }
    
};