xref: /llvm-project/libc/src/__support/OSUtil/exit.h (revision 5ff3ff33ff930e4ec49da7910612d8a41eb068cb)
107bd4394SRoseZhang03 //===------------ Implementation of an exit function ------------*- C++ -*-===//
207bd4394SRoseZhang03 //
307bd4394SRoseZhang03 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
407bd4394SRoseZhang03 // See https://llvm.org/LICENSE.txt for license information.
507bd4394SRoseZhang03 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
607bd4394SRoseZhang03 //
707bd4394SRoseZhang03 //===----------------------------------------------------------------------===//
807bd4394SRoseZhang03 
907bd4394SRoseZhang03 #ifndef LLVM_LIBC_SRC___SUPPORT_OSUTIL_EXIT_H
1007bd4394SRoseZhang03 #define LLVM_LIBC_SRC___SUPPORT_OSUTIL_EXIT_H
1107bd4394SRoseZhang03 
12*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
13*5ff3ff33SPetr Hosek 
14*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
15*5ff3ff33SPetr Hosek namespace internal {
1607bd4394SRoseZhang03 
1707bd4394SRoseZhang03 [[noreturn]] void exit(int status);
1807bd4394SRoseZhang03 
19*5ff3ff33SPetr Hosek } // namespace internal
20*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
2107bd4394SRoseZhang03 
2207bd4394SRoseZhang03 #endif // LLVM_LIBC_SRC___SUPPORT_OSUTIL_EXIT_H
23