unw_get_accessors.tex 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. \documentclass{article}
  2. \usepackage[fancyhdr,pdf]{latex2man}
  3. \input{common.tex}
  4. \begin{document}
  5. \begin{Name}{3}{unw\_get\_accessors}{David Mosberger-Tang}{Programming Library}{unw\_get\_accessors}unw\_get\_accessors -- get pointer to accessor call-backs
  6. \end{Name}
  7. \section{Synopsis}
  8. \File{\#include $<$libunwind.h$>$}\\
  9. \Type{unw\_accessors\_t~*}\Func{unw\_get\_accessors}(\Type{unw\_addr\_space\_t~}\Var{as});\\
  10. \section{Description}
  11. The \Func{unw\_get\_accessors}() routine returns a pointer to a
  12. \Type{unw\_accessors\_t} structure, which contains the call-back
  13. routines that were specified when address space \Var{as} was created
  14. (see \Func{unw\_create\_addr\_space}(3)). The returned pointer is
  15. guaranteed to remain valid until address space \Var{as} is destroyed
  16. by a call to \Func{unw\_destroy\_addr\_space}(3).
  17. Note that \Func{unw\_get\_accessors}() can be used to retrieve the
  18. call-back routines for the local address space
  19. \Var{unw\_local\_addr\_space}.
  20. \section{Return Value}
  21. The \Func{unw\_get\_accessors}() routine cannot fail and always
  22. returns a valid (non-\Const{NULL}) pointer to an
  23. \Type{unw\_accessors\_t} structure.
  24. \section{Thread and Signal Safety}
  25. The \Func{unw\_get\_accessors}() routine is thread-safe as well as
  26. safe to use from a signal handler.
  27. \section{See Also}
  28. \SeeAlso{libunwind(3)},
  29. \SeeAlso{unw\_create\_addr\_space(3)},
  30. \SeeAlso{unw\_destroy\_addr\_space(3)}
  31. \section{Author}
  32. \noindent
  33. David Mosberger-Tang\\
  34. Email: \Email{dmosberger@gmail.com}\\
  35. WWW: \URL{http://www.nongnu.org/libunwind/}.
  36. \LatexManEnd
  37. \end{document}