2 .\" Manual page created with latex2man on Fri Aug 31 13:39:04 EEST 2012
3 .\" NOTE: This file is generated, DO NOT EDIT.
13 .TH "UNW\\_BACKTRACE" "3" "31 August 2012" "Programming Library " "Programming Library "
16 \-\- return backtrace for the calling program
21 #include <libunwind.h>
25 unw_backtrace(void **buffer,
33 backtrace(void **buffer,
41 is a convenient routine for obtaining the backtrace for
42 the calling program. The routine fills up to size
43 addresses in the array
45 The routine is only available for local unwinding.
47 Note that many (but not all) systems provide practically identical function
49 The prototype for this function is usually obtained
50 by including the <execinfo.h>
51 header file \-\- a prototype for
53 is not provided by libunwind\&.
60 is linked against libunwind,
62 calling unw_backtrace().
67 The routine returns the number of addresses stored in the array pointed by
69 The return value may be zero to indicate that no addresses were
83 Email: \fBdmosberger@gmail.com\fP
85 WWW: \fBhttp://www.nongnu.org/libunwind/\fP\&.
86 .\" NOTE: This file is generated, DO NOT EDIT.