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 asconst FcChar8 *in the signature. it's thedirwhere the re-scan happens, per the description.configβ theFcConfig *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
- fedora 43: fontconfig-devel 2.17.0-3.fc43 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 43: fontconfig-devel 2.17.0-3.fc43 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 44: fontconfig-devel 2.17.0-4.fc44 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 44: fontconfig-devel 2.17.0-4.fc44 Β· HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms