diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-05-08 20:46:06 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-09 15:35:01 +0200 |
commit | 9ffc2fe840f45e367d3fa9a6fbabbe4c61c30287 (patch) | |
tree | 5732a9be34f2242832cbc4b3808dbce66d04ba56 /Userland/Libraries/LibC/stdlib.h | |
parent | 4c6a91d0c0f6596d69c0763a55a672959423559b (diff) | |
download | serenity-9ffc2fe840f45e367d3fa9a6fbabbe4c61c30287.zip |
LibC: Implement the _Exit function
libstdc++v3 checks whether this function is available and makes
certain functions available in the std namespace if so.
Diffstat (limited to 'Userland/Libraries/LibC/stdlib.h')
-rw-r--r-- | Userland/Libraries/LibC/stdlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/stdlib.h b/Userland/Libraries/LibC/stdlib.h index fc029d2ce3..480e570cc7 100644 --- a/Userland/Libraries/LibC/stdlib.h +++ b/Userland/Libraries/LibC/stdlib.h @@ -61,6 +61,7 @@ int mbtowc(wchar_t*, const char*, size_t); int wctomb(char*, wchar_t); size_t wcstombs(char*, const wchar_t*, size_t); char* realpath(const char* pathname, char* buffer); +__attribute__((noreturn)) void _Exit(int status); #define RAND_MAX 32767 int rand(); |