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