Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
exit.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2017 Roc authors
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 */
8
9//! @file roc_core/target_posix/roc_core/exit.h
10//! @brief Exit function.
11
12#ifndef ROC_CORE_EXIT_H_
13#define ROC_CORE_EXIT_H_
14
15#include "roc_core/attributes.h"
16
17namespace roc {
18namespace core {
19
20//! Terminate process immediately without calling destructors.
22
23} // namespace core
24} // namespace roc
25
26#endif // ROC_CORE_EXIT_H_
GCC attributes.
#define ROC_ATTR_NORETURN
Function never returns.
Definition: attributes.h:19
void fast_exit(int code) ROC_ATTR_NORETURN
Terminate process immediately without calling destructors.
Root namespace.