1UNW_REGNAME(3)               Programming Library                UNW_REGNAME(3)
2
3
4

NAME

6       unw_regname -- get register name
7

SYNOPSIS

9       #include <libunwind.h>
10
11       const char *unw_regname(unw_regnum_t regnum);
12

DESCRIPTION

14       The unw_regname() routine returns a printable name for register regnum.
15       If regnum is an invalid or otherwise unrecognized  register  number,  a
16       string  consisting  of  three  question marks is returned. The returned
17       string is statically allocated and therefore guaranteed to remain valid
18       until the application terminates.
19

RETURN VALUE

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

THREAD AND SIGNAL SAFETY

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

SEE ALSO

29       libunwind(3)
30

AUTHOR

32       David Mosberger-Tang
33       Hewlett-Packard Labs
34       Palo-Alto, CA 94304
35       Email: davidm@hpl.hp.com
36       WWW: http://www.hpl.hp.com/research/linux/libunwind/.
37
38
39
40Programming Library              31 March 2003                  UNW_REGNAME(3)
Impressum