Loading...
Searching...
No Matches
backtrace.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2017 Freie Universität Berlin
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
24#ifndef BACKTRACE_H
25#define BACKTRACE_H
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
34#ifndef BACKTRACE_SIZE
35#define BACKTRACE_SIZE (4U)
36#endif
37
42void backtrace_print(void);
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif /* BACKTRACE_H */
void backtrace_print(void)
Print the last BACKTRACE_SIZE return addresses from call of this function.