unw_strerror man page

unw_strerror -- get text corresponding to error code


#include <libunwind.h>

const char * unw_strerror(int err_code);


The unw_strerror() routine maps the (negative) err_code to a corresponding text message and returns it.

Return Value

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

Thread and Signal Safety

unw_strerror() is thread-safe as well as safe to use from a signal handler.


Thomas Hallgren
BEA Systems
Stockholm, Sweden
Email: thallgre@bea.com

Referenced By


18 August 2004 Programming Library Programming Library