FcAtomicLock(3)

lock a file

Section 3 libfontconfig-doc bookworm source

Description

FcAtomicLock

NAME

FcAtomicLock - lock a file

SYNOPSIS

#include <fontconfig/fontconfig.h>

FcBool FcAtomicLock (FcAtomic *atomic);

DESCRIPTION

Attempts to lock the file referenced by atomic. Returns FcFalse if the file is already locked, else returns FcTrue and leaves the file locked.