1UNW_STRERROR(3) Programming Library UNW_STRERROR(3)
2
3
4
6 unw_strerror -- get text corresponding to error code
7
9 #include <libunwind.h>
10
11 const char * unw_strerror(int err_code);
12
14 The unw_strerror() routine maps the (negative) err_code to a corre‐
15 sponding text message and returns it.
16
18 The message that corresponds to err_code or, if the err_code has no
19 corresponding message, the text "invalid error code".
20
22 unw_strerror() is thread-safe as well as safe to use from a signal han‐
23 dler.
24
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)