1 \documentclass{article}
2 \usepackage[fancyhdr,pdf]{latex2man}
8 \begin{Name}{3}{unw\_regname}{David Mosberger-Tang}{Programming Library}{unw\_regname}unw\_regname -- get register name
13 \File{\#include $<$libunwind.h$>$}\\
15 \Type{const char~*}\Func{unw\_regname}(\Type{unw\_regnum\_t} \Var{regnum});\\
19 The \Func{unw\_regname}() routine returns a printable name for
20 register \Var{regnum}. If \Var{regnum} is an invalid or otherwise
21 unrecognized register number, a string consisting of three question
22 marks is returned. The returned string is statically allocated and
23 therefore guaranteed to remain valid until the application terminates.
25 \section{Return Value}
27 The \Func{unw\_regname}() routine cannot fail and always returns a
28 valid (non-\Const{NULL}) string.
30 \section{Thread and Signal Safety}
32 The \Func{unw\_regname}() routine is thread-safe as well as safe to
33 use from a signal handler.
37 \SeeAlso{libunwind(3)}
42 David Mosberger-Tang\\
43 Email: \Email{dmosberger@gmail.com}\\
44 WWW: \URL{http://www.nongnu.org/libunwind/}.