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

FcConfigSetSysRoot - Set the system root directory

Description

Set 'sysroot' as the system root directory. All file paths used or created with this 'config' (including file properties in patterns) will be considered or made relative to this 'sysroot'. This allows a host to generate caches for targets at build time. This also allows a cache to be re-targeted to a different base directory if 'FcConfigGetSysRoot' is used to resolve file paths. When setting this on the current config this causes changing current config (calls FcConfigSetCurrent()).

Name

FcConfigSetSysRoot - Set the system root directory

Since

version 2.10.92 Fontconfig 2.15.0 04 July 2025 FcConfigSetSysRoot(3)

Synopsis

#include<fontconfig/fontconfig.h>voidFcConfigSetSysRoot(FcConfig*config,constFcChar8*sysroot);

See Also