FcDirCacheRescan(3)

πŸ’… NAME πŸ’…

okay so bestie, this is the FcDirCacheRescan(3) page β€” the section 3 fontconfig manual, and it's here to explain re-scanning a directory cache. iconic behavior, honestly.

✨ SYNOPSIS ✨

#include <fontconfig/fontconfig.h>

FcCache * FcDirCacheRescan (const FcChar8 *dir, FcConfig *config);

πŸ¦‹ DESCRIPTION πŸ¦‹

the whole assignment is: Re-scan directories only at dir and update the cache. that's it, that's the function. no cap.

  • dir β€” the directory argument, typed as const FcChar8 * in the signature. it's the dir where the re-scan happens, per the description.
  • config β€” the FcConfig * argument in the signature. yes bestie, it's literally in the call.

and if it fails? returns NULL if failed. so like, keep an eye out for that NULL, because that's the failure signal. 😭

πŸŽ€ SINCE πŸŽ€

this one has been serving since version 2.11.1. periodt. πŸ’–


mwah πŸ’‹ β€” this page is from Fontconfig 2.17.0, dated 27 June 2025. stay slay, bestie 🫢

πŸ“¦ where this page comes from