FcConfigGetSysRoot(3)

FcConfigGetSysRoot3

Obtain the system root directory

Usage

#include <fontconfig/fontconfig.h>

const FcChar8 * FcConfigGetSysRoot (const FcConfig *config);

Overview

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.

Since

version 2.10.92

Releases

7 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8–9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

From fontconfig 2:2.18.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.