1UNW_GET_ACCESSORS(3) Programming Library UNW_GET_ACCESSORS(3)
2
3
4
6 unw_get_accessors -- get pointer to accessor call-backs
7
9 #include <libunwind.h>
10
11 unw_accessors_t *unw_get_accessors(unw_addr_space_t as);
12
14 The unw_get_accessors() routine returns a pointer to a unw_accessors_t
15 structure, which contains the call-back routines that were specified
16 when address space as was created (see unw_create_addr_space(3)). The
17 returned pointer is guaranteed to remain valid until address space as
18 is destroyed by a call to unw_destroy_addr_space(3).
19
20 Note that unw_get_accessors() can be used to retrieve the call-back
21 routines for the local address space unw_local_addr_space.
22
24 The unw_get_accessors() routine cannot fail and always returns a valid
25 (non-NULL) pointer to an unw_accessors_t structure.
26
28 The unw_get_accessors() routine is thread-safe as well as safe to use
29 from a signal handler.
30
32 libunwind(3), unw_create_addr_space(3), unw_destroy_addr_space(3)
33
35 David Mosberger-Tang
36 Hewlett-Packard Labs
37 Palo-Alto, CA 94304
38 Email: davidm@hpl.hp.com
39 WWW: http://www.hpl.hp.com/research/linux/libunwind/.
40
41
42
43Programming Library 05 August 2004 UNW_GET_ACCESSORS(3)