Manual browser: dwarf_errmsg(3)

Section:
Page:
DWARF_ERRMSG(3) Library Functions Manual DWARF_ERRMSG(3)

NAME

dwarf_errmsgretrieve a human-readable string corresponding to a Dwarf_Error instance

LIBRARY

DWARF Access Library (libdwarf, -ldwarf)

SYNOPSIS

#include <libdwarf.h>

const char *
dwarf_errmsg(Dwarf_Error err);

DESCRIPTION

Function dwarf_errmsg() returns a NUL-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 a NUL-terminated string.
December 12, 2009 NetBSD 7.0