Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

FcConfigGetSysRoot - Obtain the system root directory

Description

Obtains the system root directory in 'config' if available. All files (including file properties in patterns) obtained from this 'config' are relative to this system root directory. This function isn't MT-safe. FcConfigReference must be called before using this and then FcConfigDestroy when the return value is no longer referenced.

Name

FcConfigGetSysRoot - Obtain the system root directory

Since

version 2.10.92 Fontconfig 2.15.0 04 July 2025 FcConfigGetSysRoot(3)

Synopsis

#include<fontconfig/fontconfig.h>constFcChar8*FcConfigGetSysRoot(constFcConfig*config);