unw_regname.tex 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. \documentclass{article}
  2. \usepackage[fancyhdr,pdf]{latex2man}
  3. \input{common.tex}
  4. \begin{document}
  5. \begin{Name}{3}{unw\_regname}{David Mosberger-Tang}{Programming Library}{unw\_regname}unw\_regname -- get register name
  6. \end{Name}
  7. \section{Synopsis}
  8. \File{\#include $<$libunwind.h$>$}\\
  9. \Type{const char~*}\Func{unw\_regname}(\Type{unw\_regnum\_t} \Var{regnum});\\
  10. \section{Description}
  11. The \Func{unw\_regname}() routine returns a printable name for
  12. register \Var{regnum}. If \Var{regnum} is an invalid or otherwise
  13. unrecognized register number, a string consisting of three question
  14. marks is returned. The returned string is statically allocated and
  15. therefore guaranteed to remain valid until the application terminates.
  16. \section{Return Value}
  17. The \Func{unw\_regname}() routine cannot fail and always returns a
  18. valid (non-\Const{NULL}) string.
  19. \section{Thread and Signal Safety}
  20. The \Func{unw\_regname}() routine is thread-safe as well as safe to
  21. use from a signal handler.
  22. \section{See Also}
  23. \SeeAlso{libunwind(3)}
  24. \section{Author}
  25. \noindent
  26. David Mosberger-Tang\\
  27. Email: \Email{dmosberger@gmail.com}\\
  28. WWW: \URL{http://www.nongnu.org/libunwind/}.
  29. \LatexManEnd
  30. \end{document}