Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP

hp.com home


unw_get_accessors

» 

HP Labs

» Research
» News and events
» Technical reports
» About HP Labs
» Careers @ HP Labs
» People
» Worldwide sites
» Downloads
Content starts here


Table of Contents

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 call-back routines that were specified when address space as was created (see unw_create_addr_space(3)). The returned pointer is guaranteed to remain valid until address space as is destroyed by a call to unw_destroy_addr_space(3).

Note that unw_get_accessors() can be used to retrieve the call-back 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(3), unw_create_addr_space(3), unw_destroy_addr_space(3)

Author

David Mosberger-Tang
Hewlett-Packard Labs
Palo-Alto, CA 94304
Email: davidm@hpl.hp.com
WWW: http://www.hpl.hp.com/research/linux/libunwind/.

Printable version
Privacy statement Using this site means you accept its terms Feedback to HP Labs
© 2009 Hewlett-Packard Development Company, L.P.