Reference

dwarf_errmsg(3)

retrieve a human-readable string corresponding to a Dwarf_Error instance

NAME

dwarf_errmsg – retrieve a human-readable string corresponding to a Dwarf_Error instance

LIBRARY

library “libdwarf”

SYNOPSIS

#include <libdwarf.h>

const char *

dwarf_errmsg(Dwarf_Error err);

DESCRIPTION

Function dwarf_errmsg() returns aNUL- terminated string for the error denoted by argument err.

Argument err should be a valid handle to a Dwarf_Error instance.

Memory Management

The returned pointer should not be freed using free(3) or dwarf_dealloc(3).

RETURN VALUES

Function dwarf_errmsg() returns a pointer to aNUL- terminated string.

SEE ALSO

dwarf(3), dwarf_errno(3)

History