FcCacheSubdir(3)
β¨ FcCacheSubdir β¨
okay bestie, so this is the FcCacheSubdir(3) page from the fontconfig manual, and honestly it's giving tiny-but-mighty π
πΈ NAME πΈ
FcCacheSubdir β returns the i'th subdirectory, that's literally the whole job, and she does it flawlessly π
π¦ SYNOPSIS π¦
#include <fontconfig/fontconfig.h>
const FcChar8 * FcCacheSubdir (const FcCache *cache, int i);
π DESCRIPTION π
so the set of subdirectories stored in a cache file? yeah, they're indexed by this function β¨ like this is the lil key that opens drawer number i ποΈ
i should range from 0 to n-1, where n is the return value from FcCacheNumSubdir. no cap β go outside that range and you're on your own, bestie π
lowkey the whole thing is: you got a cache, you got an index, you get a subdirectory back. simple as. π«Ά Not me being obsessed with a two-line function fr fr π
π sign-off π
that's the whole page, diva π it's from Fontconfig 2.17.0, dated 27 June 2025 β iconic, no notes βππ
π¦ 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