Poster of Linux kernelThe best gift for a Linux geek
UNW\_REGNAME

UNW\_REGNAME

Section: Programming Library (3) Updated: 16 August 2007
Local index Up
 

NAME

unw_regname -- get register name

 

SYNOPSIS

#include <libunwind.h>

const char *unw_regname(unw_regnum_t regnum);

 

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.

 

RETURN VALUE

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

 

THREAD AND SIGNAL SAFETY

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

 

SEE ALSO

libunwind(3)

 

AUTHOR

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
THREAD AND SIGNAL SAFETY
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 21:57:57 GMT, April 16, 2011