FcConfigGetCacheDirs(3)

πŸ’… NAME πŸ’…

FcConfigGetCacheDirs β€” returns the list of directories searched for cache files ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <fontconfig/fontconfig.h>

FcStrList * FcConfigGetCacheDirs (const FcConfig *config);

🌸 DESCRIPTION 🌸

okay so bestie, picture this: fontconfig is out here trying to load a cache file for some font directory, right? and it's gotta know where to even look. that's the whole gig of FcConfigGetCacheDirs πŸ’«

it hands you back an FcStrList β€” a string list, iconic β€” containing all of the directories that fontconfig will search when attempting to load a cache file for a font directory. literally the entire squad of search paths, in list form 🫢

and if config is NULL? no worries babe, the current configuration gets used instead. slay πŸ¦‹

ngl this is one of those "the function name tells you exactly what it does" moments and honestly? we love a transparent king πŸ‘‘

πŸ’œ a lil sign-off πŸ’œ

that's the whole page, bestie β€” brought to you by Fontconfig 2.17.0, dated 27 June 2025, and delivered with main character energy by your very own FcConfigGetCacheDirs(3) πŸ§šβ€β™€οΈπŸ’– periodt ✨

πŸ“¦ where this page comes from