2003-03-31 21:57:09 +02:00
|
|
|
\documentclass{article}
|
|
|
|
\usepackage[fancyhdr,pdf]{latex2man}
|
|
|
|
|
|
|
|
\input{common.tex}
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
|
|
|
|
\begin{Name}{3}{unw\_regname}{David Mosberger-Tang}{Programming Library}{unw\_regname}unw\_regname -- get register name
|
|
|
|
\end{Name}
|
|
|
|
|
|
|
|
\section{Synopsis}
|
|
|
|
|
|
|
|
\File{\#include $<$libunwind.h$>$}\\
|
|
|
|
|
|
|
|
\Type{const char~*}\Func{unw\_regname}(\Type{unw\_regnum\_t} \Var{regnum});\\
|
|
|
|
|
|
|
|
\section{Description}
|
|
|
|
|
|
|
|
The \Func{unw\_regname}() routine returns a printable name for
|
|
|
|
register \Var{regnum}. If \Var{regnum} is an invalid or otherwise
|
|
|
|
unrecognized register number, a string consisting of three question
|
|
|
|
marks is returned. The returned string is statically allocated and
|
|
|
|
therefore guaranteed to remain valid until the application terminates.
|
|
|
|
|
|
|
|
\section{Return Value}
|
|
|
|
|
|
|
|
The \Func{unw\_regname}() routine cannot fail and always returns a
|
|
|
|
valid (non-\Const{NULL}) string.
|
|
|
|
|
|
|
|
\section{Thread and Signal Safety}
|
|
|
|
|
|
|
|
The \Func{unw\_regname}() routine is thread-safe as well as safe to
|
|
|
|
use from a signal handler.
|
|
|
|
|
|
|
|
\section{See Also}
|
|
|
|
|
|
|
|
\SeeAlso{libunwind(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}
|