clrucache · Section 3
ccache_capacity
NAME
ccache_capacity - get the capacity of an LRU cache (type-inferred wrapper)
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/clrucache.h> ccache_capacity(cache);
DESCRIPTION
Type-inferred wrapper for clrucache_capacity(). It takes the same arguments and gives the same result; clrucache_capacity(3) has the full contract.
PARAMETERS
cache Cache handle to query
RETURN VALUE
The capacity, which is always >= 1 for a valid handle. It is 0 when cache is CCACHE_NULL, and 0 when cache is a stale handle that a call already destroyed.