We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe014fd commit ff119dcCopy full SHA for ff119dc
libc/src/__support/OSUtil/linux/exit.cpp
@@ -17,7 +17,8 @@ namespace LIBC_NAMESPACE::internal {
17
#ifdef LIBC_TARGET_ARCH_IS_X86
18
[[clang::no_stack_protector]]
19
#endif
20
-[[noreturn]] void exit(int status) {
+[[noreturn]] void
21
+exit(int status) {
22
for (;;) {
23
LIBC_NAMESPACE::syscall_impl<long>(SYS_exit_group, status);
24
LIBC_NAMESPACE::syscall_impl<long>(SYS_exit, status);
libc/src/stdlib/quick_exit.h
@@ -9,7 +9,6 @@
9
#ifndef LLVM_LIBC_SRC_STDLIB_QUICK_EXIT_H
10
#define LLVM_LIBC_SRC_STDLIB_QUICK_EXIT_H
11
12
-
13
namespace LIBC_NAMESPACE {
14
15
[[noreturn]] void quick_exit(int status);
0 commit comments