Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
backtrace.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2015 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/backtrace.h
10//! @brief Backtrace printing.
11
12#ifndef ROC_CORE_BACKTRACE_H_
13#define ROC_CORE_BACKTRACE_H_
14
15namespace roc {
16namespace core {
17
18//! Print backtrace to stderr.
19//! @remarks
20//! This function is not signal-safe.
21//! It can use heap and stdio.
23
24//! Print backtrace to stderr (emergency mode).
25//! @remarks
26//! This function is signal-safe.
27//! It can't use heap and stdio.
29
30//! Print message to stderr (emergency mode).
31//! @remarks
32//! This function is signal-safe.
33//! It can't use heap and stdio.
34void print_emergency_message(const char* str);
35
36} // namespace core
37} // namespace roc
38
39#endif // ROC_CORE_BACKTRACE_H_
void print_backtrace()
Print backtrace to stderr.
void print_emergency_message(const char *str)
Print message to stderr (emergency mode).
void print_emergency_backtrace()
Print backtrace to stderr (emergency mode).
Root namespace.