FcDirCacheUnlink 3 FcDirCacheUnlink Remove all caches related to dir #include <fontconfig/fontconfig.h> FcBool FcDirCacheUnlink const FcChar8 *dir FcConfig *config Description Scans the cache directories in config, removing any instances of the cache file for dir. Returns FcFalse when some internal error occurs (out of memory, etc). Errors actually unlinking any files are ignored. Version Fontconfig version &version; FcDirCacheValid 3 FcDirCacheValid check directory cache #include <fontconfig/fontconfig.h> FcBool FcDirCacheValid const FcChar8 *dir Description Returns FcTrue if dir has an associated valid cache file, else returns FcFalse Version Fontconfig version &version; FcDirCacheLoad 3 FcDirCacheLoad load a directory cache #include <fontconfig/fontconfig.h> FcCache * FcDirCacheLoad const FcChar8 *dir FcConfig *config FcChar8 **cache_file Description Loads the cache related to dir. If no cache file exists, returns NULL. The name of the cache file is returned in cache_file, unless that is NULL. See also FcDirCacheRead. Version Fontconfig version &version; FcDirCacheRead 3 FcDirCacheRead read or construct a directory cache #include <fontconfig/fontconfig.h> FcCache * FcDirCacheRead const FcChar8 *dir FcBool force FcConfig *config Description This returns a cache for dir. If force is FcFalse, then an existing, valid cache file will be used. Otherwise, a new cache will be created by scanning the directory and that returned. Version Fontconfig version &version; FcDirCacheLoadFile 3 FcDirCacheLoadFile load a cache file #include <fontconfig/fontconfig.h> FcCache * FcDirCacheLoadFile const FcChar8 *cache_file struct stat *file_stat Description This function loads a directory cache from cache_file. If file_stat is non-NULL, it will be filled with the results of stat(2) on the cache file. Version Fontconfig version &version; FcDirCacheUnload 3 FcDirCacheUnload unload a cache file #include <fontconfig/fontconfig.h> void FcDirCacheUnload FcCache *cache Description This function dereferences cache. When no other references to it remain, all memory associated with the cache will be freed. Version Fontconfig version &version;