From 6a5543bb8f1f535ca49737bcd7be0cafca3b2a08 Mon Sep 17 00:00:00 2001 From: hachem Date: Mon, 12 Oct 2026 23:08:48 +0200 Subject: feat: lib sea --- sysroot/usr/include/stdlib.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sysroot/usr/include/stdlib.h (limited to 'sysroot/usr/include/stdlib.h') 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 + +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 -- cgit v1.3