FcDirCacheLoad(3)

πŸ’– NAME πŸ’–

okay bestie, welcome to the FcDirCacheLoad(3) page β€” this one is literally about how FcDirCacheLoad will load a directory cache. slay.


✨ SYNOPSIS ✨

#include <fontconfig/fontconfig.h>

FcCache * FcDirCacheLoad (const FcChar8 *dir, FcConfig *config, FcChar8 **cache_file);

πŸŽ€ DESCRIPTION πŸŽ€

So the way this works: FcDirCacheLoad loads the cache related to dir. If no cache file exists, it returns NULL β€” no cache, no vibes, just NULL, periodt.

The name of the cache file is returned in cache_file, unless that is NULL. iykyk.

See also FcDirCacheRead.


mwah πŸ’‹ β€” Fontconfig 2.17.0, 27 June 2025 πŸ¦‹βœ¨

πŸ“¦ where this page comes from