gtpc2m1f | C/C++ Language Support User's Guide |
This function deletes a logical record cache from the processor.
Format
#include <c$cach.h> long deleteCache( cacheToken *cache_to_release);
Normal Return
Error Return
Programming Considerations
The delete occurs immediately and without regard for other applications that may also be using the cache.
Examples
The following example deletes the file system INODE cache.
#include <c$cach.h> #include <i$glue.h> struct icontrol * contrl_ptr; /* pointer file system control area */ /* get pointer to file system control area */ contrl_ptr = cinfc_fast_ss(CINFC_CMMZERO, ecbptr()->ce1dbi ); /* if using INODE cache, call to delete it */ if (contrl_ptr->icontrol_icacheToken.token1 != 0) deleteCache(&contrl_ptr->icontrol_icacheToken);
Related Information