FcConfigReference(3)
✨ FcConfigReference(3) ✨
okay bestie, this is the FcConfigReference(3) page from the fontconfig manual, and it’s giving “hold my config, I’m keeping it alive” energy 🫶💅
🌸 NAME 🌸
FcConfigReference — increment config reference count 💖
🎀 SYNOPSIS 🎀
#include <fontconfig/fontconfig.h>
FcConfig * FcConfigReference (FcConfig *config);
🦋 DESCRIPTION 🦋
So FcConfigReference adds another reference to config — like giving it one more little “bestie I got you” sticker ✨. Configs are freed only when the reference count reaches zero, periodt. That’s the whole lifecycle vibe 🔥.
If config is NULL, the current configuration is used. In that case this function will be similar to FcConfigGetCurrent() except that it increments the reference count before returning and the user is responsible for destroying the configuration when not needed anymore. No cap — you’re the main character who has to clean up after yourself 🧹💖.
💌 sign-off: Fontconfig 2.17.0 · 27 June 2025 — stay referenced, 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