logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

unw_get_accessors -- get pointer to accessor call-backs

Author

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

Programming Library                              16 August 2007                             UNW_GET_ACCESSORS(3)

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.

Name

       unw_get_accessors -- get pointer to accessor call-backs

Return Value

       The  unw_get_accessors()  routine  cannot  fail  and  always  returns  a  valid  (non-NULL) pointer to an
       unw_accessors_t structure.

See Also

libunwind(3), unw_create_addr_space(3), unw_destroy_addr_space(3)

Synopsis

       #include <libunwind.h>

       unw_accessors_t *unw_get_accessors(unw_addr_space_t as);

Thread And Signal Safety

       The unw_get_accessors() routine is thread-safe as well as safe to use from a signal handler.

See Also