1 \documentclass{article}
2 \usepackage[fancyhdr,pdf]{latex2man}
8 \begin{Name}{3}{unw\_get\_accessors}{David Mosberger-Tang}{Programming Library}{unw\_get\_accessors}unw\_get\_accessors -- get pointer to accessor call-backs
13 \File{\#include $<$libunwind.h$>$}\\
15 \Type{unw\_accessors\_t~*}\Func{unw\_get\_accessors}(\Type{unw\_addr\_space\_t~}\Var{as});\\
19 The \Func{unw\_get\_accessors}() routine returns a pointer to a
20 \Type{unw\_accessors\_t} structure, which contains the call-back
21 routines that were specified when address space \Var{as} was created
22 (see \Func{unw\_create\_addr\_space}(3)). The returned pointer is
23 guaranteed to remain valid until address space \Var{as} is destroyed
24 by a call to \Func{unw\_destroy\_addr\_space}(3).
26 Note that \Func{unw\_get\_accessors}() can be used to retrieve the
27 call-back routines for the local address space
28 \Var{unw\_local\_addr\_space}.
30 \section{Return Value}
32 The \Func{unw\_get\_accessors}() routine cannot fail and always
33 returns a valid (non-\Const{NULL}) pointer to an
34 \Type{unw\_accessors\_t} structure.
36 \section{Thread and Signal Safety}
38 The \Func{unw\_get\_accessors}() routine is thread-safe as well as
39 safe to use from a signal handler.
43 \SeeAlso{libunwind(3)},
44 \SeeAlso{unw\_create\_addr\_space(3)},
45 \SeeAlso{unw\_destroy\_addr\_space(3)}
50 David Mosberger-Tang\\
51 Email: \Email{dmosberger@gmail.com}\\
52 WWW: \URL{http://www.nongnu.org/libunwind/}.