FcDirCacheValid(3)

✨ FcDirCacheValid(3) ✨

okay bestie, so this is the FcDirCacheValid page from the fontconfig section 3 manual, and honestly? it's short, it's sweet, and it does exactly one thing πŸ’…


πŸŽ€ NAME πŸŽ€

FcDirCacheValid β€” check directory cache. that's it. that's the whole job. she's a one-trick pony and she ATE πŸ“


🌸 SYNOPSIS 🌸

#include <fontconfig/fontconfig.h>

FcBool FcDirCacheValid (const FcChar8 *dir);

πŸ¦‹ DESCRIPTION πŸ¦‹

lowkey the simplest thing ever: you hand her a dir (a const FcChar8 *, no cap) and she'll tell you what's up πŸ’–

  • if dir has an associated valid cache file β†’ she returns FcTrue ✨ slay, you're good
  • otherwise β†’ she returns FcFalse 😭 no cache for you, bestie

that's the entire vibe check. no environment variables, no flags, no surprises. iconic behavior honestly πŸ‘‘

ngl there are no options, no exit statuses and no warnings on this one β€” she's a single function, not a whole program. treat her right 🫢

🌈 SEE ALSO 🌈

there's literally nothing listed in SEE ALSO on this page, so go touch some grass and read the rest of the fontconfig docs iykyk 🧚


<div align="center">πŸ’œ</div>

that's the whole page, bestie πŸŽ€ this little icon came to you courtesy of Fontconfig 2.17.0, dated 27 June 2025 β€” go forth and cache responsibly βœ¨πŸ’…πŸ¦‹

πŸ“¦ where this page comes from