FcConfigGetSysRoot(3) FcConfigGetSysRoot(3)

FcConfigGetSysRoot - Obtain the system root directory

#include <fontconfig/fontconfig.h>

const FcChar8 * FcConfigGetSysRoot (const FcConfig *config);

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.

version 2.10.92

01 January 2024 Fontconfig 2.15.0