Update libexecinfo man page for FreeBSD
Sponsored by: DARPA, AFRL
This commit is contained in:
parent
de1eecea8c
commit
b32840d048
@ -1,4 +1,5 @@
|
|||||||
.\" $NetBSD: backtrace.3,v 1.4 2012/06/10 00:24:36 christos Exp $
|
.\" $NetBSD: backtrace.3,v 1.4 2012/06/10 00:24:36 christos Exp $
|
||||||
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 2012 The NetBSD Foundation, Inc.
|
.\" Copyright (c) 2012 The NetBSD Foundation, Inc.
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
@ -27,7 +28,7 @@
|
|||||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd May 26, 2012
|
.Dd August 23, 2013
|
||||||
.Dt BACKTRACE 3
|
.Dt BACKTRACE 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -116,7 +117,7 @@ on failure.
|
|||||||
.Sh RETURN VALUES
|
.Sh RETURN VALUES
|
||||||
The
|
The
|
||||||
.Fn backtrace
|
.Fn backtrace
|
||||||
function returns the number of elements tht were filled in the backtrace.
|
function returns the number of elements that were filled in the backtrace.
|
||||||
The
|
The
|
||||||
.Fn backtrace_symbols
|
.Fn backtrace_symbols
|
||||||
and
|
and
|
||||||
@ -133,7 +134,9 @@ Diagnostic output may also be produced by the ELF symbol lookup functions.
|
|||||||
The
|
The
|
||||||
.Fn backtrace
|
.Fn backtrace
|
||||||
library of functions first appeared in
|
library of functions first appeared in
|
||||||
.Nx 7.0 .
|
.Nx 7.0
|
||||||
|
and
|
||||||
|
.Fx 10.0 .
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
.Bl -enum
|
.Bl -enum
|
||||||
.It
|
.It
|
||||||
@ -150,10 +153,9 @@ instead of
|
|||||||
.Ft size_t
|
.Ft size_t
|
||||||
arguments.
|
arguments.
|
||||||
.It
|
.It
|
||||||
Since
|
The
|
||||||
.Xr dladdr 3
|
.Fn backtrace_symbols
|
||||||
only deals with dynamic symbols, we need to find the symbols from the main
|
functions currently rely on
|
||||||
portion of the program.
|
.Xr procfs 5
|
||||||
For that we need to locate the executable, and we use procfs for
|
to locate the executable.
|
||||||
finding it, which is not portable.
|
|
||||||
.El
|
.El
|
||||||
|
Loading…
Reference in New Issue
Block a user