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

# FcDirCacheValid(3)

check directory cache

## NAME

FcDirCacheValid - check directory cache

## SYNOPSIS

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

**FcBool FcDirCacheValid (const FcChar8 \****dir***);**

## DESCRIPTION

Returns FcTrue if *dir* has an associated valid cache file, else returns FcFalse
