This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Free cache-coherency resources when the driver is unloaded
int cache_fini(struct cache_ctrl *cinfo);
libcache
Use the -l cache option to qcc to link against this library.
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().
This function was added in the QNX Momentics 6.3.0 SP2. |
0
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
CACHE_FLUSH(), cache_init(), CACHE_INVAL()