FcPatternIterNext(3)
π FcPatternIterNext(3) β your girl's guide to stepping thru a pattern iterator
okay so first things first, bestie: this page is literally called FcPatternIterNext, and the manual name for it is FcPatternIterNext(3) β that's the 3 in the corner, meaning "C library function," iykyk. yes the NAME section in the original is just the name with a dash and nothing after it, no cap, it's giving mysterious main character energy and we respect that. π
β¨ SYNOPSIS β¨
pull in the header like so, bestie:
#include <fontconfig/fontconfig.h>
and here's the function signature, exactly as it lives, don't come for me:
FcBool FcPatternIterNext (const FcPattern *p, FcPatternIter *iter);
πΈ DESCRIPTION πΈ
okay so what does it do, right? it sets iter to point to the next object in p π« β and if it succeeded in moving iter along to that next object, it hands you back FcTrue. that's the slay. β
and otherwise? it returns FcFalse. that's the whole vibe β no next object for you, bestie, iterator's done. π so basically FcTrue = "yes queen, you moved," FcFalse = "nope, that was the end of the line." π
π«Ά tiny note on the wording: the manpage literally says "Setiterto point to the next object inpand returnsFcTrueifiterhas been changed to the next object. returnsFcFalseotherwise." so like, the return value is telling you whether the change actually happened. cute, right?
π¦ SINCE π¦
this lil cutie has been around since version 2.13.1 β β so if you're on something older, sorry babe, she's not there yet.
and that's the whole page, honestly, short and iconic π β¨ nothing else to report, no extra options, no env vars, no bugs to warn you about β just a clean lil iterator stepper doing its thing. go forth and iterate, bestie π§π
Fontconfig 2.17.0 π 27 June 2025 β mwah, that's the version and date from the footer, love that for us. ππ
π¦ 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