unw_strerror - Man Page

get text corresponding to error code

Synopsis

#include <libunwind.h>

const char * unw_strerror(int err_code);

Description

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.

Author

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

Info

29 August 2023 Programming Library