summaryrefslogtreecommitdiff
path: root/src/user/lib/include/stdlib.h
diff options
context:
space:
mode:
authordzwdz2022-08-28 23:54:47 +0200
committerdzwdz2022-08-28 23:54:47 +0200
commitedb7fc07bf93e4a1883cccf45ad7a4b2cbf390d9 (patch)
tree1df1e95e52d54d538d345cbf455bed096d9a1bb0 /src/user/lib/include/stdlib.h
parentf2eb3a78c7b69c4b8e118d91327cc5c1016481fc (diff)
user/lua: prepare libc headers
Diffstat (limited to 'src/user/lib/include/stdlib.h')
-rw-r--r--src/user/lib/include/stdlib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/user/lib/include/stdlib.h b/src/user/lib/include/stdlib.h
index e2e3996..8c827e3 100644
--- a/src/user/lib/include/stdlib.h
+++ b/src/user/lib/include/stdlib.h
@@ -6,7 +6,11 @@
#include <user/lib/vendor/dlmalloc/malloc.h>
#endif
+#define EXIT_SUCCESS 0
+#define EXIT_FAILURE 1
+
_Noreturn void abort(void);
+_Noreturn void exit(int);
int mkstemp(char *template);
char *getenv(const char *name);