X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=blobdiff_plain;f=original%2Fman3%2Fbacktrace.3;h=a3abeb3d2cb8a89c3fde2293b4c18e876345dca7;hp=7992825d09e605fde220a4f74ff48e31ce24a790;hb=4ea6bb24817f6f049d6bbc90ecd77a869876f9b0;hpb=633a2252e0be3c867dce264a180a89ce8181d36f diff --git a/original/man3/backtrace.3 b/original/man3/backtrace.3 index 7992825d..a3abeb3d 100644 --- a/original/man3/backtrace.3 +++ b/original/man3/backtrace.3 @@ -1,6 +1,7 @@ .\" Copyright (C) 2007 Michael Kerrisk .\" drawing on material by Justin Pryzby .\" +.\" %%%LICENSE_START(PERMISSIVE_MISC) .\" Permission is hereby granted, free of charge, to any person obtaining .\" a copy of this software and associated documentation files (the .\" "Software"), to deal in the Software without restriction, including @@ -19,6 +20,7 @@ .\" CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, .\" TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE .\" SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +.\" %%%LICENSE_END .\" .\" References: .\" glibc manual and source @@ -54,7 +56,9 @@ A backtrace is the series of currently active function calls for the program. Each item in the array pointed to by .I buffer -is of type \fIvoid *\fP, and is the return address from +is of type +.IR "void\ *" , +and is the return address from the corresponding stack frame. The .I size @@ -111,7 +115,7 @@ it writes the strings, one per line, to the file descriptor does not call .BR malloc (3), and so can be employed in situations where the latter function might fail. -.SH "RETURN VALUE" +.SH RETURN VALUE .BR backtrace () returns the number of addresses returned in .IR buffer , @@ -249,3 +253,12 @@ main(int argc, char *argv[]) .BR ld (1), .BR dlopen (3), .BR malloc (3) +.SH COLOPHON +This page is part of release 3.79 of the Linux +.I man-pages +project. +A description of the project, +information about reporting bugs, +and the latest version of this page, +can be found at +\%http://www.kernel.org/doc/man\-pages/.