---
name: "unw_get_accessors"
section: "3"
platform: "linux"
package: "libunwind"
version: "1.8.3-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/unw_get_accessors"
---

# unw\_get\_accessors(3)

## NAME

unw\_get\_accessors -- get pointer to accessor call-backs

## SYNOPSIS

\#include \<libunwind.h\>\

unw\_accessors\_t \*unw\_get\_accessors(unw\_addr\_space\_t as);\

## DESCRIPTION

The unw\_get\_accessors() routine returns a pointer to a  unw\_accessors\_t structure, which contains the callback  routines that were specified when address space as was created  (see unw\_create\_addr\_space(3libunwind)). The returned pointer is  guaranteed to remain valid until address space as is destroyed  by a call to unw\_destroy\_addr\_space(3libunwind).

Note that unw\_get\_accessors() can be used to retrieve the  callback routines for the local address space  unw\_local\_addr\_space.

## RETURN VALUE

The unw\_get\_accessors() routine cannot fail and always  returns a valid (non-NULL) pointer to an  unw\_accessors\_t structure.

## THREAD AND SIGNAL SAFETY

The unw\_get\_accessors() routine is thread safe as well as  safe to use from a signal handler.

## SEE ALSO

libunwind(3libunwind), unw\_create\_addr\_space(3libunwind), unw\_destroy\_addr\_space(3libunwind)

## AUTHOR

David Mosberger-Tang\
 Email: **dmosberger@gmail.com**\
 WWW: **http://www.nongnu.org/libunwind/**.
