xref: /llvm-project/libc/src/stdlib/exit.h (revision 33bdb53d864e3e244d8fd5649062f17b7d4c958d)
1d6698386SAlex Brachet //===-- Implementation header for exit --------------------------*- C++ -*-===//
2d6698386SAlex Brachet //
3d6698386SAlex Brachet // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4d6698386SAlex Brachet // See https://llvm.org/LICENSE.txt for license information.
5d6698386SAlex Brachet // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6d6698386SAlex Brachet //
7d6698386SAlex Brachet //===----------------------------------------------------------------------===//
8d6698386SAlex Brachet 
9d6698386SAlex Brachet #ifndef LLVM_LIBC_SRC_STDLIB_EXIT_H
10d6698386SAlex Brachet #define LLVM_LIBC_SRC_STDLIB_EXIT_H
11d6698386SAlex Brachet 
12*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
13270547f3SGuillaume Chatelet 
14*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
15d6698386SAlex Brachet 
16e0b8f98bSNoah Goldstein [[noreturn]] void exit(int status);
17d6698386SAlex Brachet 
18*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
19d6698386SAlex Brachet 
20d6698386SAlex Brachet #endif // LLVM_LIBC_SRC_STDLIB_EXIT_H
21