Karg  v0.2.0
The kernel of CargOS
kalloc.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <types.h>
4 
5 void *kmalloc(usize size);
6 void *kcalloc(usize size, usize n);
7 void kfree(void *ptr);
void kfree(void *ptr)
Definition: kalloc.c:58
void * kmalloc(usize size)
Definition: kalloc.c:16
void * kcalloc(usize size, usize n)
Definition: kalloc.c:49
__UINTPTR_TYPE__ usize
Definition: types.h:28