---
name: "dwarf_die_abbrev_code"
section: "3"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/dwarf_die_abbrev_code"
---

# dwarf\_die\_abbrev\_code(3)

retrieve the abbreviation code for a DWARF debugging information entry

## NAME

**dwarf\_die\_abbrev\_code** – retrieve the abbreviation code for a DWARF debugging information entry

## LIBRARY

library “libdwarf”

## SYNOPSIS

**#include \<libdwarf.h\>**

*int*\

**dwarf\_die\_abbrev\_code**(*Dwarf\_Die die*);

## DESCRIPTION

Function **dwarf\_die\_abbrev\_code**() returns the abbreviation code for the debugging information entry descriptor referenced by argument *die*. Argument *die* should be a valid pointer to a value of type *Dwarf\_Die*.

## RETURN VALUES

The function returns an integral value.

## SEE ALSO

[dwarf(3)](/dwarf/3.md), [dwarf\_diename(3)](/dwarf_diename/3.md), [dwarf\_dieoffset(3)](/dwarf_dieoffset/3.md), [dwarf\_tag(3)](/dwarf_tag/3.md)
