DWARF_FIND_MACRO_VALUE_START(3)
π DWARF_FIND_MACRO_VALUE_START(3) β return the address of the first byte of a macro value π
okay bestie, welcome to the Library Functions Manual. Tiny header tea: the top line spells the title DWARF_FIND_MACRO_VALUE_S(3) (yes, _S, not _START) β typo princess behavior β but the function you actually call is dwarf_find_macro_value_start(). π
πΈ NAME πΈ
dwarf_find_macro_value_start β return the address of the first byte of a macro value
π LIBRARY π
This page is chillinβ in the DWARF Access Library β thatβs libdwarf, and you link it with -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. Thatβs the whole quest, bestie. β¨
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. slay. π - If the macro value part was not found β function
dwarf_find_macro_value_start()returns a pointer to theNUL-byte terminating argumentmacro_string. read that twice, bestie. π - If argument
macro_stringwasNULLβ functiondwarf_find_macro_value_start()returnsNULL. literallyNULL. π
π¦ SEE ALSO π¦
xoxo, Debian π March 26, 2011 β DWARF_FIND_MACRO_VALUE_START(3) π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: libdwarf 15.0.0
- Copyright (c) 2011 Kai Wang
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms