Imported Upstream version 2.14.2
[platform/upstream/fontconfig.git] / doc / FcConfigParseAndLoadFromMemory.3
1 .\" auto-generated by docbook2man-spec from docbook-utils package
2 .TH "FcConfigParseAndLoadFromMemory" "3" "27 1月 2023" "Fontconfig 2.14.2" ""
3 .SH NAME
4 FcConfigParseAndLoadFromMemory \- load a configuration from memory
5 .SH SYNOPSIS
6 .nf
7 \fB#include <fontconfig/fontconfig.h>
8 .sp
9 FcBool FcConfigParseAndLoadFromMemory (FcConfig *\fIconfig\fB, const FcChar8 *\fIbuffer\fB, FcBool \fIcomplain\fB);
10 .fi\fR
11 .SH "DESCRIPTION"
12 .PP
13 Walks the configuration in 'memory' and constructs the internal representation
14 in 'config'. Any includes files referenced from within 'memory' will be loaded
15 and dparsed. If 'complain' is FcFalse, no warning will be displayed if
16 \&'file' does not exist. Error and warning messages will be output to stderr.
17 Returns FcFalse if fsome error occurred while loading the file, either a
18 parse error, semantic error or allocation failure. Otherwise returns FcTrue.
19 .SH "SINCE"
20 .PP
21 version 2.12.5