cb40ab91d0ad443896cde53288d91f7ab7e5fb07
[platform/upstream/fontconfig.git] / doc / FcAtomicCreate.3
1 .\" auto-generated by docbook2man-spec from docbook-utils package
2 .TH "FcAtomicCreate" "3" "05 8月 2016" "Fontconfig 2.12.1" ""
3 .SH NAME
4 FcAtomicCreate \- create an FcAtomic object
5 .SH SYNOPSIS
6 .nf
7 \fB#include <fontconfig/fontconfig.h>
8 .sp
9 FcAtomic * FcAtomicCreate (const FcChar8 *\fIfile\fB);
10 .fi\fR
11 .SH "DESCRIPTION"
12 .PP
13 Creates a data structure containing data needed to control access to \fIfile\fR\&.
14 Writing is done to a separate file. Once that file is complete, the original
15 configuration file is atomically replaced so that reading process always see
16 a consistent and complete file without the need to lock for reading.