---
name: "FcDirCacheLoad"
section: "3"
platform: "linux"
package: "fontconfig"
version: "2:2.18.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/FcDirCacheLoad"
---

# FcDirCacheLoad(3)

load a directory cache

## NAME

FcDirCacheLoad - load a directory cache

## SYNOPSIS

**#include \<fontconfig/fontconfig.h\>**

**FcCache \* FcDirCacheLoad (const FcChar8 \****dir***, FcConfig \****config***, FcChar8 \*\****cache\_file***);**

## DESCRIPTION

Loads the cache related to *dir*. If no cache file exists, returns NULL. The name of the cache file is returned in *cache\_file*, unless that is NULL. See also FcDirCacheRead.
