FcConfigReference(3) FcConfigReference(3)
NAME
FcConfigReference - Increment config reference count
SYNOPSIS
#include <fontconfig/fontconfig.h>
FcConfig * FcConfigReference (FcConfig *config);
DESCRIPTION
Add another reference to config. Configs are freed only when the refer-
ence count reaches zero. If config is NULL, the current configuration
is used. In that case this function will be similar to FcConfigGetCur-
rent() except that it increments the reference count before returning
and the user is responsible for destroying the configuration when not
needed anymore.
Fontconfig 2.13.1 23 March 2022 FcConfigReference(3)
Generated by dwww version 1.14 on Sat Jun 13 11:17:12 CEST 2026.