unw_strerror(3)

unw_strerror3

Usage

#include <libunwind.h>

const char * unw_strerror(int err_code);

Overview

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: [email protected]

From libunwind 1.8.3-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.