.\" 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 "FcConfigSetSysRoot" "3" "2022/03/31" "Fontconfig 2.14.0" ""
.SH NAME
FcConfigSetSysRoot \- Set the system root directory
.SH SYNOPSIS
.sp
\fB#include
.sp
void FcConfigSetSysRoot (FcConfig *\fIconfig\fB, const FcChar8 *\fIsysroot\fB);
\fR
.SH "DESCRIPTION"
.PP
Set 'sysroot' as the system root directory. All file paths used or created with
this 'config' (including file properties in patterns) will be considered or
made relative to this 'sysroot'. This allows a host to generate caches for
targets at build time. This also allows a cache to be re-targeted to a
different base directory if 'FcConfigGetSysRoot' is used to resolve file paths.
When setting this on the current config this causes changing current config
(calls FcConfigSetCurrent()).
.SH "SINCE"
.PP
version 2.10.92