From 65ba015d6c1f248d36ad01a653bc49637804b15b Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sun, 10 Aug 2025 15:46:33 -0400 Subject: working usermode objdir iteration --- lib/libc-headless/include/stdlib.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lib/libc-headless/include/stdlib.h (limited to 'lib/libc-headless/include/stdlib.h') diff --git a/lib/libc-headless/include/stdlib.h b/lib/libc-headless/include/stdlib.h new file mode 100644 index 0000000..f29cce7 --- /dev/null +++ b/lib/libc-headless/include/stdlib.h @@ -0,0 +1,17 @@ +#ifndef _STDLIB_H +#define _STDLIB_H 1 + +#include + +__attribute__((noreturn)) void abort(void); +int atexit(void (*callback)(void)); + +int atoi(const char*); + +void free(void *ptr); +void *malloc(size_t size); +void *calloc(size_t nmemb, size_t size); + +char *getenv(const char *key); + +#endif -- cgit v1.2.1