xenocara/dist/fontconfig/doc/FcAtomicLock.3

16 lines
449 B
Groff
Raw Normal View History

.\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcAtomicLock" "3" "05 7月 2017" "Fontconfig 2.12.4" ""
.SH NAME
FcAtomicLock \- lock a file
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcBool FcAtomicLock (FcAtomic *\fIatomic\fB);
.fi\fR
.SH "DESCRIPTION"
.PP
Attempts to lock the file referenced by \fIatomic\fR\&.
Returns FcFalse if the file is already locked, else returns FcTrue and
leaves the file locked.