FcConfigFileInfoIterGet(3)

πŸ’– FcConfigFileInfoIterGet(3) β€” fontconfig manual πŸ’–

okay bestie, welcome to the fontconfig manual page for FcConfigFileInfoIterGet(3) ✨ this function is lowkey a little info-unlocker for configuration files, and we’re gonna get you comfy with it 🫢

✨ NAME ✨

FcConfigFileInfoIterGet β€” obtain the configuration file information πŸŽ€

🌸 SYNOPSIS 🌸

#include <fontconfig/fontconfig.h>

FcBool FcConfigFileInfoIterGet (FcConfig *config, FcConfigFileInfoIter *iter, FcChar8 **name, FcChar8 **description, FcBool *enabled);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function gives you three things for the iter, which points to the current configuration file information: the filename, the description, and the flag saying whether it’s enabled or not πŸ’… those come out through name, description, and enabled. and if the iterator is invalid, FcFalse is returned β€” periodt.

🚨 real talk, bestie: this function isn't MT-safe. FcConfigReference must be called before using FcConfigFileInfoIterInit, and then FcConfigDestroy when the relevant values are no longer referenced. that’s the order, no cap, don’t skip it 😭

⭐ SINCE ⭐

version 2.12.91 🫢


mwah πŸ’‹ that’s the whole page, and it’s giving β€œuseful and cute.” brought to you by Fontconfig 2.17.0, dated 27 June 2025, and filed under FcConfigFileInfoIterGet(3) πŸ’–

πŸ“¦ where this page comes from