FcDirCacheUnlink(3) FcDirCacheUnlink(3)

FcDirCacheUnlink - Remove all caches related to dir

#include <fontconfig/fontconfig.h>

FcBool FcDirCacheUnlink (const FcChar8 *dir, FcConfig *config);

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.

01 January 2024 Fontconfig 2.15.0