43 ret = backtrace ( buffer, size );
45 ptr = backtrace_symbols ( buffer, ret );
46 for ( idx = 0; idx < ret; idx ++ ) {
48 printf (
"%d: %s\n", idx, ptr[ idx ] );
68 #endif // BACKTRACE_HPP int displayBacktrace(void)
Display backtrace of functions.