Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
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
17
namespace
roc
{
18
namespace
core {
19
20
//! Terminate process immediately without calling destructors.
21
void
fast_exit
(
int
code)
ROC_ATTR_NORETURN
;
22
23
}
// namespace core
24
}
// namespace roc
25
26
#endif
// ROC_CORE_EXIT_H_
attributes.h
GCC attributes.
ROC_ATTR_NORETURN
#define ROC_ATTR_NORETURN
Function never returns.
Definition:
attributes.h:19
roc::core::fast_exit
void fast_exit(int code) ROC_ATTR_NORETURN
Terminate process immediately without calling destructors.
roc
Root namespace.
roc_core
target_posix
roc_core
exit.h
Generated by
1.9.1