diff options
Diffstat (limited to 'src/userspace/libc/stdlib/malloc.c')
-rw-r--r-- | src/userspace/libc/stdlib/malloc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/userspace/libc/stdlib/malloc.c b/src/userspace/libc/stdlib/malloc.c new file mode 100644 index 0000000..b738eed --- /dev/null +++ b/src/userspace/libc/stdlib/malloc.c @@ -0,0 +1,7 @@ +#include <stdint.h> +#include <syscall.h> + +void *malloc(u8 size) +{ + return (void *)syscall_malloc(size); +}
\ No newline at end of file |