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

NAME

6       unw_strerror -- get text corresponding to error code
7

SYNOPSIS

9       #include <libunwind.h>
10
11       const char * unw_strerror(int err_code);
12

DESCRIPTION

14       The  unw_strerror()  routine  maps  the (negative) err_code to a corre‐
15       sponding text message and returns it.
16

RETURN VALUE

18       The message that corresponds to err_code or, if  the  err_code  has  no
19       corresponding message, the text "invalid error code".
20

THREAD AND SIGNAL SAFETY

22       unw_strerror() is thread-safe as well as safe to use from a signal han‐
23       dler.
24

AUTHOR

26       Thomas Hallgren
27       BEA Systems
28       Stockholm, Sweden
29       Email: thallgre@bea.com
30
31
32
33Programming Library             18 August 2004                 UNW_STRERROR(3)
Impressum