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

27 January 2023 Fontconfig 2.14.2