---
name: "FcCacheDir"
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/FcCacheDir"
---

# FcCacheDir(3)

Return directory of cache

## NAME

FcCacheDir - Return directory of cache

## SYNOPSIS

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

**const FcChar8 \* FcCacheDir (const FcCache \****cache***);**

## DESCRIPTION

This function returns the directory from which the cache was constructed.
