FcConfigGetSysRoot(3)
okay so bestie, welcome to FcConfigGetSysRoot(3) β the tiny fontconfig function that tells you where this config's system root is at. No cap, it's a short one, but the caveats matter, so stay with me. π
π NAME π
FcConfigGetSysRootβ Obtain the system root directory
β¨ SYNOPSIS β¨
#include <fontconfig/fontconfig.h>
const FcChar8 * FcConfigGetSysRoot (const FcConfig *config);
π DESCRIPTION π
So basically: FcConfigGetSysRoot obtains the system root directory in 'config' if available. That's the whole plot. β¨
And here's the important glue: all files (including file properties in patterns) obtained from this 'config' are relative to this system root directory. So yeah, this root is lowkey the reference point for those paths, iykyk. πΈ
β οΈ Warning, bestie β this function isn't MT-safe.FcConfigReferencemust be called before using this and thenFcConfigDestroywhen the return value is no longer referenced. Do not skip this, fr fr. π
π SINCE π
This icon debuted in version 2.10.92. Periodt. β
mwah π β this page is from Fontconfig 2.17.0, dated 27 June 2025. bye 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