1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef _EXECINFO_H #include <debug/execinfo.h> # ifndef _ISOMAC extern int __backtrace (void **__array, int __size); libc_hidden_proto (__backtrace) extern char **__backtrace_symbols (void *const *__array, int __size); extern void __backtrace_symbols_fd (void *const *__array, int __size, int __fd); libc_hidden_proto (__backtrace_symbols_fd) # endif /* !_ISOMAC */ #endif