File: libmissing.h

package info (click to toggle)
mtd-utils 1%3A2.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports
  • size: 2,240 kB
  • sloc: ansic: 37,615; sh: 552; makefile: 72
file content (17 lines) | stat: -rw-r--r-- 339 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef LIBMISSING_H
#define LIBMISSING_H

#include "config.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 */