diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-11-08 17:19:45 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-11-08 17:54:13 +0200 |
commit | dbdaa77fb5924b4b9e6b374a44ef76481a38d3d2 (patch) | |
tree | abd4daf428532ac026a538e20138907b36c795c3 /lib/stdlib.h | |
parent | Add python-sphinx docs (diff) | |
download | kernel-dbdaa77fb5924b4b9e6b374a44ef76481a38d3d2.tar.xz |
Add FILE struct
Diffstat (limited to 'lib/stdlib.h')
-rw-r--r-- | lib/stdlib.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/stdlib.h b/lib/stdlib.h index 7f235f0..bd8474d 100644 --- a/lib/stdlib.h +++ b/lib/stdlib.h @@ -1,9 +1,11 @@ #pragma once +#include <stddef.h> + /** * Allocate size bytes and return a pointer to the allocated memory */ -void *malloc(unsigned int size); +void *malloc(size_t size); /** * Free the memory space pointed to by ptr |