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

# FcDirCacheClean(3)

Clean up a cache directory

## NAME

FcDirCacheClean - Clean up a cache directory

## SYNOPSIS

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

**FcBool FcDirCacheClean (const FcChar8 \****cache\_dir***, FcBool** *verbose***);**

## DESCRIPTION

This tries to clean up the cache directory of *cache\_dir*. This returns FcTrue if the operation is successfully complete. otherwise FcFalse.

## SINCE

version 2.9.91
