summaryrefslogtreecommitdiffstats
path: root/sysroot/usr/include/stdlib.h
diff options
context:
space:
mode:
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