FcAtomicLock(3) FcAtomicLock(3)

FcAtomicLock - lock a file

#include <fontconfig/fontconfig.h>

FcBool FcAtomicLock (FcAtomic *atomic);

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

01 January 2024 Fontconfig 2.15.0