.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FcDirCacheRead" "3" "2022/03/31" "Fontconfig 2.14.0" ""
.SH NAME
FcDirCacheRead \- read or construct a directory cache
.SH SYNOPSIS
.sp
\fB#include
.sp
FcCache * FcDirCacheRead (const FcChar8 *\fIdir\fB, FcBool \fIforce\fB, FcConfig *\fIconfig\fB);
\fR
.SH "DESCRIPTION"
.PP
This returns a cache for \fIdir\fR\&. If
\fIforce\fR is FcFalse, then an existing, valid cache file
will be used. Otherwise, a new cache will be created by scanning the
directory and that returned.