2003-03-31 21:57:09 +02:00
\documentclass { article}
\usepackage [fancyhdr,pdf] { latex2man}
\input { common.tex}
\begin { document}
\begin { Name} { 3} { unw\_ get\_ accessors} { David Mosberger-Tang} { Programming Library} { unw\_ get\_ accessors} unw\_ get\_ accessors -- get pointer to accessor call-backs
\end { Name}
\section { Synopsis}
\File { \# include $ < $ libunwind.h$ > $ } \\
\Type { unw\_ accessors\_ t~*} \Func { unw\_ get\_ accessors} (\Type { unw\_ addr\_ space\_ t~} \Var { as} );\\
\section { Description}
The \Func { unw\_ get\_ accessors} () routine returns a pointer to a
\Type { unw\_ accessors\_ t} structure, which contains the call-back
routines that were specified when address space \Var { as} was created
(see \Func { unw\_ create\_ addr\_ space} (3)). The returned pointer is
guaranteed to remain valid until address space \Var { as} is destroyed
by a call to \Func { unw\_ destroy\_ addr\_ space} (3).
Note that \Func { unw\_ get\_ accessors} () can be used to retrieve the
call-back routines for the local address space
\Var { unw\_ local\_ addr\_ space} .
\section { Return Value}
The \Func { unw\_ get\_ accessors} () routine cannot fail and always
returns a valid (non-\Const { NULL} ) pointer to an
\Type { unw\_ accessors\_ t} structure.
\section { Thread and Signal Safety}
The \Func { unw\_ get\_ accessors} () routine is thread-safe as well as
safe to use from a signal handler.
\section { See Also}
\SeeAlso { libunwind(3)} ,
\SeeAlso { unw\_ create\_ addr\_ space(3)} ,
\SeeAlso { unw\_ destroy\_ addr\_ space(3)}
\section { Author}
\noindent
David Mosberger-Tang\\
Hewlett-Packard Labs\\
Palo-Alto, CA 94304\\
Email: \Email { davidm@hpl.hp.com} \\
WWW: \URL { http://www.hpl.hp.com/research/linux/libunwind/} .
\LatexManEnd
\end { document}