FcConfigReference(3)

FcConfigReference3

Increment config reference count

Usage

#include <fontconfig/fontconfig.h>

FcConfig * FcConfigReference (FcConfig *config);

Overview

Add another reference to config. Configs are freed only when the reference count reaches zero. If config is NULL, the current configuration is used. In that case this function will be similar to FcConfigGetCurrent() except that it increments the reference count before returning and the user is responsible for destroying the configuration when not needed anymore.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 7 times.

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

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