aboutsummaryrefslogtreecommitdiff
path: root/include/libmissing.h
blob: 0fb0cf4da6cbb72836a4c9e116532de1f8bbed58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef LIBMISSING_H
#define LIBMISSING_H

#ifdef HAVE_EXECINFO_H
#include <execinfo.h>
#endif

#ifndef HAVE_EXECINFO_H
int backtrace(void **buffer, int size);
char **backtrace_symbols(void *const *buffer, int size);
void backtrace_symbols_fd(void *const *buffer, int size, int fd);
#endif

#endif /* LIBMISSING_H */