logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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