GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
UNW_SET_CACHE_SIZE(3) Programming Library UNW_SET_CACHE_SIZE(3)

unw_set_cache_size -- set unwind cache size

#include <libunwind.h>

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

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.

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

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

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

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

Dave Watson
Email: dade.watson@gmail.com
WWW: http://www.nongnu.org/libunwind/.
13 January 2017 Programming Library

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.