/
GitCaptain
/
llvm-project
Обзор
Документация
Войти
/
GitCaptain
/
llvm-project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
fix-tests
libc/src/stdlib/exit.cpp
24 строки
670 B
Siva Chandra Reddy
[libc] Add a resizable container with constexpr constructor and destructor.
11 мар 2022, 00:28
11 мар 2022, 00:28
19c6098
Код
Авторство
О чём код?
//===-- Implementation of exit --------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "src/stdlib/exit.h" #include "src/__support/common.h" #include "src/stdlib/_Exit.h" namespace __llvm_libc { namespace internal { void call_exit_callbacks(); } LLVM_LIBC_FUNCTION(void, exit, (int status)) { internal::call_exit_callbacks(); _Exit(status); } } // namespace __llvm_libc