Imported Upstream version 2.13.0
[platform/upstream/fontconfig.git] / doc / FcDirCacheRead.3
1 .\" auto-generated by docbook2man-spec from docbook-utils package
2 .TH "FcDirCacheRead" "3" "06 3月 2018" "Fontconfig 2.13.0" ""
3 .SH NAME
4 FcDirCacheRead \- read or construct a directory cache
5 .SH SYNOPSIS
6 .nf
7 \fB#include <fontconfig/fontconfig.h>
8 .sp
9 FcCache * FcDirCacheRead (const FcChar8 *\fIdir\fB, FcBool \fIforce\fB, FcConfig *\fIconfig\fB);
10 .fi\fR
11 .SH "DESCRIPTION"
12 .PP
13 This returns a cache for \fIdir\fR\&. If
14 \fIforce\fR is FcFalse, then an existing, valid cache file
15 will be used. Otherwise, a new cache will be created by scanning the
16 directory and that returned.