1UNW_SET_CACHE_SIZE(3)        Programming Library         UNW_SET_CACHE_SIZE(3)
2
3
4

NAME

6       unw_set_cache_size -- set unwind cache size
7

SYNOPSIS

9       #include <libunwind.h>
10
11       int unw_set_cache_size(unw_addr_space_t as, size_t size, int flag);
12

DESCRIPTION

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

RETURN VALUE

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

THREAD AND SIGNAL SAFETY

25       unw_set_cache_size() is thread-safe but not safe to use from  a  signal
26       handler.
27

ERRORS

29       UNW_ENOMEM
30               The  desired  cache  size  could not be established because the
31              application is out of memory.
32

SEE ALSO

34       libunwind(3),   unw_create_addr_space(3),    unw_set_caching_policy(3),
35       unw_flush_cache(3)
36

AUTHOR

38       Dave Watson
39       Email: dade.watson@gmail.com
40       WWW: http://www.nongnu.org/libunwind/.
41
42
43
44Programming Library             13 January 2017          UNW_SET_CACHE_SIZE(3)
Impressum