xenocara/dist/fontconfig/doc/FcAtomicCreate.3

17 lines
632 B
Groff
Raw Permalink Normal View History

.\" auto-generated by docbook2man-spec from docbook-utils package
2025-01-10 01:40:29 +00:00
.TH "FcAtomicCreate" "3" "22 12月 2023" "Fontconfig 2.15.0" ""
.SH NAME
FcAtomicCreate \- create an FcAtomic object
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcAtomic * FcAtomicCreate (const FcChar8 *\fIfile\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Creates a data structure containing data needed to control access to \fIfile\fR\&.
Writing is done to a separate file. Once that file is complete, the original
configuration file is atomically replaced so that reading process always see
a consistent and complete file without the need to lock for reading.