| DWARF_FIND_MACRO_VALUE_START(3) | Library Functions Manual | DWARF_FIND_MACRO_VALUE_START(3) |
dwarf_find_macro_value_start —
return the address of the first byte of a macro
value
DWARF Access Library (libdwarf, -ldwarf)
#include
<libdwarf.h>
char *
dwarf_find_macro_value_start(char
*macro_string);
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).
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 11.0 |