xenocara/dist/fontconfig/doc/FcConfigParseAndLoad.3

19 lines
836 B
Groff

.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcConfigParseAndLoad" "3" "24 3月 2014" "Fontconfig 2.11.1" ""
.SH NAME
FcConfigParseAndLoad \- load a configuration file
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcConfigParseAndLoad (FcConfig *\fIconfig\fB, const FcChar8 *\fIfile\fB, FcBool \fIcomplain\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Walks the configuration in 'file' and constructs the internal representation
in 'config'. Any include files referenced from within 'file' will be loaded
and parsed. If 'complain' is FcFalse, no warning will be displayed if
\&'file' does not exist. Error and warning messages will be output to stderr.
Returns FcFalse if some error occurred while loading the file, either a
parse error, semantic error or allocation failure. Otherwise returns FcTrue.