logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

unw_regname -- get register name

Author

       David Mosberger-Tang
       Email: dmosberger@gmail.com
       WWW: http://www.nongnu.org/libunwind/.

Programming Library                              16 August 2007                                   UNW_REGNAME(3)

Description

       The  unw_regname()  routine  returns  a  printable  name for register regnum.  If 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.

Name

       unw_regname -- get register name

Return Value

       The unw_regname() routine cannot fail and always returns a valid (non-NULL) string.

See Also

libunwind(3)

Synopsis

       #include <libunwind.h>

       const char *unw_regname(unw_regnum_t regnum);

Thread And Signal Safety

       The unw_regname() routine is thread-safe as well as safe to use from a signal handler.

See Also