From edb7fc07bf93e4a1883cccf45ad7a4b2cbf390d9 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 28 Aug 2022 23:54:47 +0200 Subject: user/lua: prepare libc headers --- src/user/lib/include/stdlib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/user/lib/include/stdlib.h') 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 #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); -- cgit v1.2.3