diff options
| author | hachem <im@hachem.wtf> | 2026-10-12 23:08:48 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-10-12 23:08:48 +0200 |
| commit | 6a5543bb8f1f535ca49737bcd7be0cafca3b2a08 (patch) | |
| tree | bb137b732a1d122aeace46c550733f4793d84601 /sysroot/usr/include/stdlib.h | |
| parent | 59794d0b999e544a94230d9562bf2b99d2ed74c7 (diff) | |
Diffstat (limited to 'sysroot/usr/include/stdlib.h')
| -rw-r--r-- | sysroot/usr/include/stdlib.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sysroot/usr/include/stdlib.h b/sysroot/usr/include/stdlib.h new file mode 100644 index 0000000..7950258 --- /dev/null +++ b/sysroot/usr/include/stdlib.h @@ -0,0 +1,17 @@ +#ifndef _STDLIB_H +#define _STDLIB_H + +#include <stddef.h> + +void* malloc(size_t length); +void free(void* pointer); +void* calloc(size_t count, size_t size); +void* realloc(void* pointer, size_t length); + +void exit(int code) __attribute__((noreturn)); + +int atoi(const char* string); +long atol(const char* string); +int abs(int value); + +#endif |
