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

# FcCacheSubdir(3)

Return the i'th subdirectory.

## NAME

FcCacheSubdir - Return the i'th subdirectory.

## SYNOPSIS

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

**const FcChar8 \* FcCacheSubdir (const FcCache \****cache***, int** *i***);**

## DESCRIPTION

The set of subdirectories stored in a cache file are indexed by this function, *i* should range from 0 to *n*-1, where *n* is the return value from FcCacheNumSubdir.
