xenocara/dist/fontconfig/doc/FcAtomicCreate.3

17 lines
631 B
Groff

.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcAtomicCreate" "3" "24 3月 2014" "Fontconfig 2.11.1" ""
.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.