UNW_STRERROR(3libunwind) Programming Library UNW_STRERROR(3libunwind)

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.

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

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

29 August 2023 Programming Library