FcConfigFileInfoIterInit(3)
π NAME π
okay bestie, welcome to the FcConfigFileInfoIterInit(3) page β yep, this is section 3 of the fontconfig manual, and we're talking about FcConfigFileInfoIterInit, the function that initializes the iterator. it's giving "set it up so it starts at the very first one" energy, and honestly? slay. β¨
β¨ SYNOPSIS β¨
#include <fontconfig/fontconfig.h>
void FcConfigFileInfoIterInit (FcConfig *config, FcConfigFileInfoIter *iter);
drop that include in and you're ready to call the function, no cap. π«Ά
π¦ DESCRIPTION π¦
okay so here's the tea: FcConfigFileInfoIterInit initializes iter with the first iterator in the config file information list. that's the whole mission β first one, right out the gate. π
the config file information list is stored in numerical order for filenames β i.e. how fontconfig actually read them. so the order is not random, it's the actual read order, and that's lowkey iconic. πβ¨
β οΈ caveat time, and this one matters: this function isn't MT-safe.FcConfigReferencemust be called before using this, and thenFcConfigDestroywhen the relevant values are no longer referenced. no skipping that, fr fr. π
π SINCE π
this one has been around since version 2.12.91. vintage behavior, still relevant, we love to see it. π
that's the page, bestie. stay sparkly, keep your refs handled, and this was Fontconfig 2.17.0 dated 27 June 2025. mwah πβ¨
π¦ 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