summaryrefslogtreecommitdiffstats
path: root/sysroot/usr/include/stdlib.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2024-03-11 21:40:28 -0400
committerJon Santmyer <jon@jonsantmyer.com>2024-03-11 21:40:28 -0400
commit50392995d6e7f3a10fb74bb2f9073a4790f8933c (patch)
treec89b067b3bacf35e092af5c31fb6e6a08921f31c /sysroot/usr/include/stdlib.h
downloadjove-env-50392995d6e7f3a10fb74bb2f9073a4790f8933c.tar.gz
jove-env-50392995d6e7f3a10fb74bb2f9073a4790f8933c.tar.bz2
jove-env-50392995d6e7f3a10fb74bb2f9073a4790f8933c.zip
simple env with basic test init programHEADmaster
Diffstat (limited to 'sysroot/usr/include/stdlib.h')
-rw-r--r--sysroot/usr/include/stdlib.h17
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..f29cce7
--- /dev/null
+++ b/sysroot/usr/include/stdlib.h
@@ -0,0 +1,17 @@
+#ifndef _STDLIB_H
+#define _STDLIB_H 1
+
+#include <stddef.h>
+
+__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