---
name: "dwarf_get_ACCESS_name"
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_get_ACCESS_name"
---

# dwarf\_get\_ACCESS\_name(3)

retrieve the symbolic names of DWARF constants

## NAME

**dwarf\_get\_ACCESS\_name**, **dwarf\_get\_AT\_name**, **dwarf\_get\_ATE\_name**, **dwarf\_get\_CC\_name**, **dwarf\_get\_CFA\_name**, **dwarf\_get\_CHILDREN\_name**, **dwarf\_get\_DS\_name**, **dwarf\_get\_DSC\_name**, **dwarf\_get\_EH\_name**, **dwarf\_get\_END\_name**, **dwarf\_get\_FORM\_name**, **dwarf\_get\_ID\_name**, **dwarf\_get\_INL\_name**, **dwarf\_get\_LANG\_name**, **dwarf\_get\_LNE\_name**, **dwarf\_get\_LNS\_name**, **dwarf\_get\_MACINFO\_name**, **dwarf\_get\_OP\_name**, **dwarf\_get\_ORD\_name**, **dwarf\_get\_TAG\_name**, **dwarf\_get\_UT\_name**, **dwarf\_get\_VIRTUALITY\_name**, **dwarf\_get\_VIS\_name** – retrieve the symbolic names of DWARF constants

## LIBRARY

library “libdwarf”

## SYNOPSIS

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

*int*\

**dwarf\_get\_ACCESS\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_AT\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_ATE\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_CC\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_CFA\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_CHILDREN\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_DS\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_DSC\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_EH\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_END\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_FORM\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_ID\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_INL\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_LANG\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_LNE\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_LNS\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_MACINFO\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_OP\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_ORD\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_TAG\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_UT\_name**(*unsigned unit\_type*, *const char \*\*str*);

*int*\

**dwarf\_get\_VIRTUALITY\_name**(*unsigned val*, *char \*\*str*);

*int*\

**dwarf\_get\_VIS\_name**(*unsigned val*, *char \*\*str*);

## DESCRIPTION

These functions return the symbolic name of a numeric DWARF constant.

Argument *val* specifies the numeric value whose symbolic name is desired.

Argument *str* should point to a location which will hold the returned NUL-terminated string containing the symbolic name of the specified value.

The list of functions and the DWARF constants that they accept are:

- **dwarf\_get\_ACCESS\_name**()

  DW\_ACCESS\_\* constants.

- **dwarf\_get\_AT\_name**()

  DW\_AT\_\* constants.

- **dwarf\_get\_ATE\_name**()

  DW\_ATE\_\* constants.

- **dwarf\_get\_CC\_name**()

  DW\_CC\_\* constants.

- **dwarf\_get\_CFA\_name**()

  DW\_CFA\_\* constants.

- **dwarf\_get\_CHILDREN\_name**()

  DW\_CHILDREN\_\* constants.

- **dwarf\_get\_DS\_name**()

  DW\_DS\_\* constants.

- **dwarf\_get\_DSC\_name**()

  DW\_DSC\_\* constants.

- **dwarf\_get\_EH\_name**()

  DW\_EH\_PE\_\* constants.

- **dwarf\_get\_END\_name**()

  DW\_END\_\* constants.

- **dwarf\_get\_FORM\_name**()

  DW\_FORM\_\* constants.

- **dwarf\_get\_ID\_name**()

  DW\_ID\_\* constants.

- **dwarf\_get\_INL\_name**()

  DW\_INL\_\* constants.

- **dwarf\_get\_LANG\_name**()

  DW\_LANG\_\* constants.

- **dwarf\_get\_LNE\_name**()

  DW\_LNE\_\* constants.

- **dwarf\_get\_LNS\_name**()

  DW\_LNS\_\* constants.

- **dwarf\_get\_MACINFO\_name**()

  DW\_MACINFO\_\* constants.

- **dwarf\_get\_OP\_name**()

  DW\_OP\_\* constants.

- **dwarf\_get\_ORD\_name**()

  DW\_ORD\_\* constants.

- **dwarf\_get\_TAG\_name**()

  DW\_TAG\_\* constants.

- **dwarf\_get\_UT\_name**()

  DW\_UT\_\* constants.

- **dwarf\_get\_VIRTUALITY\_name**()

  DW\_VIRTUALITY\_\* constants.

- **dwarf\_get\_VIS\_name**()

  DW\_VIS\_\* constants.

## RETURN VALUES

These functions return DW\_DLV\_OK on success. If the DWARF constant denoted by argument *val* is not recognized, these function return DW\_DLV\_NO\_ENTRY.

## SEE ALSO

[dwarf(3)](/dwarf/3.md)
