Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
UNW_GE...CESSORS(3libunwind) Programming Library  UNW_GE...CESSORS(3libunwind)

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(3libun-
       wind)).	The returned pointer is	guaranteed to remain valid  until  ad-
       dress space as is destroyed by a	call to	unw_destroy_addr_space(3libun-
       wind).

       Note that unw_get_accessors() can be used to retrieve the callback rou-
       tines 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_de-
       stroy_addr_space(3libunwind)

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

Programming Library		29 August 2023	  UNW_GE...CESSORS(3libunwind)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=unw_get_accessors&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help