unw_get_accessors(3)

unw_get_accessors3

Usage

#include <libunwind.h>

unw_accessors_t *unw_get_accessors(unw_addr_space_t as);

Overview

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.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0–12
  2. Arch

Author

David Mosberger-Tang
Email: [email protected]
WWW: http://www.nongnu.org/libunwind/.

From libunwind 1.8.3-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.