cache_fini()

Free cache-coherency resources when the driver is unloaded

Synopsis:

#include <sys/cache.h>

int cache_fini(struct cache_ctrl *cinfo);

Arguments:

cinfo
A pointer to the structure that was originally passed to cache_init(). See the cache_init() function.

Library:

libcache

Use the -l cache option to qcc to link against this library.

Description:

Call the cache_fini() function to free up any resources that were allocated by the cache_init() function. The cinfo is a pointer to the structure that was originally passed to cache_init().

Note: This function was added in QNX Momentics 6.3.0 SP2.

Returns:

0

Classification:

QNX Neutrino

Safety:  
Cancellation point Yes
Interrupt handler No
Signal handler Yes
Thread Yes