OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / backtrace.3
index 7992825..a3abeb3 100644 (file)
@@ -1,6 +1,7 @@
 .\" Copyright (C) 2007 Michael Kerrisk <mtk.manpages@gmail.com>
 .\" drawing on material by Justin Pryzby <pryzbyj@justinpryzby.com>
 .\"
+.\" %%%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/.