ghostty/vendor/fontconfig-2.14.0/doc/FcAtomicCreate.3
2022-09-13 13:53:20 -07:00

17 lines
631 B
Groff

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