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

FreeBSD Manual Pages

  
 
  

home | help
UNW_SET...HE_SIZE(3libunwind) Programming Library  UNW_SET...HE_SIZE(3libunwind)

NAME
     unw_set_cache_size -- set unwind cache size

SYNOPSIS
     #include <libunwind.h>

     int unw_set_cache_size(unw_addr_space_t as, size_t size, int flag);

DESCRIPTION
     The unw_set_cache_size() routine sets the cache size of address space as to
     hold  at  least  as many items as given by argument size.	It may hold more
     items as  determined  by  the  implementation.  To  disable  caching,  call
     unw_set_caching_policy) with a policy of UNW_CACHE_NONE.  Flag is currently
     unused and must be 0.

RETURN VALUE
     On  successful  completion,  unw_set_cache_size() returns 0.  Otherwise the
     negative value of one of the error-codes below is returned.

THREAD AND SIGNAL SAFETY
     unw_set_cache_size() is thread-safe but not safe to use from a signal  han-
     dler.

ERRORS
     UNW_ENOMEM
	     The  desired cache size could not be established because the appli-
	    cation is out of memory.

SEE ALSO
     libunwind(3libunwind),		      unw_create_addr_space(3libunwind),
     unw_set_caching_policy(3libunwind), unw_flush_cache(3libunwind)

AUTHOR
     Dave Watson
     Email: dade.watson@gmail.com
     WWW: http://www.nongnu.org/libunwind/.

Programming Library		 29 August 2023    UNW_SET...HE_SIZE(3libunwind)

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

home | help