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       Email: dmosberger@gmail.com
34       WWW: http://www.nongnu.org/libunwind/.
35
36
37
38Programming Library             16 August 2007                  UNW_REGNAME(3)
Impressum