Manual browser: dwarf_find_macro_value_start(3)

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

NAME

dwarf_find_macro_value_startreturn the address of the first byte of a macro value

LIBRARY

DWARF Access Library (libdwarf, -ldwarf)

SYNOPSIS

#include <libdwarf.h>

char *
dwarf_find_macro_value_start(char *macro_string);

DESCRIPTION

Given a DWARF macro string, function dwarf_find_macro_value_start() returns a pointer to the first byte of the macro value part of the macro string.

Argument macro_string should be a NUL-terminated string conforming to the macro format defined in the DWARF standard; see dwarf(4).

RETURN VALUES

On success, function dwarf_find_macro_value_start() returns a pointer to the first byte of the macro value. If the macro value part was not found, function dwarf_find_macro_value_start() returns a pointer to the NUL-byte terminating argument macro_string.

Function dwarf_find_macro_value_start() returns NULL if argument macro_string was NULL.

March 26, 2011 NetBSD 7.0